# 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_hotfixmi2wl21i/.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_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/tests_states_nm.yml:6 Tuesday 05 March 2024 21:27:34 +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_hotfixmi2wl21i/tests/tests_states_nm.yml:9 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.749) 0:00:00.760 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:3 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.011) 0:00:00.771 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:17 Tuesday 05 March 2024 21:27:35 +0000 (0:00:00.262) 0:00:01.033 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:22 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.190) 0:00:01.224 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:26 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.013) 0:00:01.237 ********* 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_hotfixmi2wl21i/tests/tasks/el_repo_setup.yml:51 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.009) 0:00:01.247 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/enable_epel.yml:8 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.020) 0:00:01.268 ********* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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_hotfixmi2wl21i/tests/tasks/enable_epel.yml:24 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.195) 0:00:01.464 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/enable_epel.yml:30 Tuesday 05 March 2024 21:27:36 +0000 (0:00:00.449) 0:00:01.913 ********* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.190054", "end": "2024-03-05 21:27:37.154415", "rc": 0, "start": "2024-03-05 21:27:36.964361" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/enable_epel.yml:35 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.330) 0:00:02.243 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/tasks/enable_epel.yml:40 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.009) 0:00:02.253 ********* 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_hotfixmi2wl21i/tests/tests_states_nm.yml:11 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.007) 0:00:02.260 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:3 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.015) 0:00:02.275 ********* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:11 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.527) 0:00:02.803 ********* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:22 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.010) 0:00:02.814 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.012) 0:00:02.827 ********* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.009) 0:00:02.836 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.026) 0:00:02.863 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.011) 0:00:02.875 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.010) 0:00:02.885 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004099", "end": "2024-03-05 21:27:37.943681", "rc": 0, "start": "2024-03-05 21:27:37.939582" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.141) 0:00:03.026 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.010) 0:00:03.036 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.009) 0:00:03.046 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 05 March 2024 21:27:37 +0000 (0:00:00.015) 0:00:03.061 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013602", "end": "2024-03-05 21:27:38.125693", "rc": 1, "start": "2024-03-05 21:27:38.112091" } 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.145) 0:00:03.206 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.011) 0:00:03.218 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.133) 0:00:03.351 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.012) 0:00:03.363 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.016) 0:00:03.379 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.025) 0:00:03.405 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.019) 0:00:03.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.018) 0:00:03.443 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.011) 0:00:03.455 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:38 +0000 (0:00:00.012) 0:00:03.467 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:39 +0000 (0:00:00.901) 0:00:04.369 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:40 +0000 (0:00:01.207) 0:00:05.576 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.021) 0:00:05.597 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.021) 0:00:05.619 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.022) 0:00:05.641 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.027) 0:00:05.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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.032) 0:00:05.701 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.029) 0:00:05.731 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.048) 0:00:05.780 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.019) 0:00:05.799 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.039) 0:00:05.838 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:40 +0000 (0:00:00.031) 0:00:05.870 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.431) 0:00:06.302 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.035) 0:00:06.338 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.019) 0:00:06.357 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.018) 0:00:06.375 ********* 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, 949e5b93-89d0-4733-bac6-13669073263f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.481) 0:00:06.857 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.020) 0:00:06.878 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 949e5b93-89d0-4733-bac6-13669073263f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.019) 0:00:06.897 ********* 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, 949e5b93-89d0-4733-bac6-13669073263f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 949e5b93-89d0-4733-bac6-13669073263f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.019) 0:00:06.917 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:41 +0000 (0:00:00.021) 0:00:06.938 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.237) 0:00:07.175 ********* 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, 949e5b93-89d0-4733-bac6-13669073263f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 949e5b93-89d0-4733-bac6-13669073263f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.019) 0:00:07.195 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.031) 0:00:07.227 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.029) 0:00:07.256 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.017) 0:00:07.273 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674061.7852194, "block_size": 4096, "blocks": 8, "ctime": 1709674061.7062192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24568, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674061.7062192, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.166) 0:00:07.440 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.019) 0:00:07.460 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024682", "end": "2024-03-05 21:27:42.538730", "rc": 0, "start": "2024-03-05 21:27:42.514048" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.168) 0:00:07.629 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.024) 0:00:07.653 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.019) 0:00:07.672 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.024) 0:00:07.697 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.018) 0:00:07.716 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.020) 0:00:07.737 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.022) 0:00:07.759 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.022) 0:00:07.781 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.023) 0:00:07.804 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.051) 0:00:07.856 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.036) 0:00:07.893 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674061.7132192, "block_size": 4096, "blocks": 0, "ctime": 1709674061.7092192, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17646, "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": 1709674061.7092192, "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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.148) 0:00:08.041 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:27:42 +0000 (0:00:00.019) 0:00:08.061 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.018) 0:00:08.079 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.058) 0:00:08.138 ********* 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.081562", "end": "2024-03-05 21:27:43.273980", "rc": 1, "start": "2024-03-05 21:27:43.192418" } STDOUT: Connection 'statebr' (949e5b93-89d0-4733-bac6-13669073263f) successfully deleted. STDERR: (process:18285): GLib-GIO-WARNING **: 21:27:43.251: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/12 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:45 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.227) 0:00:08.365 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.032) 0:00:08.398 ********* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.045) 0:00:08.443 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.053) 0:00:08.496 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.028) 0:00:08.524 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.026) 0:00:08.551 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004214", "end": "2024-03-05 21:27:43.611507", "rc": 0, "start": "2024-03-05 21:27:43.607293" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.150) 0:00:08.701 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.019) 0:00:08.721 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.021) 0:00:08.742 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.032) 0:00:08.774 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008014", "end": "2024-03-05 21:27:43.873106", "rc": 1, "start": "2024-03-05 21:27:43.865092" } 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.201) 0:00:08.976 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:43 +0000 (0:00:00.030) 0:00:09.007 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.158) 0:00:09.166 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.047) 0:00:09.214 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.033) 0:00:09.247 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.038) 0:00:09.286 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.037) 0:00:09.323 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.034) 0:00:09.358 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.022) 0:00:09.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:44 +0000 (0:00:00.020) 0:00:09.401 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:45 +0000 (0:00:00.813) 0:00:10.214 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:46 +0000 (0:00:01.027) 0:00:11.241 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.021) 0:00:11.263 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.020) 0:00:11.284 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.019) 0:00:11.304 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.025) 0:00:11.329 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.059) 0:00:11.388 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.034) 0:00:11.423 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.059) 0:00:11.483 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.023) 0:00:11.506 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.036) 0:00:11.543 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.057) 0:00:11.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.268) 0:00:11.868 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.034) 0:00:11.903 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.018) 0:00:11.921 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:46 +0000 (0:00:00.017) 0:00:11.939 ********* 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, 1355e82d-a901-4518-a452-975dac658c8c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.317) 0:00:12.256 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.021) 0:00:12.278 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1355e82d-a901-4518-a452-975dac658c8c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.022) 0:00:12.301 ********* 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, 1355e82d-a901-4518-a452-975dac658c8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1355e82d-a901-4518-a452-975dac658c8c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.022) 0:00:12.323 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.022) 0:00:12.345 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.156) 0:00:12.502 ********* 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, 1355e82d-a901-4518-a452-975dac658c8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1355e82d-a901-4518-a452-975dac658c8c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.022) 0:00:12.524 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.060) 0:00:12.585 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.028) 0:00:12.614 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.143) 0:00:12.757 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.019) 0:00:12.776 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.028) 0:00:12.805 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.018) 0:00:12.824 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674067.1492438, "block_size": 4096, "blocks": 8, "ctime": 1709674067.1492438, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24568, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674067.1492438, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.139) 0:00:12.963 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:27:47 +0000 (0:00:00.019) 0:00:12.983 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022483", "end": "2024-03-05 21:27:48.057922", "rc": 0, "start": "2024-03-05 21:27:48.035439" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.165) 0:00:13.148 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.020) 0:00:13.168 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.018) 0:00:13.186 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.017) 0:00:13.204 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.018) 0:00:13.222 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.018) 0:00:13.241 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.019) 0:00:13.261 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.020) 0:00:13.282 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.020) 0:00:13.302 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.054) 0:00:13.356 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.021) 0:00:13.377 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.036) 0:00:13.413 ********* 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.052376", "end": "2024-03-05 21:27:48.520476", "rc": 1, "start": "2024-03-05 21:27:48.468100" } STDOUT: Connection 'statebr' (1355e82d-a901-4518-a452-975dac658c8c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:65 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.198) 0:00:13.611 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.033) 0:00:13.645 ********* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.036) 0:00:13.681 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.040) 0:00:13.722 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.029) 0:00:13.751 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.028) 0:00:13.779 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004136", "end": "2024-03-05 21:27:48.837602", "rc": 0, "start": "2024-03-05 21:27:48.833466" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.148) 0:00:13.928 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.021) 0:00:13.949 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.026) 0:00:13.976 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:27:48 +0000 (0:00:00.038) 0:00:14.014 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.065) 0:00:14.079 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.036) 0:00:14.116 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.031) 0:00:14.148 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.020) 0:00:14.169 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.022) 0:00:14.191 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:49 +0000 (0:00:00.797) 0:00:14.988 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:50 +0000 (0:00:01.035) 0:00:16.023 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.020) 0:00:16.044 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:50 +0000 (0:00:00.021) 0:00:16.066 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.021) 0:00:16.087 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.026) 0:00:16.114 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.033) 0:00:16.147 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.031) 0:00:16.179 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.050) 0:00:16.229 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.021) 0:00:16.250 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.051) 0:00:16.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.036) 0:00:16.338 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.269) 0:00:16.607 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.032) 0:00:16.640 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.017) 0:00:16.658 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.018) 0:00:16.676 ********* 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, d0b1ef3b-5c93-4304-8f78-475178035099 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.358) 0:00:17.034 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:51 +0000 (0:00:00.022) 0:00:17.057 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0b1ef3b-5c93-4304-8f78-475178035099" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.023) 0:00:17.081 ********* 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, d0b1ef3b-5c93-4304-8f78-475178035099\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0b1ef3b-5c93-4304-8f78-475178035099" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.022) 0:00:17.103 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.026) 0:00:17.130 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.165) 0:00:17.295 ********* 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, d0b1ef3b-5c93-4304-8f78-475178035099\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0b1ef3b-5c93-4304-8f78-475178035099" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.023) 0:00:17.319 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.033) 0:00:17.353 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.040) 0:00:17.393 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.064) 0:00:17.458 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.031) 0:00:17.489 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.020) 0:00:17.510 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:52 +0000 (0:00:00.021) 0:00:17.531 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:53 +0000 (0:00:00.803) 0:00:18.335 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:54 +0000 (0:00:01.046) 0:00:19.382 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.029) 0:00:19.411 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.025) 0:00:19.437 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.025) 0:00:19.463 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.028) 0:00:19.491 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.043) 0:00:19.535 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.039) 0:00:19.575 ********* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.054) 0:00:19.629 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.022) 0:00:19.652 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.025) 0:00:19.677 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:54 +0000 (0:00:00.037) 0:00:19.715 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.395) 0:00:20.110 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.035) 0:00:20.146 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.022) 0:00:20.168 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.019) 0:00:20.188 ********* 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, d0b1ef3b-5c93-4304-8f78-475178035099 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.315) 0:00:20.503 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.023) 0:00:20.527 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0b1ef3b-5c93-4304-8f78-475178035099 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.021) 0:00:20.549 ********* 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, d0b1ef3b-5c93-4304-8f78-475178035099 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d0b1ef3b-5c93-4304-8f78-475178035099 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.021) 0:00:20.571 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.020) 0:00:20.591 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.153) 0:00:20.745 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.043) 0:00:20.789 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.030) 0:00:20.819 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674071.8982654, "block_size": 4096, "blocks": 0, "ctime": 1709674071.8942654, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17646, "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": 1709674071.8942654, "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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.144) 0:00:20.963 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.019) 0:00:20.983 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.031) 0:00:21.014 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:27:55 +0000 (0:00:00.052) 0:00:21.066 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674071.8932655, "block_size": 4096, "blocks": 8, "ctime": 1709674071.8922653, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24568, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709674071.8922653, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.158) 0:00:21.225 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.023) 0:00:21.248 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023146", "end": "2024-03-05 21:27:56.327547", "rc": 0, "start": "2024-03-05 21:27:56.304401" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.172) 0:00:21.421 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.020) 0:00:21.441 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.018) 0:00:21.460 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.018) 0:00:21.479 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.018) 0:00:21.497 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.019) 0:00:21.516 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.020) 0:00:21.537 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.022) 0:00:21.559 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.020) 0:00:21.580 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.026) 0:00:21.606 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.020) 0:00:21.626 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.033) 0:00:21.660 ********* 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.081707", "end": "2024-03-05 21:27:56.797683", "rc": 1, "start": "2024-03-05 21:27:56.715976" } STDOUT: Connection 'statebr' (d0b1ef3b-5c93-4304-8f78-475178035099) successfully deleted. STDERR: (process:19012): GLib-GIO-WARNING **: 21:27:56.778: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/13 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:83 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.227) 0:00:21.888 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.030) 0:00:21.919 ********* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.047) 0:00:21.966 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.039) 0:00:22.005 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.029) 0:00:22.035 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:27:56 +0000 (0:00:00.027) 0:00:22.062 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004038", "end": "2024-03-05 21:27:57.119928", "rc": 0, "start": "2024-03-05 21:27:57.115890" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.150) 0:00:22.213 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.021) 0:00:22.234 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.039) 0:00:22.274 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.037) 0:00:22.311 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.040) 0:00:22.351 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.038) 0:00:22.389 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.033) 0:00:22.422 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.021) 0:00:22.444 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:27:57 +0000 (0:00:00.020) 0:00:22.465 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:27:58 +0000 (0:00:00.886) 0:00:23.351 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:27:59 +0000 (0:00:01.066) 0:00:24.417 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.024) 0:00:24.442 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.022) 0:00:24.464 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.022) 0:00:24.487 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.026) 0:00:24.513 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.035) 0:00:24.549 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.032) 0:00:24.581 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.048) 0:00:24.630 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.021) 0:00:24.651 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.020) 0:00:24.672 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.031) 0:00:24.704 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.271) 0:00:24.975 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.035) 0:00:25.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.029) 0:00:25.041 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:27:59 +0000 (0:00:00.020) 0:00:25.061 ********* 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, c5935cfc-77dc-4f0e-8b63-68b52caa00e7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.387) 0:00:25.449 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.105) 0:00:25.554 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5935cfc-77dc-4f0e-8b63-68b52caa00e7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.033) 0:00:25.588 ********* 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, c5935cfc-77dc-4f0e-8b63-68b52caa00e7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5935cfc-77dc-4f0e-8b63-68b52caa00e7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.030) 0:00:25.618 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.030) 0:00:25.648 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.158) 0:00:25.806 ********* 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, c5935cfc-77dc-4f0e-8b63-68b52caa00e7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5935cfc-77dc-4f0e-8b63-68b52caa00e7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.028) 0:00:25.835 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.044) 0:00:25.880 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.039) 0:00:25.920 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.032) 0:00:25.952 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.021) 0:00:25.973 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:00 +0000 (0:00:00.021) 0:00:25.995 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:01 +0000 (0:00:00.798) 0:00:26.793 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:02 +0000 (0:00:01.065) 0:00:27.859 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.052) 0:00:27.912 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.023) 0:00:27.935 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.021) 0:00:27.956 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.026) 0:00:27.983 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.033) 0:00:28.017 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:02 +0000 (0:00:00.037) 0:00:28.055 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.051) 0:00:28.106 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.021) 0:00:28.127 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.021) 0:00:28.149 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.031) 0:00:28.181 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.285) 0:00:28.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.042) 0:00:28.508 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.020) 0:00:28.528 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.024) 0:00:28.552 ********* 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, c5935cfc-77dc-4f0e-8b63-68b52caa00e7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.308) 0:00:28.861 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.021) 0:00:28.882 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5935cfc-77dc-4f0e-8b63-68b52caa00e7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.020) 0:00:28.903 ********* 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, c5935cfc-77dc-4f0e-8b63-68b52caa00e7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5935cfc-77dc-4f0e-8b63-68b52caa00e7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.024) 0:00:28.927 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:03 +0000 (0:00:00.024) 0:00:28.952 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.186) 0:00:29.138 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.038) 0:00:29.177 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.041) 0:00:29.218 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.038) 0:00:29.257 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.033) 0:00:29.290 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.023) 0:00:29.314 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:04 +0000 (0:00:00.022) 0:00:29.336 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:05 +0000 (0:00:00.800) 0:00:30.136 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:06 +0000 (0:00:01.036) 0:00:31.173 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.032) 0:00:31.205 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.024) 0:00:31.230 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.028) 0:00:31.259 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.124) 0:00:31.384 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.051) 0:00:31.435 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.033) 0:00:31.468 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.051) 0:00:31.520 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.021) 0:00:31.541 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.028) 0:00:31.570 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.033) 0:00:31.604 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.269) 0:00:31.874 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.034) 0:00:31.908 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.018) 0:00:31.927 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:06 +0000 (0:00:00.022) 0:00:31.949 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.335) 0:00:32.284 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.021) 0:00:32.306 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.021) 0:00:32.327 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.020) 0:00:32.348 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.021) 0:00:32.370 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.148) 0:00:32.518 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.073) 0:00:32.591 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.030) 0:00:32.622 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1709674080.3063035, "block_size": 4096, "blocks": 0, "ctime": 1709674080.3053036, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17648, "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": 1709674080.3053036, "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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.143) 0:00:32.766 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.021) 0:00:32.787 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.030) 0:00:32.817 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.018) 0:00:32.835 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.142) 0:00:32.977 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:28:07 +0000 (0:00:00.017) 0:00:32.995 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023199", "end": "2024-03-05 21:28:08.068702", "rc": 1, "start": "2024-03-05 21:28:08.045503" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.164) 0:00:33.159 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.018) 0:00:33.178 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.019) 0:00:33.197 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.022) 0:00:33.219 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.018) 0:00:33.237 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.018) 0:00:33.256 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.022) 0:00:33.278 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.026) 0:00:33.304 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.023) 0:00:33.328 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.074) 0:00:33.402 ********* 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.087354", "end": "2024-03-05 21:28:08.549252", "rc": 1, "start": "2024-03-05 21:28:08.461898" } STDOUT: Connection 'statebr' (c5935cfc-77dc-4f0e-8b63-68b52caa00e7) successfully deleted. STDERR: (process:19639): GLib-GIO-WARNING **: 21:28:08.528: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/14 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:102 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.237) 0:00:33.640 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.031) 0:00:33.671 ********* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.020) 0:00:33.692 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.039) 0:00:33.731 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.030) 0:00:33.762 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.028) 0:00:33.791 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004362", "end": "2024-03-05 21:28:08.851336", "rc": 0, "start": "2024-03-05 21:28:08.846974" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.150) 0:00:33.942 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.019) 0:00:33.962 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.020) 0:00:33.982 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.034) 0:00:34.016 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:08 +0000 (0:00:00.041) 0:00:34.058 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.069) 0:00:34.127 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.032) 0:00:34.160 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.021) 0:00:34.182 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.021) 0:00:34.203 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:09 +0000 (0:00:00.801) 0:00:35.004 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:10 +0000 (0:00:01.038) 0:00:36.042 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:10 +0000 (0:00:00.021) 0:00:36.064 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.021) 0:00:36.086 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.021) 0:00:36.107 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.026) 0:00:36.134 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.061) 0:00:36.196 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.037) 0:00:36.233 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.056) 0:00:36.289 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.023) 0:00:36.312 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.025) 0:00:36.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.076) 0:00:36.414 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.272) 0:00:36.687 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.033) 0:00:36.721 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.017) 0:00:36.739 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:11 +0000 (0:00:00.017) 0:00:36.757 ********* 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, eed6def3-183c-4c2c-8273-6b6bef79370e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.356) 0:00:37.113 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.024) 0:00:37.137 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eed6def3-183c-4c2c-8273-6b6bef79370e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.025) 0:00:37.163 ********* 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, eed6def3-183c-4c2c-8273-6b6bef79370e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eed6def3-183c-4c2c-8273-6b6bef79370e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.022) 0:00:37.186 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.023) 0:00:37.210 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.155) 0:00:37.366 ********* 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, eed6def3-183c-4c2c-8273-6b6bef79370e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eed6def3-183c-4c2c-8273-6b6bef79370e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.027) 0:00:37.393 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.041) 0:00:37.435 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.037) 0:00:37.472 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.033) 0:00:37.506 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.021) 0:00:37.527 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:12 +0000 (0:00:00.061) 0:00:37.589 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:13 +0000 (0:00:00.808) 0:00:38.397 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:14 +0000 (0:00:01.052) 0:00:39.450 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.022) 0:00:39.473 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.023) 0:00:39.497 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.022) 0:00:39.519 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.027) 0:00:39.547 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.035) 0:00:39.582 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.041) 0:00:39.624 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.070) 0:00:39.694 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.022) 0:00:39.716 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.027) 0:00:39.744 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.040) 0:00:39.785 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:14 +0000 (0:00:00.273) 0:00:40.059 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.033) 0:00:40.092 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.018) 0:00:40.111 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.018) 0:00:40.129 ********* 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, eed6def3-183c-4c2c-8273-6b6bef79370e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.438) 0:00:40.567 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.023) 0:00:40.591 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eed6def3-183c-4c2c-8273-6b6bef79370e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.023) 0:00:40.615 ********* 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, eed6def3-183c-4c2c-8273-6b6bef79370e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eed6def3-183c-4c2c-8273-6b6bef79370e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.027) 0:00:40.642 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.023) 0:00:40.666 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.156) 0:00:40.822 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.056) 0:00:40.878 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.037) 0:00:40.916 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.050) 0:00:40.966 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.022) 0:00:40.989 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:15 +0000 (0:00:00.022) 0:00:41.011 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:16 +0000 (0:00:00.796) 0:00:41.808 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:17 +0000 (0:00:01.109) 0:00:42.918 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.021) 0:00:42.940 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.022) 0:00:42.962 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.022) 0:00:42.985 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.028) 0:00:43.013 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:17 +0000 (0:00:00.034) 0:00:43.047 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.036) 0:00:43.084 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.051) 0:00:43.136 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.022) 0:00:43.158 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.023) 0:00:43.181 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.033) 0:00:43.215 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.269) 0:00:43.484 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.032) 0:00:43.517 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.017) 0:00:43.535 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.017) 0:00:43.553 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.336) 0:00:43.889 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.022) 0:00:43.912 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.021) 0:00:43.933 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.022) 0:00:43.955 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:18 +0000 (0:00:00.020) 0:00:43.976 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.184) 0:00:44.160 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.033) 0:00:44.194 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.039) 0:00:44.234 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.037) 0:00:44.272 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.032) 0:00:44.304 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.021) 0:00:44.326 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:19 +0000 (0:00:00.020) 0:00:44.347 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:20 +0000 (0:00:00.790) 0:00:45.137 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:21 +0000 (0:00:01.034) 0:00:46.172 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.020) 0:00:46.193 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.021) 0:00:46.214 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.053) 0:00:46.268 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.027) 0:00:46.295 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.033) 0:00:46.329 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.032) 0:00:46.361 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.050) 0:00:46.412 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.021) 0:00:46.433 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.021) 0:00:46.455 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.031) 0:00:46.487 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.268) 0:00:46.755 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.035) 0:00:46.791 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.018) 0:00:46.810 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:21 +0000 (0:00:00.018) 0:00:46.828 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.406) 0:00:47.235 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.023) 0:00:47.259 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.022) 0:00:47.282 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.023) 0:00:47.305 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.021) 0:00:47.327 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.153) 0:00:47.480 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.068) 0:00:47.549 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.031) 0:00:47.580 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.019) 0:00:47.599 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.143) 0:00:47.743 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.017) 0:00:47.760 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022255", "end": "2024-03-05 21:28:22.836133", "rc": 1, "start": "2024-03-05 21:28:22.813878" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.165) 0:00:47.926 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.019) 0:00:47.945 ********* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.018) 0:00:47.964 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.018) 0:00:47.982 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.018) 0:00:48.000 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.017) 0:00:48.018 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:28:22 +0000 (0:00:00.021) 0:00:48.040 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.045) 0:00:48.086 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.030) 0:00:48.117 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.145) 0:00:48.262 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.021) 0:00:48.284 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.058) 0:00:48.343 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.037) 0:00:48.380 ********* 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.046898", "end": "2024-03-05 21:28:23.484159", "rc": 1, "start": "2024-03-05 21:28:23.437261" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tests_states.yml:124 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.195) 0:00:48.576 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:5 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.031) 0:00:48.607 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:9 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.020) 0:00:48.628 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:21 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.039) 0:00:48.667 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.028) 0:00:48.696 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.026) 0:00:48.723 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004383", "end": "2024-03-05 21:28:23.782830", "rc": 0, "start": "2024-03-05 21:28:23.778447" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.150) 0:00:48.873 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.020) 0:00:48.894 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:24 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.020) 0:00:48.914 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.035) 0:00:48.950 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.077) 0:00:49.028 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:23 +0000 (0:00:00.038) 0:00:49.066 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:24 +0000 (0:00:00.031) 0:00:49.098 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:24 +0000 (0:00:00.024) 0:00:49.122 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:24 +0000 (0:00:00.021) 0:00:49.143 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:24 +0000 (0:00:00.807) 0:00:49.951 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:25 +0000 (0:00:01.036) 0:00:50.988 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.021) 0:00:51.009 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.021) 0:00:51.031 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:25 +0000 (0:00:00.020) 0:00:51.052 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.026) 0:00:51.079 ********* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.032) 0:00:51.111 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.034) 0:00:51.146 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.051) 0:00:51.197 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.020) 0:00:51.218 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.057) 0:00:51.275 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.033) 0:00:51.309 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.275) 0:00:51.584 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.033) 0:00:51.617 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.018) 0:00:51.636 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.017) 0:00:51.653 ********* 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, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.356) 0:00:52.010 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.023) 0:00:52.034 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:26 +0000 (0:00:00.023) 0:00:52.057 ********* 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, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.023) 0:00:52.080 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.021) 0:00:52.102 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.153) 0:00:52.255 ********* 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, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.021) 0:00:52.277 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.037) 0:00:52.315 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.035) 0:00:52.351 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.030) 0:00:52.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.054) 0:00:52.436 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:27 +0000 (0:00:00.022) 0:00:52.458 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:28 +0000 (0:00:00.801) 0:00:53.260 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:29 +0000 (0:00:01.034) 0:00:54.294 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.025) 0:00:54.320 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.022) 0:00:54.342 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.022) 0:00:54.365 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.027) 0:00:54.392 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.037) 0:00:54.430 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.034) 0:00:54.465 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.052) 0:00:54.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.022) 0:00:54.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.022) 0:00:54.562 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.034) 0:00:54.597 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.266) 0:00:54.864 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.035) 0:00:54.899 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.018) 0:00:54.918 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:29 +0000 (0:00:00.055) 0:00:54.973 ********* 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, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.309) 0:00:55.283 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.024) 0:00:55.307 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.023) 0:00:55.331 ********* 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, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b8e6f0e0-9055-4da5-95a6-0ace3cafcae0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.028) 0:00:55.360 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.034) 0:00:55.394 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.152) 0:00:55.547 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.039) 0:00:55.587 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.038) 0:00:55.625 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.033) 0:00:55.658 ********* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.023) 0:00:55.682 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:30 +0000 (0:00:00.022) 0:00:55.704 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:31 +0000 (0:00:00.792) 0:00:56.496 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:32 +0000 (0:00:01.096) 0:00:57.593 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.021) 0:00:57.615 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.023) 0:00:57.639 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.021) 0:00:57.661 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.026) 0:00:57.687 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.034) 0:00:57.721 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.032) 0:00:57.753 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.053) 0:00:57.807 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.021) 0:00:57.828 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.021) 0:00:57.850 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:32 +0000 (0:00:00.033) 0:00:57.883 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.269) 0:00:58.152 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.034) 0:00:58.187 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.018) 0:00:58.205 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.019) 0:00:58.224 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.393) 0:00:58.618 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.024) 0:00:58.642 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.021) 0:00:58.664 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.020) 0:00:58.684 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.057) 0:00:58.741 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:30 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.150) 0:00:58.892 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.033) 0:00:58.925 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.038) 0:00:58.964 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.036) 0:00:59.001 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.031) 0:00:59.032 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 05 March 2024 21:28:33 +0000 (0:00:00.021) 0:00:59.054 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.020) 0:00:59.074 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 05 March 2024 21:28:34 +0000 (0:00:00.796) 0:00:59.871 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 05 March 2024 21:28:35 +0000 (0:00:01.028) 0:01:00.899 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.025) 0:01:00.925 ********* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.023) 0:01:00.948 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.063) 0:01:01.011 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 05 March 2024 21:28:35 +0000 (0:00:00.028) 0:01:01.039 ********* 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.034) 0:01:01.074 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.032) 0:01:01.106 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.051) 0:01:01.158 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.021) 0:01:01.179 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.021) 0:01:01.201 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.032) 0:01:01.233 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.268) 0:01:01.502 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.034) 0:01:01.536 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.018) 0:01:01.554 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.018) 0:01:01.572 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.319) 0:01:01.892 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.024) 0:01:01.916 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.021) 0:01:01.938 ********* 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_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.020) 0:01:01.959 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 05 March 2024 21:28:36 +0000 (0:00:00.021) 0:01:01.981 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:36 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.147) 0:01:02.128 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.070) 0:01:02.198 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.033) 0:01:02.232 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.021) 0:01:02.253 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.144) 0:01:02.397 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.022) 0:01:02.420 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020502", "end": "2024-03-05 21:28:37.493317", "rc": 1, "start": "2024-03-05 21:28:37.472815" } 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.163) 0:01:02.583 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.018) 0:01:02.602 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.018) 0:01:02.620 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.017) 0:01:02.638 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.018) 0:01:02.656 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.018) 0:01:02.674 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 05 March 2024 21:28:37 +0000 (0:00:00.019) 0:01:02.694 ********* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.730791", "end": "2024-03-05 21:28:38.476294", "rc": 0, "start": "2024-03-05 21:28:37.745503" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.875) 0:01:03.569 ********* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.020) 0:01:03.590 ********* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:42 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.021) 0:01:03.611 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.044) 0:01:03.656 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.063) 0:01:03.719 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.149) 0:01:03.868 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:47 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.022) 0:01:03.891 ********* 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_hotfixmi2wl21i/tests/playbooks/tasks/run_test.yml:66 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.021) 0:01:03.912 ********* included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/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_hotfixmi2wl21i/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 05 March 2024 21:28:38 +0000 (0:00:00.038) 0:01:03.951 ********* 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.045154", "end": "2024-03-05 21:28:39.051156", "rc": 1, "start": "2024-03-05 21:28:39.006002" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.190) 0:01:04.141 ********* 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.008580", "end": "2024-03-05 21:28:39.203638", "rc": 0, "start": "2024-03-05 21:28:39.195058" } 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 0e:da:8f:c1:16:1b brd ff:ff:ff:ff:ff:ff inet 10.31.40.20/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3222sec preferred_lft 3222sec inet6 fe80::cda:8fff:fec1:161b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.20 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 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_hotfixmi2wl21i/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 05 March 2024 21:28:39 +0000 (0:00:00.152) 0:01:04.294 ********* 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.662684", "end": "2024-03-05 21:28:40.015710", "rc": 0, "start": "2024-03-05 21:28:39.353026" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 1264 0 --:--:-- --:--:-- --:--:-- 1265 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 731 0 --:--:-- --:--:-- --:--:-- 731 PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=291 rescued=0 ignored=11 Tuesday 05 March 2024 21:28:40 +0000 (0:00:00.841) 0:01:05.136 ********* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.11s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.10s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.07s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.07s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.05s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.05s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.04s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.04s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.04s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.04s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.03s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.03s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.03s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.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.03s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.89s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.88s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Verify DNS and network connectivity ------------------------------------- 0.84s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/tests/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-nm_plugin_hotfixmi2wl21i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---