# 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-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tests_states_nm.yml:6 Friday 15 March 2024 02:56:45 +0000 (0:00:00.011) 0:00:00.011 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tests_states_nm.yml:9 Friday 15 March 2024 02:56:46 +0000 (0:00:00.857) 0:00:00.869 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:3 Friday 15 March 2024 02:56:46 +0000 (0:00:00.011) 0:00:00.880 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:17 Friday 15 March 2024 02:56:46 +0000 (0:00:00.344) 0:00:01.224 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:22 Friday 15 March 2024 02:56:47 +0000 (0:00:00.240) 0:00:01.465 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:26 Friday 15 March 2024 02:56:47 +0000 (0:00:00.017) 0:00:01.482 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/tasks/el_repo_setup.yml:51 Friday 15 March 2024 02:56:47 +0000 (0:00:00.010) 0:00:01.492 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:8 Friday 15 March 2024 02:56:47 +0000 (0:00:00.022) 0:00:01.515 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:24 Friday 15 March 2024 02:56:47 +0000 (0:00:00.243) 0:00:01.758 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:30 Friday 15 March 2024 02:56:47 +0000 (0:00:00.009) 0:00:01.768 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:35 Friday 15 March 2024 02:56:47 +0000 (0:00:00.009) 0:00:01.777 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239151", "end": "2024-03-15 02:56:47.940313", "rc": 0, "start": "2024-03-15 02:56:47.701162" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/tasks/enable_epel.yml:40 Friday 15 March 2024 02:56:47 +0000 (0:00:00.427) 0:00:02.205 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/tests_states_nm.yml:11 Friday 15 March 2024 02:56:47 +0000 (0:00:00.021) 0:00:02.226 ********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:3 Friday 15 March 2024 02:56:48 +0000 (0:00:00.037) 0:00:02.264 ********** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:11 Friday 15 March 2024 02:56:48 +0000 (0:00:00.623) 0:00:02.887 ********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:22 Friday 15 March 2024 02:56:48 +0000 (0:00:00.012) 0:00:02.900 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:56:48 +0000 (0:00:00.014) 0:00:02.915 ********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:56:48 +0000 (0:00:00.010) 0:00:02.925 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:56:48 +0000 (0:00:00.033) 0:00:02.959 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:56:48 +0000 (0:00:00.013) 0:00:02.972 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:56:48 +0000 (0:00:00.022) 0:00:02.995 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002974", "end": "2024-03-15 02:56:48.921815", "rc": 0, "start": "2024-03-15 02:56:48.918841" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:56:48 +0000 (0:00:00.186) 0:00:03.182 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:56:48 +0000 (0:00:00.020) 0:00:03.202 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:56:48 +0000 (0:00:00.015) 0:00:03.218 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 02:56:48 +0000 (0:00:00.020) 0:00:03.239 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007483", "end": "2024-03-15 02:56:49.178510", "rc": 1, "start": "2024-03-15 02:56:49.171027" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:56:49 +0000 (0:00:00.198) 0:00:03.437 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:56:49 +0000 (0:00:00.012) 0:00:03.450 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:56:49 +0000 (0:00:00.198) 0:00:03.649 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:56:49 +0000 (0:00:00.011) 0:00:03.661 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:56:49 +0000 (0:00:00.015) 0:00:03.677 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:56:49 +0000 (0:00:00.025) 0:00:03.702 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:56:49 +0000 (0:00:00.020) 0:00:03.723 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:56:49 +0000 (0:00:00.018) 0:00:03.741 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:56:49 +0000 (0:00:00.011) 0:00:03.753 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:56:49 +0000 (0:00:00.012) 0:00:03.765 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:56:51 +0000 (0:00:01.608) 0:00:05.374 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:56:52 +0000 (0:00:01.488) 0:00:06.862 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:56:52 +0000 (0:00:00.021) 0:00:06.884 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:56:52 +0000 (0:00:00.021) 0:00:06.905 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:56:52 +0000 (0:00:00.021) 0:00:06.927 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:56:52 +0000 (0:00:00.034) 0:00:06.961 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:56:52 +0000 (0:00:00.029) 0:00:06.991 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:56:52 +0000 (0:00:00.034) 0:00:07.025 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:56:52 +0000 (0:00:00.051) 0:00:07.077 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:56:52 +0000 (0:00:00.042) 0:00:07.119 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:56:52 +0000 (0:00:00.023) 0:00:07.143 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:56:52 +0000 (0:00:00.034) 0:00:07.177 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:56:53 +0000 (0:00:00.557) 0:00:07.735 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:56:53 +0000 (0:00:00.034) 0:00:07.769 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:56:53 +0000 (0:00:00.018) 0:00:07.788 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:56:53 +0000 (0:00:00.018) 0:00:07.807 ********** 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, 260d9843-3cc8-470c-9f60-a6bac3b90173 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:56:54 +0000 (0:00:00.506) 0:00:08.313 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:56:54 +0000 (0:00:00.021) 0:00:08.334 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 260d9843-3cc8-470c-9f60-a6bac3b90173" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:56:54 +0000 (0:00:00.022) 0:00:08.357 ********** 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, 260d9843-3cc8-470c-9f60-a6bac3b90173\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 260d9843-3cc8-470c-9f60-a6bac3b90173" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:56:54 +0000 (0:00:00.023) 0:00:08.380 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:56:54 +0000 (0:00:00.022) 0:00:08.402 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:56:54 +0000 (0:00:00.304) 0:00:08.706 ********** 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, 260d9843-3cc8-470c-9f60-a6bac3b90173\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 260d9843-3cc8-470c-9f60-a6bac3b90173" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:56:54 +0000 (0:00:00.028) 0:00:08.735 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 02:56:54 +0000 (0:00:00.069) 0:00:08.804 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:56:54 +0000 (0:00:00.034) 0:00:08.839 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:56:54 +0000 (0:00:00.026) 0:00:08.866 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471414.0574062, "block_size": 4096, "blocks": 8, "ctime": 1710471413.995407, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086175, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710471413.995407, "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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:56:54 +0000 (0:00:00.203) 0:00:09.070 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:56:54 +0000 (0:00:00.028) 0:00:09.098 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021529", "end": "2024-03-15 02:56:55.044806", "rc": 0, "start": "2024-03-15 02:56:55.023277" } 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:56:55 +0000 (0:00:00.216) 0:00:09.314 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:56:55 +0000 (0:00:00.021) 0:00:09.336 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:56:55 +0000 (0:00:00.020) 0:00:09.356 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:56:55 +0000 (0:00:00.021) 0:00:09.377 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:56:55 +0000 (0:00:00.020) 0:00:09.397 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 02:56:55 +0000 (0:00:00.020) 0:00:09.418 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 02:56:55 +0000 (0:00:00.022) 0:00:09.440 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 02:56:55 +0000 (0:00:00.022) 0:00:09.463 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:56:55 +0000 (0:00:00.021) 0:00:09.484 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 02:56:55 +0000 (0:00:00.045) 0:00:09.529 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:56:55 +0000 (0:00:00.061) 0:00:09.591 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471413.9975054, "block_size": 4096, "blocks": 0, "ctime": 1710471413.9975054, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37235, "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": 1710471413.9975054, "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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 02:56:55 +0000 (0:00:00.197) 0:00:09.788 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:56:55 +0000 (0:00:00.023) 0:00:09.812 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:56:55 +0000 (0:00:00.022) 0:00:09.835 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:56:55 +0000 (0:00:00.037) 0:00:09.872 ********** 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.059073", "end": "2024-03-15 02:56:55.865047", "rc": 1, "start": "2024-03-15 02:56:55.805974" } STDOUT: Connection 'statebr' (260d9843-3cc8-470c-9f60-a6bac3b90173) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:45 Friday 15 March 2024 02:56:55 +0000 (0:00:00.261) 0:00:10.134 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:56:55 +0000 (0:00:00.033) 0:00:10.167 ********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:56:55 +0000 (0:00:00.021) 0:00:10.189 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:56:55 +0000 (0:00:00.039) 0:00:10.228 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.032) 0:00:10.261 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.030) 0:00:10.291 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003053", "end": "2024-03-15 02:56:56.219781", "rc": 0, "start": "2024-03-15 02:56:56.216728" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:56:56 +0000 (0:00:00.196) 0:00:10.488 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:56:56 +0000 (0:00:00.048) 0:00:10.537 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:56:56 +0000 (0:00:00.021) 0:00:10.558 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.035) 0:00:10.594 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005946", "end": "2024-03-15 02:56:56.528985", "rc": 1, "start": "2024-03-15 02:56:56.523039" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.202) 0:00:10.797 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.034) 0:00:10.831 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:56:56 +0000 (0:00:00.196) 0:00:11.028 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:56:56 +0000 (0:00:00.020) 0:00:11.049 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.034) 0:00:11.083 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:56:56 +0000 (0:00:00.040) 0:00:11.124 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:56:56 +0000 (0:00:00.038) 0:00:11.162 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:56:56 +0000 (0:00:00.032) 0:00:11.194 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:56:56 +0000 (0:00:00.046) 0:00:11.241 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:56:57 +0000 (0:00:00.023) 0:00:11.265 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:56:58 +0000 (0:00:01.507) 0:00:12.773 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:56:59 +0000 (0:00:01.313) 0:00:14.086 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:56:59 +0000 (0:00:00.033) 0:00:14.120 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:56:59 +0000 (0:00:00.025) 0:00:14.146 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:56:59 +0000 (0:00:00.046) 0:00:14.192 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:00 +0000 (0:00:00.066) 0:00:14.259 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:00 +0000 (0:00:00.041) 0:00:14.300 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:00 +0000 (0:00:00.048) 0:00:14.349 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:00 +0000 (0:00:00.070) 0:00:14.420 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:00 +0000 (0:00:00.048) 0:00:14.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:00 +0000 (0:00:00.024) 0:00:14.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:00 +0000 (0:00:00.033) 0:00:14.526 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:00 +0000 (0:00:00.438) 0:00:14.964 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:00 +0000 (0:00:00.039) 0:00:15.003 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:00 +0000 (0:00:00.021) 0:00:15.024 ********** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:00 +0000 (0:00:00.023) 0:00:15.048 ********** 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, 2daa722d-9534-44e3-850c-5255c3d90ce7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:01 +0000 (0:00:00.350) 0:00:15.399 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:01 +0000 (0:00:00.023) 0:00:15.422 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2daa722d-9534-44e3-850c-5255c3d90ce7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:01 +0000 (0:00:00.024) 0:00:15.447 ********** 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, 2daa722d-9534-44e3-850c-5255c3d90ce7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2daa722d-9534-44e3-850c-5255c3d90ce7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:01 +0000 (0:00:00.024) 0:00:15.471 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:01 +0000 (0:00:00.023) 0:00:15.495 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 15 March 2024 02:57:01 +0000 (0:00:00.206) 0:00:15.701 ********** 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, 2daa722d-9534-44e3-850c-5255c3d90ce7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2daa722d-9534-44e3-850c-5255c3d90ce7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:57:01 +0000 (0:00:00.036) 0:00:15.738 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:57:01 +0000 (0:00:00.042) 0:00:15.780 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:57:01 +0000 (0:00:00.032) 0:00:15.813 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:57:01 +0000 (0:00:00.227) 0:00:16.040 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 02:57:01 +0000 (0:00:00.022) 0:00:16.063 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:57:01 +0000 (0:00:00.035) 0:00:16.098 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:57:01 +0000 (0:00:00.021) 0:00:16.119 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471421.1152992, "block_size": 4096, "blocks": 8, "ctime": 1710471421.1152992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086175, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710471421.1152992, "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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:57:02 +0000 (0:00:00.197) 0:00:16.317 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:57:02 +0000 (0:00:00.024) 0:00:16.341 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020474", "end": "2024-03-15 02:57:02.287938", "rc": 0, "start": "2024-03-15 02:57:02.267464" } 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:57:02 +0000 (0:00:00.215) 0:00:16.556 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:57:02 +0000 (0:00:00.023) 0:00:16.580 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:57:02 +0000 (0:00:00.021) 0:00:16.602 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:57:02 +0000 (0:00:00.022) 0:00:16.624 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:57:02 +0000 (0:00:00.022) 0:00:16.647 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 02:57:02 +0000 (0:00:00.021) 0:00:16.669 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 02:57:02 +0000 (0:00:00.024) 0:00:16.694 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 02:57:02 +0000 (0:00:00.029) 0:00:16.724 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:57:02 +0000 (0:00:00.023) 0:00:16.747 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:57:02 +0000 (0:00:00.026) 0:00:16.774 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:57:02 +0000 (0:00:00.051) 0:00:16.825 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:57:02 +0000 (0:00:00.038) 0:00:16.864 ********** 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.040800", "end": "2024-03-15 02:57:02.831198", "rc": 1, "start": "2024-03-15 02:57:02.790398" } STDOUT: Connection 'statebr' (2daa722d-9534-44e3-850c-5255c3d90ce7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:65 Friday 15 March 2024 02:57:02 +0000 (0:00:00.236) 0:00:17.100 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:57:02 +0000 (0:00:00.034) 0:00:17.135 ********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:57:02 +0000 (0:00:00.022) 0:00:17.157 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:57:02 +0000 (0:00:00.042) 0:00:17.200 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:57:02 +0000 (0:00:00.033) 0:00:17.233 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:57:03 +0000 (0:00:00.032) 0:00:17.265 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002972", "end": "2024-03-15 02:57:03.192797", "rc": 0, "start": "2024-03-15 02:57:03.189825" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:57:03 +0000 (0:00:00.197) 0:00:17.462 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:57:03 +0000 (0:00:00.022) 0:00:17.484 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:57:03 +0000 (0:00:00.023) 0:00:17.508 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:57:03 +0000 (0:00:00.074) 0:00:17.582 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:03 +0000 (0:00:00.045) 0:00:17.628 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:03 +0000 (0:00:00.041) 0:00:17.669 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:03 +0000 (0:00:00.034) 0:00:17.704 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:03 +0000 (0:00:00.024) 0:00:17.729 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:03 +0000 (0:00:00.025) 0:00:17.754 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:05 +0000 (0:00:01.507) 0:00:19.261 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:06 +0000 (0:00:01.330) 0:00:20.592 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:06 +0000 (0:00:00.022) 0:00:20.614 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:06 +0000 (0:00:00.023) 0:00:20.637 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:06 +0000 (0:00:00.022) 0:00:20.660 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:06 +0000 (0:00:00.036) 0:00:20.696 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:06 +0000 (0:00:00.059) 0:00:20.756 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:06 +0000 (0:00:00.034) 0:00:20.790 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:06 +0000 (0:00:00.051) 0:00:20.842 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:06 +0000 (0:00:00.023) 0:00:20.866 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:06 +0000 (0:00:00.023) 0:00:20.889 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:06 +0000 (0:00:00.034) 0:00:20.923 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:07 +0000 (0:00:00.372) 0:00:21.296 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:07 +0000 (0:00:00.037) 0:00:21.333 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:07 +0000 (0:00:00.019) 0:00:21.352 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:07 +0000 (0:00:00.020) 0:00:21.373 ********** 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, 84e05745-10fb-45c5-b7df-58b701451279 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:07 +0000 (0:00:00.393) 0:00:21.766 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:07 +0000 (0:00:00.027) 0:00:21.794 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84e05745-10fb-45c5-b7df-58b701451279" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:07 +0000 (0:00:00.035) 0:00:21.829 ********** 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, 84e05745-10fb-45c5-b7df-58b701451279\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84e05745-10fb-45c5-b7df-58b701451279" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:07 +0000 (0:00:00.032) 0:00:21.862 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:07 +0000 (0:00:00.029) 0:00:21.892 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:57:07 +0000 (0:00:00.209) 0:00:22.101 ********** 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, 84e05745-10fb-45c5-b7df-58b701451279\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84e05745-10fb-45c5-b7df-58b701451279" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:57:07 +0000 (0:00:00.056) 0:00:22.158 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:57:07 +0000 (0:00:00.035) 0:00:22.193 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:07 +0000 (0:00:00.042) 0:00:22.235 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:08 +0000 (0:00:00.039) 0:00:22.275 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:08 +0000 (0:00:00.036) 0:00:22.312 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:08 +0000 (0:00:00.023) 0:00:22.336 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:08 +0000 (0:00:00.023) 0:00:22.359 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:09 +0000 (0:00:01.519) 0:00:23.879 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:10 +0000 (0:00:01.319) 0:00:25.199 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:10 +0000 (0:00:00.023) 0:00:25.222 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:11 +0000 (0:00:00.055) 0:00:25.277 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:11 +0000 (0:00:00.023) 0:00:25.301 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:11 +0000 (0:00:00.043) 0:00:25.344 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:11 +0000 (0:00:00.048) 0:00:25.393 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:11 +0000 (0:00:00.036) 0:00:25.430 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:11 +0000 (0:00:00.059) 0:00:25.489 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:11 +0000 (0:00:00.022) 0:00:25.512 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:11 +0000 (0:00:00.021) 0:00:25.534 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:11 +0000 (0:00:00.035) 0:00:25.570 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:11 +0000 (0:00:00.373) 0:00:25.943 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:11 +0000 (0:00:00.034) 0:00:25.978 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:11 +0000 (0:00:00.020) 0:00:25.999 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:11 +0000 (0:00:00.021) 0:00:26.020 ********** 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, 84e05745-10fb-45c5-b7df-58b701451279 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:12 +0000 (0:00:00.343) 0:00:26.364 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:12 +0000 (0:00:00.025) 0:00:26.389 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84e05745-10fb-45c5-b7df-58b701451279 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:12 +0000 (0:00:00.022) 0:00:26.412 ********** 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, 84e05745-10fb-45c5-b7df-58b701451279 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84e05745-10fb-45c5-b7df-58b701451279 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:12 +0000 (0:00:00.022) 0:00:26.434 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:12 +0000 (0:00:00.055) 0:00:26.490 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:57:12 +0000 (0:00:00.223) 0:00:26.714 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 02:57:12 +0000 (0:00:00.051) 0:00:26.765 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:57:12 +0000 (0:00:00.032) 0:00:26.797 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471427.4406028, "block_size": 4096, "blocks": 0, "ctime": 1710471427.4406028, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37366, "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": 1710471427.4406028, "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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 02:57:12 +0000 (0:00:00.203) 0:00:27.001 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 02:57:12 +0000 (0:00:00.023) 0:00:27.024 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:57:12 +0000 (0:00:00.043) 0:00:27.068 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:57:12 +0000 (0:00:00.024) 0:00:27.092 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471427.495202, "block_size": 4096, "blocks": 8, "ctime": 1710471427.439203, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6086175, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710471427.439203, "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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:57:13 +0000 (0:00:00.197) 0:00:27.289 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:57:13 +0000 (0:00:00.022) 0:00:27.312 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021385", "end": "2024-03-15 02:57:13.257295", "rc": 0, "start": "2024-03-15 02:57:13.235910" } 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:57:13 +0000 (0:00:00.215) 0:00:27.527 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:57:13 +0000 (0:00:00.024) 0:00:27.552 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:57:13 +0000 (0:00:00.021) 0:00:27.573 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:57:13 +0000 (0:00:00.052) 0:00:27.625 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:57:13 +0000 (0:00:00.022) 0:00:27.647 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 02:57:13 +0000 (0:00:00.022) 0:00:27.669 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 02:57:13 +0000 (0:00:00.023) 0:00:27.693 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 02:57:13 +0000 (0:00:00.023) 0:00:27.716 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:57:13 +0000 (0:00:00.021) 0:00:27.738 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:57:13 +0000 (0:00:00.027) 0:00:27.766 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:57:13 +0000 (0:00:00.021) 0:00:27.787 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:57:13 +0000 (0:00:00.036) 0:00:27.824 ********** 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.061164", "end": "2024-03-15 02:57:13.809992", "rc": 1, "start": "2024-03-15 02:57:13.748828" } STDOUT: Connection 'statebr' (84e05745-10fb-45c5-b7df-58b701451279) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:83 Friday 15 March 2024 02:57:13 +0000 (0:00:00.265) 0:00:28.089 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:57:13 +0000 (0:00:00.037) 0:00:28.127 ********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:57:13 +0000 (0:00:00.023) 0:00:28.150 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:57:13 +0000 (0:00:00.039) 0:00:28.190 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:57:14 +0000 (0:00:00.070) 0:00:28.260 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:57:14 +0000 (0:00:00.034) 0:00:28.295 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003304", "end": "2024-03-15 02:57:14.255876", "rc": 0, "start": "2024-03-15 02:57:14.252572" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:57:14 +0000 (0:00:00.234) 0:00:28.529 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:57:14 +0000 (0:00:00.025) 0:00:28.555 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:57:14 +0000 (0:00:00.026) 0:00:28.581 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:57:14 +0000 (0:00:00.059) 0:00:28.641 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:14 +0000 (0:00:00.056) 0:00:28.697 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:14 +0000 (0:00:00.043) 0:00:28.740 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:14 +0000 (0:00:00.035) 0:00:28.776 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:14 +0000 (0:00:00.023) 0:00:28.799 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:14 +0000 (0:00:00.022) 0:00:28.821 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:16 +0000 (0:00:01.506) 0:00:30.327 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:17 +0000 (0:00:01.386) 0:00:31.714 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:17 +0000 (0:00:00.026) 0:00:31.741 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:17 +0000 (0:00:00.025) 0:00:31.766 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:17 +0000 (0:00:00.024) 0:00:31.790 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:17 +0000 (0:00:00.038) 0:00:31.829 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:17 +0000 (0:00:00.030) 0:00:31.859 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:17 +0000 (0:00:00.034) 0:00:31.894 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:17 +0000 (0:00:00.053) 0:00:31.947 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:17 +0000 (0:00:00.023) 0:00:31.971 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:17 +0000 (0:00:00.022) 0:00:31.993 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:17 +0000 (0:00:00.036) 0:00:32.029 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:18 +0000 (0:00:00.376) 0:00:32.406 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:18 +0000 (0:00:00.039) 0:00:32.446 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:18 +0000 (0:00:00.029) 0:00:32.475 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:18 +0000 (0:00:00.070) 0:00:32.546 ********** 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, 95d36e80-a090-4353-b778-d4b65b5e3d5f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:18 +0000 (0:00:00.399) 0:00:32.945 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:18 +0000 (0:00:00.024) 0:00:32.970 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95d36e80-a090-4353-b778-d4b65b5e3d5f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:18 +0000 (0:00:00.024) 0:00:32.994 ********** 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, 95d36e80-a090-4353-b778-d4b65b5e3d5f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95d36e80-a090-4353-b778-d4b65b5e3d5f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:18 +0000 (0:00:00.023) 0:00:33.017 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:18 +0000 (0:00:00.024) 0:00:33.042 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:57:19 +0000 (0:00:00.202) 0:00:33.244 ********** 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, 95d36e80-a090-4353-b778-d4b65b5e3d5f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95d36e80-a090-4353-b778-d4b65b5e3d5f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:57:19 +0000 (0:00:00.022) 0:00:33.267 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:19 +0000 (0:00:00.040) 0:00:33.307 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:19 +0000 (0:00:00.039) 0:00:33.347 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:19 +0000 (0:00:00.034) 0:00:33.381 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:19 +0000 (0:00:00.023) 0:00:33.405 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:19 +0000 (0:00:00.023) 0:00:33.428 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:20 +0000 (0:00:01.546) 0:00:34.975 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:22 +0000 (0:00:01.315) 0:00:36.290 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:22 +0000 (0:00:00.024) 0:00:36.315 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:22 +0000 (0:00:00.023) 0:00:36.338 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:22 +0000 (0:00:00.023) 0:00:36.362 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:22 +0000 (0:00:00.036) 0:00:36.398 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:22 +0000 (0:00:00.028) 0:00:36.426 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:22 +0000 (0:00:00.037) 0:00:36.464 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:22 +0000 (0:00:00.052) 0:00:36.517 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:22 +0000 (0:00:00.023) 0:00:36.540 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:22 +0000 (0:00:00.023) 0:00:36.564 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:22 +0000 (0:00:00.036) 0:00:36.600 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:22 +0000 (0:00:00.371) 0:00:36.971 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:22 +0000 (0:00:00.039) 0:00:37.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:22 +0000 (0:00:00.062) 0:00:37.073 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:22 +0000 (0:00:00.024) 0:00:37.098 ********** 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, 95d36e80-a090-4353-b778-d4b65b5e3d5f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:23 +0000 (0:00:00.335) 0:00:37.433 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:23 +0000 (0:00:00.025) 0:00:37.459 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95d36e80-a090-4353-b778-d4b65b5e3d5f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:23 +0000 (0:00:00.024) 0:00:37.483 ********** 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, 95d36e80-a090-4353-b778-d4b65b5e3d5f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95d36e80-a090-4353-b778-d4b65b5e3d5f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:23 +0000 (0:00:00.024) 0:00:37.507 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:23 +0000 (0:00:00.024) 0:00:37.532 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:57:23 +0000 (0:00:00.201) 0:00:37.734 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 02:57:23 +0000 (0:00:00.035) 0:00:37.769 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:23 +0000 (0:00:00.041) 0:00:37.811 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:23 +0000 (0:00:00.040) 0:00:37.852 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:23 +0000 (0:00:00.034) 0:00:37.886 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:23 +0000 (0:00:00.023) 0:00:37.909 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:23 +0000 (0:00:00.061) 0:00:37.971 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:25 +0000 (0:00:01.503) 0:00:39.474 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:26 +0000 (0:00:01.315) 0:00:40.790 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:26 +0000 (0:00:00.025) 0:00:40.815 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:26 +0000 (0:00:00.026) 0:00:40.841 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:26 +0000 (0:00:00.024) 0:00:40.866 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:26 +0000 (0:00:00.039) 0:00:40.905 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:26 +0000 (0:00:00.031) 0:00:40.936 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:26 +0000 (0:00:00.039) 0:00:40.976 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:26 +0000 (0:00:00.055) 0:00:41.031 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:26 +0000 (0:00:00.026) 0:00:41.058 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:26 +0000 (0:00:00.028) 0:00:41.086 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:26 +0000 (0:00:00.046) 0:00:41.132 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:27 +0000 (0:00:00.374) 0:00:41.506 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:27 +0000 (0:00:00.115) 0:00:41.621 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:27 +0000 (0:00:00.021) 0:00:41.643 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:27 +0000 (0:00:00.020) 0:00:41.663 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:27 +0000 (0:00:00.361) 0:00:42.025 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:27 +0000 (0:00:00.025) 0:00:42.050 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:27 +0000 (0:00:00.023) 0:00:42.074 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:27 +0000 (0:00:00.024) 0:00:42.098 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:27 +0000 (0:00:00.024) 0:00:42.123 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:57:28 +0000 (0:00:00.206) 0:00:42.329 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 02:57:28 +0000 (0:00:00.039) 0:00:42.368 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:57:28 +0000 (0:00:00.032) 0:00:42.401 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710471438.624301, "block_size": 4096, "blocks": 0, "ctime": 1710471438.624301, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37497, "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": 1710471438.624301, "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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 02:57:28 +0000 (0:00:00.193) 0:00:42.594 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 02:57:28 +0000 (0:00:00.023) 0:00:42.618 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:57:28 +0000 (0:00:00.073) 0:00:42.691 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:57:28 +0000 (0:00:00.021) 0:00:42.712 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:57:28 +0000 (0:00:00.192) 0:00:42.905 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:57:28 +0000 (0:00:00.019) 0:00:42.924 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021314", "end": "2024-03-15 02:57:28.875124", "rc": 1, "start": "2024-03-15 02:57:28.853810" } 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:57:28 +0000 (0:00:00.220) 0:00:43.144 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:57:28 +0000 (0:00:00.021) 0:00:43.166 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:57:28 +0000 (0:00:00.019) 0:00:43.185 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:57:28 +0000 (0:00:00.020) 0:00:43.205 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:57:28 +0000 (0:00:00.020) 0:00:43.225 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 02:57:29 +0000 (0:00:00.019) 0:00:43.245 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:57:29 +0000 (0:00:00.022) 0:00:43.267 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:57:29 +0000 (0:00:00.027) 0:00:43.294 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:57:29 +0000 (0:00:00.021) 0:00:43.315 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:57:29 +0000 (0:00:00.035) 0:00:43.351 ********** 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.071936", "end": "2024-03-15 02:57:29.348073", "rc": 1, "start": "2024-03-15 02:57:29.276137" } STDOUT: Connection 'statebr' (95d36e80-a090-4353-b778-d4b65b5e3d5f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:102 Friday 15 March 2024 02:57:29 +0000 (0:00:00.265) 0:00:43.616 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:57:29 +0000 (0:00:00.076) 0:00:43.692 ********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:57:29 +0000 (0:00:00.021) 0:00:43.715 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:57:29 +0000 (0:00:00.046) 0:00:43.761 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:57:29 +0000 (0:00:00.044) 0:00:43.806 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:57:29 +0000 (0:00:00.032) 0:00:43.838 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003003", "end": "2024-03-15 02:57:29.767579", "rc": 0, "start": "2024-03-15 02:57:29.764576" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:57:29 +0000 (0:00:00.197) 0:00:44.036 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:57:29 +0000 (0:00:00.021) 0:00:44.058 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:57:29 +0000 (0:00:00.021) 0:00:44.080 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:57:29 +0000 (0:00:00.038) 0:00:44.118 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:29 +0000 (0:00:00.044) 0:00:44.163 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:30 +0000 (0:00:00.084) 0:00:44.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 : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:30 +0000 (0:00:00.034) 0:00:44.282 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:30 +0000 (0:00:00.023) 0:00:44.306 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:30 +0000 (0:00:00.027) 0:00:44.333 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:31 +0000 (0:00:01.510) 0:00:45.844 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:32 +0000 (0:00:01.319) 0:00:47.163 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:32 +0000 (0:00:00.024) 0:00:47.187 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:32 +0000 (0:00:00.025) 0:00:47.212 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:32 +0000 (0:00:00.023) 0:00:47.236 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:33 +0000 (0:00:00.037) 0:00:47.273 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:33 +0000 (0:00:00.028) 0:00:47.302 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:33 +0000 (0:00:00.036) 0:00:47.338 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:33 +0000 (0:00:00.054) 0:00:47.393 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:33 +0000 (0:00:00.029) 0:00:47.423 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:33 +0000 (0:00:00.074) 0:00:47.497 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:33 +0000 (0:00:00.039) 0:00:47.536 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:33 +0000 (0:00:00.371) 0:00:47.908 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:33 +0000 (0:00:00.037) 0:00:47.945 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:33 +0000 (0:00:00.020) 0:00:47.966 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:33 +0000 (0:00:00.019) 0:00:47.985 ********** 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, 79963737-f921-4383-ab25-c53ba172d0eb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:34 +0000 (0:00:00.381) 0:00:48.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:34 +0000 (0:00:00.024) 0:00:48.391 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79963737-f921-4383-ab25-c53ba172d0eb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:34 +0000 (0:00:00.023) 0:00:48.415 ********** 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, 79963737-f921-4383-ab25-c53ba172d0eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79963737-f921-4383-ab25-c53ba172d0eb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:34 +0000 (0:00:00.024) 0:00:48.439 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:34 +0000 (0:00:00.024) 0:00:48.464 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:57:34 +0000 (0:00:00.202) 0:00:48.667 ********** 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, 79963737-f921-4383-ab25-c53ba172d0eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79963737-f921-4383-ab25-c53ba172d0eb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:57:34 +0000 (0:00:00.023) 0:00:48.691 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:34 +0000 (0:00:00.041) 0:00:48.732 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:34 +0000 (0:00:00.079) 0:00:48.812 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:34 +0000 (0:00:00.034) 0:00:48.846 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:34 +0000 (0:00:00.030) 0:00:48.877 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:34 +0000 (0:00:00.027) 0:00:48.904 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:36 +0000 (0:00:01.498) 0:00:50.403 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:37 +0000 (0:00:01.313) 0:00:51.716 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:37 +0000 (0:00:00.024) 0:00:51.740 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:37 +0000 (0:00:00.025) 0:00:51.766 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:37 +0000 (0:00:00.025) 0:00:51.791 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:37 +0000 (0:00:00.037) 0:00:51.828 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:37 +0000 (0:00:00.030) 0:00:51.858 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:37 +0000 (0:00:00.036) 0:00:51.895 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:37 +0000 (0:00:00.060) 0:00:51.956 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:37 +0000 (0:00:00.072) 0:00:52.028 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:37 +0000 (0:00:00.026) 0:00:52.054 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:37 +0000 (0:00:00.035) 0:00:52.090 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:38 +0000 (0:00:00.375) 0:00:52.466 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:38 +0000 (0:00:00.037) 0:00:52.503 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:38 +0000 (0:00:00.020) 0:00:52.524 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:38 +0000 (0:00:00.021) 0:00:52.545 ********** 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, 79963737-f921-4383-ab25-c53ba172d0eb skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:38 +0000 (0:00:00.334) 0:00:52.880 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:38 +0000 (0:00:00.025) 0:00:52.905 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79963737-f921-4383-ab25-c53ba172d0eb skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:38 +0000 (0:00:00.025) 0:00:52.931 ********** 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, 79963737-f921-4383-ab25-c53ba172d0eb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79963737-f921-4383-ab25-c53ba172d0eb skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:38 +0000 (0:00:00.025) 0:00:52.956 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:38 +0000 (0:00:00.027) 0:00:52.984 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 02:57:38 +0000 (0:00:00.203) 0:00:53.187 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:38 +0000 (0:00:00.044) 0:00:53.231 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:39 +0000 (0:00:00.088) 0:00:53.319 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:39 +0000 (0:00:00.035) 0:00:53.355 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:39 +0000 (0:00:00.025) 0:00:53.380 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:39 +0000 (0:00:00.024) 0:00:53.405 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:40 +0000 (0:00:01.498) 0:00:54.904 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:41 +0000 (0:00:01.327) 0:00:56.231 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:42 +0000 (0:00:00.025) 0:00:56.257 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:42 +0000 (0:00:00.024) 0:00:56.282 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:42 +0000 (0:00:00.026) 0:00:56.308 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:42 +0000 (0:00:00.057) 0:00:56.366 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:42 +0000 (0:00:00.035) 0:00:56.401 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:42 +0000 (0:00:00.057) 0:00:56.458 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:42 +0000 (0:00:00.068) 0:00:56.526 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:42 +0000 (0:00:00.075) 0:00:56.601 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:42 +0000 (0:00:00.033) 0:00:56.635 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:42 +0000 (0:00:00.040) 0:00:56.675 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:42 +0000 (0:00:00.375) 0:00:57.050 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:42 +0000 (0:00:00.037) 0:00:57.088 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:42 +0000 (0:00:00.022) 0:00:57.110 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:42 +0000 (0:00:00.023) 0:00:57.134 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:43 +0000 (0:00:00.381) 0:00:57.515 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:43 +0000 (0:00:00.027) 0:00:57.542 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:43 +0000 (0:00:00.028) 0:00:57.570 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:43 +0000 (0:00:00.024) 0:00:57.595 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:43 +0000 (0:00:00.024) 0:00:57.620 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:57:43 +0000 (0:00:00.245) 0:00:57.865 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 02:57:43 +0000 (0:00:00.036) 0:00:57.902 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:43 +0000 (0:00:00.076) 0:00:57.978 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:43 +0000 (0:00:00.040) 0:00:58.019 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:43 +0000 (0:00:00.034) 0:00:58.053 ********** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:43 +0000 (0:00:00.024) 0:00:58.078 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:43 +0000 (0:00:00.025) 0:00:58.104 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:45 +0000 (0:00:01.505) 0:00:59.610 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:46 +0000 (0:00:01.317) 0:01:00.927 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:46 +0000 (0:00:00.023) 0:01:00.951 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:46 +0000 (0:00:00.025) 0:01:00.977 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:46 +0000 (0:00:00.024) 0:01:01.001 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:46 +0000 (0:00:00.037) 0:01:01.039 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:46 +0000 (0:00:00.029) 0:01:01.069 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:46 +0000 (0:00:00.084) 0:01:01.154 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:46 +0000 (0:00:00.064) 0:01:01.218 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:47 +0000 (0:00:00.035) 0:01:01.253 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:47 +0000 (0:00:00.025) 0:01:01.279 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:47 +0000 (0:00:00.037) 0:01:01.316 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:47 +0000 (0:00:00.374) 0:01:01.691 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:47 +0000 (0:00:00.037) 0:01:01.728 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:47 +0000 (0:00:00.025) 0:01:01.754 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:47 +0000 (0:00:00.023) 0:01:01.778 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:47 +0000 (0:00:00.402) 0:01:02.181 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:47 +0000 (0:00:00.027) 0:01:02.208 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:47 +0000 (0:00:00.027) 0:01:02.236 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:48 +0000 (0:00:00.025) 0:01:02.261 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:48 +0000 (0:00:00.025) 0:01:02.286 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:57:48 +0000 (0:00:00.204) 0:01:02.491 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 02:57:48 +0000 (0:00:00.093) 0:01:02.585 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:57:48 +0000 (0:00:00.036) 0:01:02.621 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:57:48 +0000 (0:00:00.022) 0:01:02.644 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:57:48 +0000 (0:00:00.192) 0:01:02.836 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:57:48 +0000 (0:00:00.022) 0:01:02.858 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020311", "end": "2024-03-15 02:57:48.803534", "rc": 1, "start": "2024-03-15 02:57:48.783223" } 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:57:48 +0000 (0:00:00.216) 0:01:03.075 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:57:48 +0000 (0:00:00.020) 0:01:03.095 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:57:48 +0000 (0:00:00.020) 0:01:03.116 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:57:48 +0000 (0:00:00.021) 0:01:03.137 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:57:48 +0000 (0:00:00.020) 0:01:03.157 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 02:57:48 +0000 (0:00:00.020) 0:01:03.177 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:57:48 +0000 (0:00:00.023) 0:01:03.200 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:57:49 +0000 (0:00:00.048) 0:01:03.249 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:57:49 +0000 (0:00:00.033) 0:01:03.282 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:57:49 +0000 (0:00:00.246) 0:01:03.529 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:57:49 +0000 (0:00:00.025) 0:01:03.555 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:57:49 +0000 (0:00:00.022) 0:01:03.577 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:57:49 +0000 (0:00:00.037) 0:01:03.615 ********** 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.041137", "end": "2024-03-15 02:57:49.579928", "rc": 1, "start": "2024-03-15 02:57:49.538791" } 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tests_states.yml:124 Friday 15 March 2024 02:57:49 +0000 (0:00:00.234) 0:01:03.849 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 02:57:49 +0000 (0:00:00.035) 0:01:03.885 ********** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 02:57:49 +0000 (0:00:00.021) 0:01:03.907 ********** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 02:57:49 +0000 (0:00:00.043) 0:01:03.950 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 02:57:49 +0000 (0:00:00.034) 0:01:03.985 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 02:57:49 +0000 (0:00:00.032) 0:01:04.018 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003116", "end": "2024-03-15 02:57:49.947258", "rc": 0, "start": "2024-03-15 02:57:49.944142" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 02:57:49 +0000 (0:00:00.198) 0:01:04.216 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 02:57:49 +0000 (0:00:00.022) 0:01:04.238 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 02:57:50 +0000 (0:00:00.056) 0:01:04.295 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 02:57:50 +0000 (0:00:00.040) 0:01:04.336 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:50 +0000 (0:00:00.048) 0:01:04.384 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:50 +0000 (0:00:00.040) 0:01:04.424 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:50 +0000 (0:00:00.038) 0:01:04.463 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:50 +0000 (0:00:00.027) 0:01:04.491 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:50 +0000 (0:00:00.024) 0:01:04.516 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:51 +0000 (0:00:01.508) 0:01:06.025 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:53 +0000 (0:00:01.313) 0:01:07.338 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:53 +0000 (0:00:00.023) 0:01:07.361 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:53 +0000 (0:00:00.070) 0:01:07.432 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:53 +0000 (0:00:00.024) 0:01:07.456 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:53 +0000 (0:00:00.038) 0:01:07.494 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:53 +0000 (0:00:00.030) 0:01:07.525 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:53 +0000 (0:00:00.039) 0:01:07.564 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:53 +0000 (0:00:00.055) 0:01:07.620 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:53 +0000 (0:00:00.023) 0:01:07.643 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:53 +0000 (0:00:00.025) 0:01:07.669 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:53 +0000 (0:00:00.035) 0:01:07.705 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:53 +0000 (0:00:00.372) 0:01:08.077 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:53 +0000 (0:00:00.036) 0:01:08.114 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:53 +0000 (0:00:00.022) 0:01:08.137 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:53 +0000 (0:00:00.021) 0:01:08.159 ********** 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, af796667-6e35-4da4-9f7c-56fbcea700cd TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:54 +0000 (0:00:00.409) 0:01:08.569 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:54 +0000 (0:00:00.026) 0:01:08.595 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af796667-6e35-4da4-9f7c-56fbcea700cd" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:54 +0000 (0:00:00.024) 0:01:08.620 ********** 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, af796667-6e35-4da4-9f7c-56fbcea700cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af796667-6e35-4da4-9f7c-56fbcea700cd" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:54 +0000 (0:00:00.026) 0:01:08.647 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:54 +0000 (0:00:00.076) 0:01:08.723 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 02:57:54 +0000 (0:00:00.209) 0:01:08.932 ********** 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, af796667-6e35-4da4-9f7c-56fbcea700cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, af796667-6e35-4da4-9f7c-56fbcea700cd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 02:57:54 +0000 (0:00:00.023) 0:01:08.956 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:54 +0000 (0:00:00.041) 0:01:08.997 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:54 +0000 (0:00:00.040) 0:01:09.038 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:54 +0000 (0:00:00.033) 0:01:09.072 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:54 +0000 (0:00:00.024) 0:01:09.097 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:54 +0000 (0:00:00.025) 0:01:09.122 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:57:56 +0000 (0:00:01.500) 0:01:10.622 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:57:57 +0000 (0:00:01.314) 0:01:11.937 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:57:57 +0000 (0:00:00.036) 0:01:11.974 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:57:57 +0000 (0:00:00.085) 0:01:12.059 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:57:57 +0000 (0:00:00.025) 0:01:12.085 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:57:57 +0000 (0:00:00.036) 0:01:12.122 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:57:57 +0000 (0:00:00.029) 0:01:12.151 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:57:57 +0000 (0:00:00.036) 0:01:12.188 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:57:57 +0000 (0:00:00.052) 0:01:12.240 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:57:58 +0000 (0:00:00.023) 0:01:12.264 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:57:58 +0000 (0:00:00.024) 0:01:12.288 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:57:58 +0000 (0:00:00.037) 0:01:12.326 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:57:58 +0000 (0:00:00.370) 0:01:12.697 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:57:58 +0000 (0:00:00.034) 0:01:12.732 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:57:58 +0000 (0:00:00.020) 0:01:12.753 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:57:58 +0000 (0:00:00.020) 0:01:12.773 ********** 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, af796667-6e35-4da4-9f7c-56fbcea700cd skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:57:58 +0000 (0:00:00.330) 0:01:13.103 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:57:58 +0000 (0:00:00.027) 0:01:13.130 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, af796667-6e35-4da4-9f7c-56fbcea700cd skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:57:58 +0000 (0:00:00.023) 0:01:13.154 ********** 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, af796667-6e35-4da4-9f7c-56fbcea700cd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, af796667-6e35-4da4-9f7c-56fbcea700cd skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:57:58 +0000 (0:00:00.025) 0:01:13.179 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:57:59 +0000 (0:00:00.071) 0:01:13.251 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 02:57:59 +0000 (0:00:00.202) 0:01:13.453 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:57:59 +0000 (0:00:00.042) 0:01:13.496 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:57:59 +0000 (0:00:00.041) 0:01:13.537 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:57:59 +0000 (0:00:00.035) 0:01:13.573 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:57:59 +0000 (0:00:00.025) 0:01:13.598 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:57:59 +0000 (0:00:00.025) 0:01:13.623 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:58:00 +0000 (0:00:01.515) 0:01:15.138 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:58:02 +0000 (0:00:01.325) 0:01:16.464 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:58:02 +0000 (0:00:00.025) 0:01:16.489 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:58:02 +0000 (0:00:00.066) 0:01:16.556 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:58:02 +0000 (0:00:00.025) 0:01:16.581 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:58:02 +0000 (0:00:00.041) 0:01:16.623 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:58:02 +0000 (0:00:00.032) 0:01:16.655 ********** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:58:02 +0000 (0:00:00.037) 0:01:16.692 ********** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:58:02 +0000 (0:00:00.066) 0:01:16.758 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:58:02 +0000 (0:00:00.035) 0:01:16.794 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:58:02 +0000 (0:00:00.032) 0:01:16.826 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:58:02 +0000 (0:00:00.039) 0:01:16.866 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:58:03 +0000 (0:00:00.389) 0:01:17.256 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:58:03 +0000 (0:00:00.041) 0:01:17.297 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:58:03 +0000 (0:00:00.022) 0:01:17.320 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:58:03 +0000 (0:00:00.021) 0:01:17.342 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:58:03 +0000 (0:00:00.411) 0:01:17.754 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:58:03 +0000 (0:00:00.024) 0:01:17.778 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:58:03 +0000 (0:00:00.026) 0:01:17.805 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:58:03 +0000 (0:00:00.023) 0:01:17.829 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:58:03 +0000 (0:00:00.070) 0:01:17.899 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 02:58:03 +0000 (0:00:00.206) 0:01:18.106 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 02:58:03 +0000 (0:00:00.058) 0:01:18.164 ********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 15 March 2024 02:58:03 +0000 (0:00:00.049) 0:01:18.213 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 15 March 2024 02:58:04 +0000 (0:00:00.042) 0:01:18.256 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 15 March 2024 02:58:04 +0000 (0:00:00.034) 0:01:18.291 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 15 March 2024 02:58:04 +0000 (0:00:00.024) 0:01:18.315 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 15 March 2024 02:58:04 +0000 (0:00:00.024) 0:01:18.339 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 15 March 2024 02:58:05 +0000 (0:00:01.512) 0:01:19.852 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 15 March 2024 02:58:07 +0000 (0:00:01.412) 0:01:21.264 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 15 March 2024 02:58:07 +0000 (0:00:00.024) 0:01:21.289 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 15 March 2024 02:58:07 +0000 (0:00:00.025) 0:01:21.314 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Friday 15 March 2024 02:58:07 +0000 (0:00:00.024) 0:01:21.338 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Friday 15 March 2024 02:58:07 +0000 (0:00:00.039) 0:01:21.378 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Friday 15 March 2024 02:58:07 +0000 (0:00:00.030) 0:01:21.409 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 15 March 2024 02:58:07 +0000 (0:00:00.035) 0:01:21.445 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Friday 15 March 2024 02:58:07 +0000 (0:00:00.055) 0:01:21.500 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Friday 15 March 2024 02:58:07 +0000 (0:00:00.024) 0:01:21.524 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Friday 15 March 2024 02:58:07 +0000 (0:00:00.023) 0:01:21.548 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Friday 15 March 2024 02:58:07 +0000 (0:00:00.038) 0:01:21.586 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Friday 15 March 2024 02:58:07 +0000 (0:00:00.375) 0:01:21.961 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 15 March 2024 02:58:07 +0000 (0:00:00.037) 0:01:21.999 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 15 March 2024 02:58:07 +0000 (0:00:00.022) 0:01:22.021 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Friday 15 March 2024 02:58:07 +0000 (0:00:00.021) 0:01:22.043 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Friday 15 March 2024 02:58:08 +0000 (0:00:00.407) 0:01:22.450 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Friday 15 March 2024 02:58:08 +0000 (0:00:00.026) 0:01:22.477 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Friday 15 March 2024 02:58:08 +0000 (0:00:00.076) 0:01:22.554 ********** 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-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Friday 15 March 2024 02:58:08 +0000 (0:00:00.024) 0:01:22.578 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Friday 15 March 2024 02:58:08 +0000 (0:00:00.025) 0:01:22.603 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 02:58:08 +0000 (0:00:00.202) 0:01:22.806 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 02:58:08 +0000 (0:00:00.040) 0:01:22.847 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 02:58:08 +0000 (0:00:00.035) 0:01:22.882 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 02:58:08 +0000 (0:00:00.023) 0:01:22.906 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 02:58:08 +0000 (0:00:00.192) 0:01:23.098 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 02:58:08 +0000 (0:00:00.021) 0:01:23.120 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019781", "end": "2024-03-15 02:58:09.066298", "rc": 1, "start": "2024-03-15 02:58:09.046517" } 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 02:58:09 +0000 (0:00:00.215) 0:01:23.336 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 02:58:09 +0000 (0:00:00.021) 0:01:23.357 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 02:58:09 +0000 (0:00:00.021) 0:01:23.378 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 02:58:09 +0000 (0:00:00.021) 0:01:23.400 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 02:58:09 +0000 (0:00:00.020) 0:01:23.420 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 02:58:09 +0000 (0:00:00.064) 0:01:23.484 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 15 March 2024 02:58:09 +0000 (0:00:00.024) 0:01:23.509 ********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.935164", "end": "2024-03-15 02:58:10.368916", "rc": 0, "start": "2024-03-15 02:58:09.433752" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 15 March 2024 02:58:10 +0000 (0:00:01.131) 0:01:24.641 ********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 15 March 2024 02:58:10 +0000 (0:00:00.026) 0:01:24.667 ********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 02:58:10 +0000 (0:00:00.024) 0:01:24.691 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 02:58:10 +0000 (0:00:00.050) 0:01:24.741 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 02:58:10 +0000 (0:00:00.034) 0:01:24.775 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 02:58:10 +0000 (0:00:00.195) 0:01:24.970 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 02:58:10 +0000 (0:00:00.024) 0:01:24.995 ********** 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-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 02:58:10 +0000 (0:00:00.021) 0:01:25.016 ********** included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/check_network_dns.yml for sut => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 02:58:10 +0000 (0:00:00.041) 0:01:25.057 ********** 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.040304", "end": "2024-03-15 02:58:11.022352", "rc": 1, "start": "2024-03-15 02:58:10.982048" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/check_network_dns.yml:6 Friday 15 March 2024 02:58:11 +0000 (0:00:00.251) 0:01:25.309 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009355", "end": "2024-03-15 02:58:11.241874", "rc": 0, "start": "2024-03-15 02:58:11.232519" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:56:ff:04:db:85 brd ff:ff:ff:ff:ff:ff inet 10.31.44.192/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2873sec preferred_lft 2873sec inet6 fe80::56:ffff:fe04:db85/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.192 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.192 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/tests/playbooks/tasks/check_network_dns.yml:24 Friday 15 March 2024 02:58:11 +0000 (0:00:00.203) 0:01:25.512 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.290400", "end": "2024-03-15 02:58:11.734125", "rc": 0, "start": "2024-03-15 02:58:11.443725" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5545 0 --:--:-- --:--:-- --:--:-- 5545 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1379 0 --:--:-- --:--:-- --:--:-- 1379 PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=292 rescued=0 ignored=11 Friday 15 March 2024 02:58:11 +0000 (0:00:00.563) 0:01:26.075 ********** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.55s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.52s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.52s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.51s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.51s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.51s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.51s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.51s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.51s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.51s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.50s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.50s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.50s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.50s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.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-nm_plugin_hotfix_qh3a9w2/.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.39s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.33s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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.33s /WORKDIR/git-nm_plugin_hotfix_qh3a9w2/.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. ---^---^---^---^---^---