# 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_hotfixdtegsnb3/.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_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/tests_states_nm.yml:6 Monday 19 February 2024 00:29:47 +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_hotfixdtegsnb3/tests/tests_states_nm.yml:9 Monday 19 February 2024 00:29:48 +0000 (0:00:00.727) 0:00:00.738 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 00:29:48 +0000 (0:00:00.011) 0:00:00.750 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:17 Monday 19 February 2024 00:29:48 +0000 (0:00:00.228) 0:00:00.979 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:22 Monday 19 February 2024 00:29:48 +0000 (0:00:00.186) 0:00:01.166 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:26 Monday 19 February 2024 00:29:48 +0000 (0:00:00.013) 0:00:01.179 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/el_repo_setup.yml:51 Monday 19 February 2024 00:29:48 +0000 (0:00:00.007) 0:00:01.187 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 00:29:48 +0000 (0:00:00.021) 0:00:01.209 ******* 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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 00:29:48 +0000 (0:00:00.178) 0:00:01.387 ******* 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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 00:29:49 +0000 (0:00:00.423) 0:00:01.811 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189148", "end": "2024-02-19 00:29:49.420876", "rc": 0, "start": "2024-02-19 00:29:49.231728" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 00:29:49 +0000 (0:00:00.310) 0:00:02.121 ******* 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_hotfixdtegsnb3/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 00:29:49 +0000 (0:00:00.008) 0:00:02.130 ******* 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_hotfixdtegsnb3/tests/tests_states_nm.yml:11 Monday 19 February 2024 00:29:49 +0000 (0:00:00.008) 0:00:02.139 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 00:29:49 +0000 (0:00:00.015) 0:00:02.154 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 00:29:50 +0000 (0:00:00.541) 0:00:02.696 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 00:29:50 +0000 (0:00:00.010) 0:00:02.706 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:29:50 +0000 (0:00:00.013) 0:00:02.720 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:29:50 +0000 (0:00:00.009) 0:00:02.729 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:29:50 +0000 (0:00:00.027) 0:00:02.757 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:29:50 +0000 (0:00:00.011) 0:00:02.769 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:29:50 +0000 (0:00:00.010) 0:00:02.780 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003593", "end": "2024-02-19 00:29:50.203190", "rc": 0, "start": "2024-02-19 00:29:50.199597" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:29:50 +0000 (0:00:00.122) 0:00:02.902 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:29:50 +0000 (0:00:00.011) 0:00:02.913 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:29:50 +0000 (0:00:00.009) 0:00:02.923 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 00:29:50 +0000 (0:00:00.016) 0:00:02.939 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011102", "end": "2024-02-19 00:29:50.370273", "rc": 1, "start": "2024-02-19 00:29:50.359171" } 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:29:50 +0000 (0:00:00.129) 0:00:03.069 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:29:50 +0000 (0:00:00.012) 0:00:03.081 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:29:50 +0000 (0:00:00.121) 0:00:03.203 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:29:50 +0000 (0:00:00.011) 0:00:03.214 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:29:50 +0000 (0:00:00.015) 0:00:03.230 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:29:50 +0000 (0:00:00.022) 0:00:03.253 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:29:50 +0000 (0:00:00.019) 0:00:03.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:29:50 +0000 (0:00:00.019) 0:00:03.292 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:29:50 +0000 (0:00:00.012) 0:00:03.305 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:29:50 +0000 (0:00:00.012) 0:00:03.317 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:29:51 +0000 (0:00:00.896) 0:00:04.213 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:29:52 +0000 (0:00:00.816) 0:00:05.029 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:29:52 +0000 (0:00:00.027) 0:00:05.056 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:29:52 +0000 (0:00:00.025) 0:00:05.082 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:29:52 +0000 (0:00:00.031) 0:00:05.113 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:29:52 +0000 (0:00:00.067) 0:00:05.180 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:29:52 +0000 (0:00:00.026) 0:00:05.206 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:29:52 +0000 (0:00:00.025) 0:00:05.232 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:29:52 +0000 (0:00:00.035) 0:00:05.268 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:29:52 +0000 (0:00:00.416) 0:00:05.684 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:29:53 +0000 (0:00:00.051) 0:00:05.735 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:29:53 +0000 (0:00:00.017) 0:00:05.752 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:29:53 +0000 (0:00:00.017) 0:00:05.770 ******* 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, 800b8ecd-cb02-45f3-93c0-e306aee70831 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:29:53 +0000 (0:00:00.468) 0:00:06.238 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:29:53 +0000 (0:00:00.020) 0:00:06.259 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 800b8ecd-cb02-45f3-93c0-e306aee70831" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:29:53 +0000 (0:00:00.020) 0:00:06.279 ******* 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, 800b8ecd-cb02-45f3-93c0-e306aee70831\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 800b8ecd-cb02-45f3-93c0-e306aee70831" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:29:53 +0000 (0:00:00.020) 0:00:06.300 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:29:53 +0000 (0:00:00.020) 0:00:06.321 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:29:53 +0000 (0:00:00.191) 0:00:06.512 ******* 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, 800b8ecd-cb02-45f3-93c0-e306aee70831\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 800b8ecd-cb02-45f3-93c0-e306aee70831" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:29:53 +0000 (0:00:00.020) 0:00:06.532 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:29:53 +0000 (0:00:00.032) 0:00:06.564 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:29:53 +0000 (0:00:00.029) 0:00:06.593 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:29:53 +0000 (0:00:00.017) 0:00:06.611 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302593.463007, "block_size": 4096, "blocks": 8, "ctime": 1708302593.462007, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708302593.462007, "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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:29:54 +0000 (0:00:00.127) 0:00:06.738 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:29:54 +0000 (0:00:00.019) 0:00:06.757 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023223", "end": "2024-02-19 00:29:54.199829", "rc": 0, "start": "2024-02-19 00:29:54.176606" } 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:29:54 +0000 (0:00:00.150) 0:00:06.908 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:29:54 +0000 (0:00:00.044) 0:00:06.952 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:29:54 +0000 (0:00:00.018) 0:00:06.971 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:29:54 +0000 (0:00:00.018) 0:00:06.989 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:29:54 +0000 (0:00:00.018) 0:00:07.008 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:29:54 +0000 (0:00:00.019) 0:00:07.027 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:29:54 +0000 (0:00:00.020) 0:00:07.048 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:29:54 +0000 (0:00:00.023) 0:00:07.071 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:29:54 +0000 (0:00:00.021) 0:00:07.092 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:29:54 +0000 (0:00:00.044) 0:00:07.136 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:29:54 +0000 (0:00:00.029) 0:00:07.166 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302593.4750066, "block_size": 4096, "blocks": 0, "ctime": 1708302593.465007, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17546, "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": 1708302593.465007, "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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:29:54 +0000 (0:00:00.129) 0:00:07.295 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:29:54 +0000 (0:00:00.022) 0:00:07.318 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:29:54 +0000 (0:00:00.019) 0:00:07.337 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:29:54 +0000 (0:00:00.033) 0:00:07.371 ******* 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.079015", "end": "2024-02-19 00:29:54.870045", "rc": 1, "start": "2024-02-19 00:29:54.791030" } STDOUT: Connection 'statebr' (800b8ecd-cb02-45f3-93c0-e306aee70831) successfully deleted. STDERR: (process:8188): GLib-GIO-WARNING **: 00:29:54.849: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 but no object proxy exists (process:8188): GLib-GIO-WARNING **: 00:29:54.850: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/44 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_hotfixdtegsnb3/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 00:29:54 +0000 (0:00:00.207) 0:00:07.578 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:29:54 +0000 (0:00:00.031) 0:00:07.610 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:29:54 +0000 (0:00:00.042) 0:00:07.652 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:29:55 +0000 (0:00:00.039) 0:00:07.692 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:29:55 +0000 (0:00:00.030) 0:00:07.722 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:29:55 +0000 (0:00:00.036) 0:00:07.759 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003845", "end": "2024-02-19 00:29:55.184120", "rc": 0, "start": "2024-02-19 00:29:55.180275" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:29:55 +0000 (0:00:00.132) 0:00:07.891 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:29:55 +0000 (0:00:00.019) 0:00:07.911 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:29:55 +0000 (0:00:00.020) 0:00:07.932 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 00:29:55 +0000 (0:00:00.034) 0:00:07.966 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007401", "end": "2024-02-19 00:29:55.396572", "rc": 1, "start": "2024-02-19 00:29:55.389171" } 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:29:55 +0000 (0:00:00.138) 0:00:08.104 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:29:55 +0000 (0:00:00.029) 0:00:08.134 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:29:55 +0000 (0:00:00.126) 0:00:08.260 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:29:55 +0000 (0:00:00.019) 0:00:08.280 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 00:29:55 +0000 (0:00:00.032) 0:00:08.312 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:29:55 +0000 (0:00:00.060) 0:00:08.373 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:29:55 +0000 (0:00:00.035) 0:00:08.408 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:29:55 +0000 (0:00:00.039) 0:00:08.447 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:29:55 +0000 (0:00:00.021) 0:00:08.469 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:29:55 +0000 (0:00:00.023) 0:00:08.493 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:29:56 +0000 (0:00:00.806) 0:00:09.299 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:29:57 +0000 (0:00:00.665) 0:00:09.965 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:29:57 +0000 (0:00:00.021) 0:00:09.987 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:29:57 +0000 (0:00:00.021) 0:00:10.009 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:29:57 +0000 (0:00:00.021) 0:00:10.030 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:29:57 +0000 (0:00:00.052) 0:00:10.082 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:29:57 +0000 (0:00:00.026) 0:00:10.108 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:29:57 +0000 (0:00:00.021) 0:00:10.130 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:29:57 +0000 (0:00:00.033) 0:00:10.163 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:29:57 +0000 (0:00:00.246) 0:00:10.410 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:29:57 +0000 (0:00:00.039) 0:00:10.449 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:29:57 +0000 (0:00:00.047) 0:00:10.496 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:29:57 +0000 (0:00:00.023) 0:00:10.520 ******* 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, f04344f0-8093-4593-8093-340b33931be3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:29:58 +0000 (0:00:00.291) 0:00:10.812 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:29:58 +0000 (0:00:00.022) 0:00:10.835 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f04344f0-8093-4593-8093-340b33931be3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:29:58 +0000 (0:00:00.022) 0:00:10.857 ******* 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, f04344f0-8093-4593-8093-340b33931be3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f04344f0-8093-4593-8093-340b33931be3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:29:58 +0000 (0:00:00.023) 0:00:10.880 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:29:58 +0000 (0:00:00.021) 0:00:10.901 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 00:29:58 +0000 (0:00:00.135) 0:00:11.036 ******* 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, f04344f0-8093-4593-8093-340b33931be3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f04344f0-8093-4593-8093-340b33931be3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:29:58 +0000 (0:00:00.022) 0:00:11.059 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:29:58 +0000 (0:00:00.035) 0:00:11.095 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:29:58 +0000 (0:00:00.028) 0:00:11.123 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:29:58 +0000 (0:00:00.127) 0:00:11.251 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:29:58 +0000 (0:00:00.020) 0:00:11.271 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:29:58 +0000 (0:00:00.028) 0:00:11.300 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:29:58 +0000 (0:00:00.017) 0:00:11.318 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302598.086853, "block_size": 4096, "blocks": 8, "ctime": 1708302598.085853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708302598.085853, "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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:29:58 +0000 (0:00:00.155) 0:00:11.473 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:29:58 +0000 (0:00:00.022) 0:00:11.496 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021170", "end": "2024-02-19 00:29:58.936482", "rc": 0, "start": "2024-02-19 00:29:58.915312" } 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:29:58 +0000 (0:00:00.148) 0:00:11.644 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:29:58 +0000 (0:00:00.021) 0:00:11.666 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:29:58 +0000 (0:00:00.019) 0:00:11.685 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:29:59 +0000 (0:00:00.018) 0:00:11.704 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:29:59 +0000 (0:00:00.018) 0:00:11.722 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:29:59 +0000 (0:00:00.018) 0:00:11.741 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:29:59 +0000 (0:00:00.020) 0:00:11.761 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:29:59 +0000 (0:00:00.020) 0:00:11.782 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:29:59 +0000 (0:00:00.021) 0:00:11.803 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:29:59 +0000 (0:00:00.024) 0:00:11.828 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:29:59 +0000 (0:00:00.020) 0:00:11.848 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:29:59 +0000 (0:00:00.033) 0:00:11.881 ******* 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.047431", "end": "2024-02-19 00:29:59.349525", "rc": 1, "start": "2024-02-19 00:29:59.302094" } STDOUT: Connection 'statebr' (f04344f0-8093-4593-8093-340b33931be3) 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_hotfixdtegsnb3/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 00:29:59 +0000 (0:00:00.176) 0:00:12.057 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:29:59 +0000 (0:00:00.031) 0:00:12.089 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:29:59 +0000 (0:00:00.019) 0:00:12.108 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:29:59 +0000 (0:00:00.064) 0:00:12.173 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:29:59 +0000 (0:00:00.029) 0:00:12.203 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:29:59 +0000 (0:00:00.029) 0:00:12.232 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003584", "end": "2024-02-19 00:29:59.655779", "rc": 0, "start": "2024-02-19 00:29:59.652195" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:29:59 +0000 (0:00:00.133) 0:00:12.365 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:29:59 +0000 (0:00:00.019) 0:00:12.385 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:29:59 +0000 (0:00:00.019) 0:00:12.405 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:29:59 +0000 (0:00:00.030) 0:00:12.436 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:29:59 +0000 (0:00:00.037) 0:00:12.473 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:29:59 +0000 (0:00:00.034) 0:00:12.507 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:29:59 +0000 (0:00:00.030) 0:00:12.538 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:29:59 +0000 (0:00:00.021) 0:00:12.560 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:29:59 +0000 (0:00:00.020) 0:00:12.581 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:00 +0000 (0:00:00.792) 0:00:13.373 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:01 +0000 (0:00:00.720) 0:00:14.094 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:01 +0000 (0:00:00.023) 0:00:14.117 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:01 +0000 (0:00:00.020) 0:00:14.138 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:01 +0000 (0:00:00.027) 0:00:14.166 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:01 +0000 (0:00:00.050) 0:00:14.216 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:01 +0000 (0:00:00.025) 0:00:14.242 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:01 +0000 (0:00:00.021) 0:00:14.263 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:01 +0000 (0:00:00.033) 0:00:14.297 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:01 +0000 (0:00:00.241) 0:00:14.538 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:01 +0000 (0:00:00.038) 0:00:14.576 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:01 +0000 (0:00:00.018) 0:00:14.595 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:01 +0000 (0:00:00.018) 0:00:14.614 ******* 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, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:02 +0000 (0:00:00.347) 0:00:14.961 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:02 +0000 (0:00:00.021) 0:00:14.983 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:02 +0000 (0:00:00.021) 0:00:15.004 ******* 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, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:02 +0000 (0:00:00.020) 0:00:15.025 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:02 +0000 (0:00:00.021) 0:00:15.046 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:30:02 +0000 (0:00:00.170) 0:00:15.217 ******* 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, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:30:02 +0000 (0:00:00.021) 0:00:15.238 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:30:02 +0000 (0:00:00.033) 0:00:15.272 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:02 +0000 (0:00:00.038) 0:00:15.310 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:02 +0000 (0:00:00.036) 0:00:15.346 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:02 +0000 (0:00:00.033) 0:00:15.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:02 +0000 (0:00:00.021) 0:00:15.402 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:02 +0000 (0:00:00.022) 0:00:15.424 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:03 +0000 (0:00:00.800) 0:00:16.224 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:04 +0000 (0:00:00.666) 0:00:16.891 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:04 +0000 (0:00:00.022) 0:00:16.913 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:04 +0000 (0:00:00.027) 0:00:16.941 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:04 +0000 (0:00:00.062) 0:00:17.003 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:04 +0000 (0:00:00.050) 0:00:17.054 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:04 +0000 (0:00:00.021) 0:00:17.076 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:04 +0000 (0:00:00.021) 0:00:17.097 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:04 +0000 (0:00:00.034) 0:00:17.131 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:04 +0000 (0:00:00.242) 0:00:17.374 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:04 +0000 (0:00:00.035) 0:00:17.410 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:04 +0000 (0:00:00.018) 0:00:17.428 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:04 +0000 (0:00:00.018) 0:00:17.447 ******* 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, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:05 +0000 (0:00:00.282) 0:00:17.730 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:05 +0000 (0:00:00.022) 0:00:17.752 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:05 +0000 (0:00:00.023) 0:00:17.775 ******* 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, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b21c3cd-b29e-4db0-8d63-332c7a29cdb3 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:05 +0000 (0:00:00.024) 0:00:17.800 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:05 +0000 (0:00:00.028) 0:00:17.828 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:30:05 +0000 (0:00:00.138) 0:00:17.966 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:30:05 +0000 (0:00:00.035) 0:00:18.001 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:30:05 +0000 (0:00:00.029) 0:00:18.031 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302602.199716, "block_size": 4096, "blocks": 0, "ctime": 1708302602.1897163, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17546, "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": 1708302602.1897163, "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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:30:05 +0000 (0:00:00.161) 0:00:18.193 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:30:05 +0000 (0:00:00.020) 0:00:18.214 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:30:05 +0000 (0:00:00.030) 0:00:18.244 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:30:05 +0000 (0:00:00.018) 0:00:18.262 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302602.257714, "block_size": 4096, "blocks": 8, "ctime": 1708302602.1877165, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604795, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708302602.1877165, "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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:30:05 +0000 (0:00:00.130) 0:00:18.392 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:30:05 +0000 (0:00:00.020) 0:00:18.412 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024713", "end": "2024-02-19 00:30:05.857985", "rc": 0, "start": "2024-02-19 00:30:05.833272" } 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:30:05 +0000 (0:00:00.154) 0:00:18.567 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:30:05 +0000 (0:00:00.021) 0:00:18.588 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:30:05 +0000 (0:00:00.018) 0:00:18.607 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:30:05 +0000 (0:00:00.020) 0:00:18.628 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:30:05 +0000 (0:00:00.019) 0:00:18.648 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:30:05 +0000 (0:00:00.020) 0:00:18.668 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:30:06 +0000 (0:00:00.021) 0:00:18.690 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:30:06 +0000 (0:00:00.021) 0:00:18.712 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:30:06 +0000 (0:00:00.022) 0:00:18.735 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:30:06 +0000 (0:00:00.026) 0:00:18.761 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:30:06 +0000 (0:00:00.021) 0:00:18.782 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:30:06 +0000 (0:00:00.065) 0:00:18.848 ******* 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.083383", "end": "2024-02-19 00:30:06.352025", "rc": 1, "start": "2024-02-19 00:30:06.268642" } STDOUT: Connection 'statebr' (8b21c3cd-b29e-4db0-8d63-332c7a29cdb3) successfully deleted. STDERR: (process:8963): GLib-GIO-WARNING **: 00:30:06.328: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/22 but no object proxy exists (process:8963): GLib-GIO-WARNING **: 00:30:06.330: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/72 but no object proxy exists (process:8963): GLib-GIO-WARNING **: 00:30:06.330: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/45 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_hotfixdtegsnb3/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 00:30:06 +0000 (0:00:00.212) 0:00:19.060 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:30:06 +0000 (0:00:00.031) 0:00:19.092 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:30:06 +0000 (0:00:00.020) 0:00:19.112 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:30:06 +0000 (0:00:00.038) 0:00:19.151 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:30:06 +0000 (0:00:00.029) 0:00:19.180 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:30:06 +0000 (0:00:00.026) 0:00:19.207 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003646", "end": "2024-02-19 00:30:06.631725", "rc": 0, "start": "2024-02-19 00:30:06.628079" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:30:06 +0000 (0:00:00.134) 0:00:19.342 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:30:06 +0000 (0:00:00.028) 0:00:19.370 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:30:06 +0000 (0:00:00.022) 0:00:19.393 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:30:06 +0000 (0:00:00.033) 0:00:19.426 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:06 +0000 (0:00:00.036) 0:00:19.463 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:06 +0000 (0:00:00.036) 0:00:19.499 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:06 +0000 (0:00:00.114) 0:00:19.613 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:06 +0000 (0:00:00.023) 0:00:19.637 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:06 +0000 (0:00:00.026) 0:00:19.664 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:07 +0000 (0:00:00.799) 0:00:20.463 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:08 +0000 (0:00:00.670) 0:00:21.134 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:08 +0000 (0:00:00.024) 0:00:21.158 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:08 +0000 (0:00:00.026) 0:00:21.184 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:08 +0000 (0:00:00.026) 0:00:21.211 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:08 +0000 (0:00:00.058) 0:00:21.270 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:08 +0000 (0:00:00.023) 0:00:21.293 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:08 +0000 (0:00:00.021) 0:00:21.315 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:08 +0000 (0:00:00.034) 0:00:21.349 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:08 +0000 (0:00:00.244) 0:00:21.594 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:08 +0000 (0:00:00.046) 0:00:21.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:08 +0000 (0:00:00.025) 0:00:21.666 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:09 +0000 (0:00:00.023) 0:00:21.690 ******* 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, a137ba39-114e-4f3e-8e74-36b9b98d5949 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:09 +0000 (0:00:00.397) 0:00:22.088 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:09 +0000 (0:00:00.022) 0:00:22.110 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a137ba39-114e-4f3e-8e74-36b9b98d5949" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:09 +0000 (0:00:00.021) 0:00:22.132 ******* 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, a137ba39-114e-4f3e-8e74-36b9b98d5949\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a137ba39-114e-4f3e-8e74-36b9b98d5949" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:09 +0000 (0:00:00.022) 0:00:22.155 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:09 +0000 (0:00:00.021) 0:00:22.176 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:30:09 +0000 (0:00:00.138) 0:00:22.314 ******* 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, a137ba39-114e-4f3e-8e74-36b9b98d5949\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a137ba39-114e-4f3e-8e74-36b9b98d5949" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:30:09 +0000 (0:00:00.021) 0:00:22.336 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:09 +0000 (0:00:00.039) 0:00:22.375 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:09 +0000 (0:00:00.035) 0:00:22.411 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:09 +0000 (0:00:00.032) 0:00:22.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:09 +0000 (0:00:00.020) 0:00:22.464 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:09 +0000 (0:00:00.021) 0:00:22.486 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:10 +0000 (0:00:00.801) 0:00:23.287 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:11 +0000 (0:00:00.703) 0:00:23.991 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:11 +0000 (0:00:00.056) 0:00:24.047 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:11 +0000 (0:00:00.028) 0:00:24.076 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:11 +0000 (0:00:00.022) 0:00:24.098 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:11 +0000 (0:00:00.051) 0:00:24.149 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:11 +0000 (0:00:00.021) 0:00:24.171 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:11 +0000 (0:00:00.021) 0:00:24.192 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:11 +0000 (0:00:00.032) 0:00:24.224 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:11 +0000 (0:00:00.243) 0:00:24.468 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:11 +0000 (0:00:00.034) 0:00:24.502 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:11 +0000 (0:00:00.018) 0:00:24.521 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:11 +0000 (0:00:00.019) 0:00:24.540 ******* 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, a137ba39-114e-4f3e-8e74-36b9b98d5949 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:12 +0000 (0:00:00.281) 0:00:24.821 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:12 +0000 (0:00:00.022) 0:00:24.844 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a137ba39-114e-4f3e-8e74-36b9b98d5949 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:12 +0000 (0:00:00.020) 0:00:24.865 ******* 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, a137ba39-114e-4f3e-8e74-36b9b98d5949 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a137ba39-114e-4f3e-8e74-36b9b98d5949 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:12 +0000 (0:00:00.021) 0:00:24.886 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:12 +0000 (0:00:00.022) 0:00:24.909 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:30:12 +0000 (0:00:00.137) 0:00:25.046 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 00:30:12 +0000 (0:00:00.064) 0:00:25.111 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:12 +0000 (0:00:00.038) 0:00:25.149 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:12 +0000 (0:00:00.035) 0:00:25.185 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:12 +0000 (0:00:00.031) 0:00:25.217 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:12 +0000 (0:00:00.021) 0:00:25.239 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:12 +0000 (0:00:00.020) 0:00:25.259 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:13 +0000 (0:00:00.793) 0:00:26.053 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:14 +0000 (0:00:00.663) 0:00:26.717 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:14 +0000 (0:00:00.022) 0:00:26.740 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:14 +0000 (0:00:00.029) 0:00:26.769 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:14 +0000 (0:00:00.022) 0:00:26.792 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:14 +0000 (0:00:00.050) 0:00:26.842 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:14 +0000 (0:00:00.021) 0:00:26.864 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:14 +0000 (0:00:00.021) 0:00:26.886 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:14 +0000 (0:00:00.066) 0:00:26.953 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:14 +0000 (0:00:00.242) 0:00:27.195 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:14 +0000 (0:00:00.034) 0:00:27.230 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:14 +0000 (0:00:00.018) 0:00:27.248 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:14 +0000 (0:00:00.017) 0:00:27.265 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:14 +0000 (0:00:00.314) 0:00:27.580 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:14 +0000 (0:00:00.022) 0:00:27.603 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:14 +0000 (0:00:00.022) 0:00:27.625 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:14 +0000 (0:00:00.023) 0:00:27.649 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:14 +0000 (0:00:00.022) 0:00:27.671 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:30:15 +0000 (0:00:00.139) 0:00:27.811 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:30:15 +0000 (0:00:00.038) 0:00:27.849 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:30:15 +0000 (0:00:00.030) 0:00:27.880 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708302609.2874799, "block_size": 4096, "blocks": 0, "ctime": 1708302609.28648, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17549, "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": 1708302609.28648, "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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:30:15 +0000 (0:00:00.141) 0:00:28.022 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:30:15 +0000 (0:00:00.026) 0:00:28.049 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:30:15 +0000 (0:00:00.065) 0:00:28.114 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:30:15 +0000 (0:00:00.019) 0:00:28.134 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:30:15 +0000 (0:00:00.128) 0:00:28.263 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:30:15 +0000 (0:00:00.018) 0:00:28.281 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021862", "end": "2024-02-19 00:30:15.722835", "rc": 1, "start": "2024-02-19 00:30:15.700973" } 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:30:15 +0000 (0:00:00.149) 0:00:28.430 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:30:15 +0000 (0:00:00.019) 0:00:28.449 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:30:15 +0000 (0:00:00.017) 0:00:28.467 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:30:15 +0000 (0:00:00.018) 0:00:28.486 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:30:15 +0000 (0:00:00.017) 0:00:28.504 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:30:15 +0000 (0:00:00.018) 0:00:28.522 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:30:15 +0000 (0:00:00.020) 0:00:28.543 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:30:15 +0000 (0:00:00.026) 0:00:28.569 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:30:15 +0000 (0:00:00.020) 0:00:28.590 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:30:15 +0000 (0:00:00.033) 0:00:28.624 ******* 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.077553", "end": "2024-02-19 00:30:16.121653", "rc": 1, "start": "2024-02-19 00:30:16.044100" } STDOUT: Connection 'statebr' (a137ba39-114e-4f3e-8e74-36b9b98d5949) successfully deleted. STDERR: (process:9640): GLib-GIO-WARNING **: 00:30:16.096: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/23 but no object proxy exists (process:9640): GLib-GIO-WARNING **: 00:30:16.097: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/46 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_hotfixdtegsnb3/tests/playbooks/tests_states.yml:102 Monday 19 February 2024 00:30:16 +0000 (0:00:00.206) 0:00:28.830 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:30:16 +0000 (0:00:00.030) 0:00:28.861 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:30:16 +0000 (0:00:00.020) 0:00:28.881 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:30:16 +0000 (0:00:00.068) 0:00:28.950 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:30:16 +0000 (0:00:00.028) 0:00:28.978 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:30:16 +0000 (0:00:00.028) 0:00:29.007 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005000", "end": "2024-02-19 00:30:17.433317", "rc": 0, "start": "2024-02-19 00:30:16.428317" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:30:17 +0000 (0:00:01.136) 0:00:30.143 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:30:17 +0000 (0:00:00.021) 0:00:30.164 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:30:17 +0000 (0:00:00.021) 0:00:30.186 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:30:17 +0000 (0:00:00.037) 0:00:30.223 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:17 +0000 (0:00:00.039) 0:00:30.262 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:17 +0000 (0:00:00.037) 0:00:30.300 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:17 +0000 (0:00:00.032) 0:00:30.332 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:17 +0000 (0:00:00.023) 0:00:30.356 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:17 +0000 (0:00:00.022) 0:00:30.378 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:18 +0000 (0:00:00.796) 0:00:31.175 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:19 +0000 (0:00:00.732) 0:00:31.907 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:19 +0000 (0:00:00.024) 0:00:31.931 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:19 +0000 (0:00:00.023) 0:00:31.955 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:19 +0000 (0:00:00.024) 0:00:31.979 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:19 +0000 (0:00:00.050) 0:00:32.029 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:19 +0000 (0:00:00.021) 0:00:32.051 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:19 +0000 (0:00:00.021) 0:00:32.073 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:19 +0000 (0:00:00.034) 0:00:32.107 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:19 +0000 (0:00:00.242) 0:00:32.350 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:19 +0000 (0:00:00.037) 0:00:32.388 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:19 +0000 (0:00:00.018) 0:00:32.406 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:19 +0000 (0:00:00.018) 0:00:32.425 ******* 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, f4ab278d-7da0-4c49-98c6-7b9e2df74d88 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:20 +0000 (0:00:00.336) 0:00:32.762 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:20 +0000 (0:00:00.022) 0:00:32.784 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f4ab278d-7da0-4c49-98c6-7b9e2df74d88" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:20 +0000 (0:00:00.022) 0:00:32.807 ******* 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, f4ab278d-7da0-4c49-98c6-7b9e2df74d88\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f4ab278d-7da0-4c49-98c6-7b9e2df74d88" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:20 +0000 (0:00:00.021) 0:00:32.829 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:20 +0000 (0:00:00.022) 0:00:32.851 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:30:20 +0000 (0:00:00.172) 0:00:33.024 ******* 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, f4ab278d-7da0-4c49-98c6-7b9e2df74d88\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f4ab278d-7da0-4c49-98c6-7b9e2df74d88" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:30:20 +0000 (0:00:00.021) 0:00:33.046 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:20 +0000 (0:00:00.038) 0:00:33.084 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:20 +0000 (0:00:00.034) 0:00:33.119 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:20 +0000 (0:00:00.031) 0:00:33.151 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:20 +0000 (0:00:00.021) 0:00:33.172 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:20 +0000 (0:00:00.021) 0:00:33.194 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:21 +0000 (0:00:00.805) 0:00:34.000 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:21 +0000 (0:00:00.664) 0:00:34.664 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:21 +0000 (0:00:00.020) 0:00:34.685 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:22 +0000 (0:00:00.022) 0:00:34.708 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:22 +0000 (0:00:00.022) 0:00:34.730 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:22 +0000 (0:00:00.051) 0:00:34.782 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:22 +0000 (0:00:00.021) 0:00:34.803 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:22 +0000 (0:00:00.052) 0:00:34.855 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:22 +0000 (0:00:00.033) 0:00:34.889 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:22 +0000 (0:00:00.244) 0:00:35.134 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:22 +0000 (0:00:00.034) 0:00:35.168 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:22 +0000 (0:00:00.026) 0:00:35.195 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:22 +0000 (0:00:00.020) 0:00:35.215 ******* 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, f4ab278d-7da0-4c49-98c6-7b9e2df74d88 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:22 +0000 (0:00:00.283) 0:00:35.498 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:22 +0000 (0:00:00.025) 0:00:35.523 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f4ab278d-7da0-4c49-98c6-7b9e2df74d88 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:22 +0000 (0:00:00.022) 0:00:35.546 ******* 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, f4ab278d-7da0-4c49-98c6-7b9e2df74d88 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f4ab278d-7da0-4c49-98c6-7b9e2df74d88 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:22 +0000 (0:00:00.023) 0:00:35.569 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:22 +0000 (0:00:00.022) 0:00:35.592 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 00:30:23 +0000 (0:00:00.136) 0:00:35.728 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:23 +0000 (0:00:00.037) 0:00:35.766 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:23 +0000 (0:00:00.036) 0:00:35.802 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:23 +0000 (0:00:00.031) 0:00:35.834 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:23 +0000 (0:00:00.020) 0:00:35.854 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:23 +0000 (0:00:00.051) 0:00:35.906 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:24 +0000 (0:00:00.790) 0:00:36.697 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:24 +0000 (0:00:00.663) 0:00:37.361 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:24 +0000 (0:00:00.021) 0:00:37.382 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:24 +0000 (0:00:00.023) 0:00:37.405 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:24 +0000 (0:00:00.025) 0:00:37.430 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:24 +0000 (0:00:00.060) 0:00:37.491 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:24 +0000 (0:00:00.023) 0:00:37.515 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:24 +0000 (0:00:00.022) 0:00:37.537 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:24 +0000 (0:00:00.033) 0:00:37.571 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:25 +0000 (0:00:00.243) 0:00:37.814 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:25 +0000 (0:00:00.034) 0:00:37.849 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:25 +0000 (0:00:00.018) 0:00:37.867 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:25 +0000 (0:00:00.019) 0:00:37.887 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:25 +0000 (0:00:00.315) 0:00:38.203 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:25 +0000 (0:00:00.022) 0:00:38.225 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:25 +0000 (0:00:00.021) 0:00:38.247 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:25 +0000 (0:00:00.058) 0:00:38.305 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:25 +0000 (0:00:00.023) 0:00:38.329 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:30:25 +0000 (0:00:00.137) 0:00:38.466 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:30:25 +0000 (0:00:00.034) 0:00:38.500 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:25 +0000 (0:00:00.040) 0:00:38.541 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:25 +0000 (0:00:00.037) 0:00:38.579 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:25 +0000 (0:00:00.031) 0:00:38.611 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:25 +0000 (0:00:00.022) 0:00:38.633 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:25 +0000 (0:00:00.022) 0:00:38.655 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:26 +0000 (0:00:00.790) 0:00:39.446 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:27 +0000 (0:00:00.664) 0:00:40.110 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:27 +0000 (0:00:00.059) 0:00:40.170 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:27 +0000 (0:00:00.023) 0:00:40.193 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:27 +0000 (0:00:00.024) 0:00:40.217 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:27 +0000 (0:00:00.065) 0:00:40.283 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:27 +0000 (0:00:00.022) 0:00:40.305 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:27 +0000 (0:00:00.027) 0:00:40.333 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:27 +0000 (0:00:00.033) 0:00:40.367 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:27 +0000 (0:00:00.243) 0:00:40.610 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:27 +0000 (0:00:00.036) 0:00:40.647 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:27 +0000 (0:00:00.018) 0:00:40.666 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:27 +0000 (0:00:00.018) 0:00:40.684 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:28 +0000 (0:00:00.366) 0:00:41.050 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:28 +0000 (0:00:00.022) 0:00:41.073 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:28 +0000 (0:00:00.029) 0:00:41.103 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:28 +0000 (0:00:00.033) 0:00:41.136 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:28 +0000 (0:00:00.027) 0:00:41.164 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:30:28 +0000 (0:00:00.138) 0:00:41.303 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:30:28 +0000 (0:00:00.035) 0:00:41.338 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:30:28 +0000 (0:00:00.064) 0:00:41.402 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:30:28 +0000 (0:00:00.019) 0:00:41.422 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:30:28 +0000 (0:00:00.128) 0:00:41.550 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:30:28 +0000 (0:00:00.018) 0:00:41.569 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020679", "end": "2024-02-19 00:30:29.010170", "rc": 1, "start": "2024-02-19 00:30:28.989491" } 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:30:29 +0000 (0:00:00.150) 0:00:41.719 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:30:29 +0000 (0:00:00.019) 0:00:41.738 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:30:29 +0000 (0:00:00.019) 0:00:41.757 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:30:29 +0000 (0:00:00.019) 0:00:41.777 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:30:29 +0000 (0:00:00.018) 0:00:41.796 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:30:29 +0000 (0:00:00.019) 0:00:41.816 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:30:29 +0000 (0:00:00.024) 0:00:41.840 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:30:29 +0000 (0:00:00.047) 0:00:41.887 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:30:29 +0000 (0:00:00.031) 0:00:41.919 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:30:29 +0000 (0:00:00.128) 0:00:42.048 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:30:29 +0000 (0:00:00.022) 0:00:42.070 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:30:29 +0000 (0:00:00.019) 0:00:42.090 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:30:29 +0000 (0:00:00.065) 0:00:42.155 ******* 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.042629", "end": "2024-02-19 00:30:29.617415", "rc": 1, "start": "2024-02-19 00:30:29.574786" } 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_hotfixdtegsnb3/tests/playbooks/tests_states.yml:124 Monday 19 February 2024 00:30:29 +0000 (0:00:00.170) 0:00:42.326 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:30:29 +0000 (0:00:00.030) 0:00:42.357 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:30:29 +0000 (0:00:00.021) 0:00:42.378 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:30:29 +0000 (0:00:00.038) 0:00:42.416 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:30:29 +0000 (0:00:00.030) 0:00:42.447 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:30:29 +0000 (0:00:00.028) 0:00:42.475 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003494", "end": "2024-02-19 00:30:29.898362", "rc": 0, "start": "2024-02-19 00:30:29.894868" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:30:29 +0000 (0:00:00.131) 0:00:42.607 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:30:29 +0000 (0:00:00.020) 0:00:42.627 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:30:29 +0000 (0:00:00.019) 0:00:42.647 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:30:29 +0000 (0:00:00.035) 0:00:42.682 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:30 +0000 (0:00:00.039) 0:00:42.721 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:30 +0000 (0:00:00.068) 0:00:42.790 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:30 +0000 (0:00:00.033) 0:00:42.823 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:30 +0000 (0:00:00.021) 0:00:42.845 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:30 +0000 (0:00:00.023) 0:00:42.868 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:30 +0000 (0:00:00.796) 0:00:43.665 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:31 +0000 (0:00:00.664) 0:00:44.329 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:31 +0000 (0:00:00.022) 0:00:44.352 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:31 +0000 (0:00:00.023) 0:00:44.376 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:31 +0000 (0:00:00.022) 0:00:44.398 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:31 +0000 (0:00:00.052) 0:00:44.450 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:31 +0000 (0:00:00.021) 0:00:44.471 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:31 +0000 (0:00:00.022) 0:00:44.494 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:31 +0000 (0:00:00.034) 0:00:44.528 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:32 +0000 (0:00:00.245) 0:00:44.773 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:32 +0000 (0:00:00.036) 0:00:44.809 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:32 +0000 (0:00:00.018) 0:00:44.827 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:32 +0000 (0:00:00.054) 0:00:44.881 ******* 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, 90027feb-b33f-43eb-9260-2c3d592ad1e0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:32 +0000 (0:00:00.339) 0:00:45.220 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:32 +0000 (0:00:00.022) 0:00:45.243 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90027feb-b33f-43eb-9260-2c3d592ad1e0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:32 +0000 (0:00:00.021) 0:00:45.265 ******* 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, 90027feb-b33f-43eb-9260-2c3d592ad1e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90027feb-b33f-43eb-9260-2c3d592ad1e0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:32 +0000 (0:00:00.023) 0:00:45.288 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:32 +0000 (0:00:00.021) 0:00:45.310 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:30:32 +0000 (0:00:00.139) 0:00:45.450 ******* 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, 90027feb-b33f-43eb-9260-2c3d592ad1e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90027feb-b33f-43eb-9260-2c3d592ad1e0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:30:32 +0000 (0:00:00.021) 0:00:45.471 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:32 +0000 (0:00:00.039) 0:00:45.510 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:32 +0000 (0:00:00.036) 0:00:45.547 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:32 +0000 (0:00:00.032) 0:00:45.579 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:32 +0000 (0:00:00.022) 0:00:45.602 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:32 +0000 (0:00:00.021) 0:00:45.623 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:33 +0000 (0:00:00.803) 0:00:46.427 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:34 +0000 (0:00:00.740) 0:00:47.168 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:34 +0000 (0:00:00.022) 0:00:47.190 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:34 +0000 (0:00:00.021) 0:00:47.212 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:34 +0000 (0:00:00.022) 0:00:47.234 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:34 +0000 (0:00:00.051) 0:00:47.286 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:34 +0000 (0:00:00.022) 0:00:47.309 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:34 +0000 (0:00:00.022) 0:00:47.331 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:34 +0000 (0:00:00.034) 0:00:47.365 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:34 +0000 (0:00:00.243) 0:00:47.608 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:34 +0000 (0:00:00.038) 0:00:47.647 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:34 +0000 (0:00:00.020) 0:00:47.668 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:34 +0000 (0:00:00.019) 0:00:47.687 ******* 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, 90027feb-b33f-43eb-9260-2c3d592ad1e0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:35 +0000 (0:00:00.293) 0:00:47.981 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:35 +0000 (0:00:00.022) 0:00:48.003 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90027feb-b33f-43eb-9260-2c3d592ad1e0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:35 +0000 (0:00:00.023) 0:00:48.026 ******* 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, 90027feb-b33f-43eb-9260-2c3d592ad1e0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90027feb-b33f-43eb-9260-2c3d592ad1e0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:35 +0000 (0:00:00.026) 0:00:48.053 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:35 +0000 (0:00:00.023) 0:00:48.077 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:30:35 +0000 (0:00:00.137) 0:00:48.214 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:35 +0000 (0:00:00.071) 0:00:48.286 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:35 +0000 (0:00:00.036) 0:00:48.322 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:35 +0000 (0:00:00.032) 0:00:48.355 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:35 +0000 (0:00:00.023) 0:00:48.379 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:35 +0000 (0:00:00.021) 0:00:48.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:36 +0000 (0:00:00.792) 0:00:49.193 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:37 +0000 (0:00:00.663) 0:00:49.857 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:37 +0000 (0:00:00.022) 0:00:49.879 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:37 +0000 (0:00:00.023) 0:00:49.902 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:37 +0000 (0:00:00.026) 0:00:49.929 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:37 +0000 (0:00:00.053) 0:00:49.982 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:37 +0000 (0:00:00.022) 0:00:50.005 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:37 +0000 (0:00:00.021) 0:00:50.027 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:37 +0000 (0:00:00.032) 0:00:50.059 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:37 +0000 (0:00:00.284) 0:00:50.343 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:37 +0000 (0:00:00.034) 0:00:50.378 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:37 +0000 (0:00:00.018) 0:00:50.397 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:37 +0000 (0:00:00.017) 0:00:50.414 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:38 +0000 (0:00:00.380) 0:00:50.795 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:38 +0000 (0:00:00.023) 0:00:50.819 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:38 +0000 (0:00:00.022) 0:00:50.841 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:38 +0000 (0:00:00.021) 0:00:50.863 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:38 +0000 (0:00:00.021) 0:00:50.884 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:30:38 +0000 (0:00:00.137) 0:00:51.021 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:30:38 +0000 (0:00:00.037) 0:00:51.059 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 00:30:38 +0000 (0:00:00.038) 0:00:51.097 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:38 +0000 (0:00:00.036) 0:00:51.134 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 00:30:38 +0000 (0:00:00.032) 0:00:51.166 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 00:30:38 +0000 (0:00:00.021) 0:00:51.187 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 00:30:38 +0000 (0:00:00.054) 0:00:51.242 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 00:30:39 +0000 (0:00:00.791) 0:00:52.033 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 00:30:40 +0000 (0:00:00.658) 0:00:52.692 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:52.715 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:52.738 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:52.760 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 00:30:40 +0000 (0:00:00.053) 0:00:52.814 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:52.837 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 00:30:40 +0000 (0:00:00.023) 0:00:52.861 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 00:30:40 +0000 (0:00:00.033) 0:00:52.894 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 00:30:40 +0000 (0:00:00.241) 0:00:53.136 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 00:30:40 +0000 (0:00:00.035) 0:00:53.172 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 00:30:40 +0000 (0:00:00.018) 0:00:53.190 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 00:30:40 +0000 (0:00:00.021) 0:00:53.212 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 00:30:40 +0000 (0:00:00.295) 0:00:53.507 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 00:30:40 +0000 (0:00:00.022) 0:00:53.530 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 00:30:40 +0000 (0:00:00.021) 0:00:53.552 ******* 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_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 00:30:40 +0000 (0:00:00.062) 0:00:53.614 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 00:30:40 +0000 (0:00:00.023) 0:00:53.637 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:30:41 +0000 (0:00:00.138) 0:00:53.776 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:30:41 +0000 (0:00:00.037) 0:00:53.814 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:30:41 +0000 (0:00:00.031) 0:00:53.845 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:30:41 +0000 (0:00:00.020) 0:00:53.865 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:30:41 +0000 (0:00:00.127) 0:00:53.993 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:30:41 +0000 (0:00:00.018) 0:00:54.012 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020077", "end": "2024-02-19 00:30:41.452396", "rc": 1, "start": "2024-02-19 00:30:41.432319" } 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:30:41 +0000 (0:00:00.148) 0:00:54.160 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:30:41 +0000 (0:00:00.020) 0:00:54.181 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:30:41 +0000 (0:00:00.019) 0:00:54.200 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:30:41 +0000 (0:00:00.019) 0:00:54.220 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:30:41 +0000 (0:00:00.019) 0:00:54.239 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:30:41 +0000 (0:00:00.019) 0:00:54.258 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 00:30:41 +0000 (0:00:00.022) 0:00:54.280 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.399828", "end": "2024-02-19 00:30:42.100369", "rc": 0, "start": "2024-02-19 00:30:41.700541" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 00:30:42 +0000 (0:00:00.529) 0:00:54.810 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 00:30:42 +0000 (0:00:00.055) 0:00:54.865 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:30:42 +0000 (0:00:00.020) 0:00:54.885 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:30:42 +0000 (0:00:00.044) 0:00:54.930 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:30:42 +0000 (0:00:00.029) 0:00:54.959 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:30:42 +0000 (0:00:00.128) 0:00:55.088 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:30:42 +0000 (0:00:00.021) 0:00:55.109 ******* 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_hotfixdtegsnb3/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:30:42 +0000 (0:00:00.019) 0:00:55.129 ******* included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixdtegsnb3/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_hotfixdtegsnb3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:30:42 +0000 (0:00:00.039) 0:00:55.169 ******* 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.043846", "end": "2024-02-19 00:30:42.633626", "rc": 1, "start": "2024-02-19 00:30:42.589780" } 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_hotfixdtegsnb3/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 00:30:42 +0000 (0:00:00.173) 0:00:55.342 ******* 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.007837", "end": "2024-02-19 00:30:42.770226", "rc": 0, "start": "2024-02-19 00:30:42.762389" } 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 0a:bd:80:49:28:67 brd ff:ff:ff:ff:ff:ff inet 10.31.13.131/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2908sec preferred_lft 2908sec inet6 fe80::8bd:80ff:fe49:2867/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether b2:db:2b:dc:d1:26 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.131 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_hotfixdtegsnb3/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 00:30:42 +0000 (0:00:00.137) 0:00:55.480 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Monday 19 February 2024 00:30:42 +0000 (0:00:00.048) 0:00:55.529 ******* =============================================================================== Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.81s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.81s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.80s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.80s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.80s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.80s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.80s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.80s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.79s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.79s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.79s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.79s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.79s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.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.79s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.73s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-nm_plugin_hotfixdtegsnb3/tests/tests_states_nm.yml:6 ------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---