# 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_hotfix4makf5fa/.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_hotfix4makf5fa/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_hotfix4makf5fa/tests/tests_states_nm.yml:6 Monday 19 February 2024 23:51:44 +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_hotfix4makf5fa/tests/tests_states_nm.yml:9 Monday 19 February 2024 23:51:45 +0000 (0:00:00.741) 0:00:00.753 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:51:45 +0000 (0:00:00.011) 0:00:00.764 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/tasks/el_repo_setup.yml:17 Monday 19 February 2024 23:51:45 +0000 (0:00:00.223) 0:00:00.988 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/tasks/el_repo_setup.yml:22 Monday 19 February 2024 23:51:46 +0000 (0:00:00.189) 0:00:01.177 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/tasks/el_repo_setup.yml:26 Monday 19 February 2024 23:51:46 +0000 (0:00:00.014) 0:00:01.192 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/tasks/el_repo_setup.yml:51 Monday 19 February 2024 23:51:46 +0000 (0:00:00.008) 0:00:01.200 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:51:46 +0000 (0:00:00.020) 0:00:01.221 ******* 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_hotfix4makf5fa/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:51:46 +0000 (0:00:00.192) 0:00:01.413 ******* 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_hotfix4makf5fa/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:51:46 +0000 (0:00:00.417) 0:00:01.831 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178459", "end": "2024-02-19 23:51:47.013143", "rc": 0, "start": "2024-02-19 23:51:46.834684" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:51:47 +0000 (0:00:00.304) 0:00:02.135 ******* 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_hotfix4makf5fa/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:51:47 +0000 (0:00:00.010) 0:00:02.145 ******* 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_hotfix4makf5fa/tests/tests_states_nm.yml:11 Monday 19 February 2024 23:51:47 +0000 (0:00:00.010) 0:00:02.156 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 23:51:47 +0000 (0:00:00.016) 0:00:02.173 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 23:51:47 +0000 (0:00:00.526) 0:00:02.699 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 23:51:47 +0000 (0:00:00.011) 0:00:02.711 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:51:47 +0000 (0:00:00.014) 0:00:02.725 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:51:47 +0000 (0:00:00.017) 0:00:02.743 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:51:47 +0000 (0:00:00.037) 0:00:02.781 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:51:47 +0000 (0:00:00.012) 0:00:02.793 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:51:47 +0000 (0:00:00.023) 0:00:02.817 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003777", "end": "2024-02-19 23:51:47.824886", "rc": 0, "start": "2024-02-19 23:51:47.821109" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:51:47 +0000 (0:00:00.129) 0:00:02.946 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:51:47 +0000 (0:00:00.012) 0:00:02.959 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:51:47 +0000 (0:00:00.009) 0:00:02.968 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:51:47 +0000 (0:00:00.016) 0:00:02.985 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011466", "end": "2024-02-19 23:51:47.999421", "rc": 1, "start": "2024-02-19 23:51:47.987955" } 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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:51:48 +0000 (0:00:00.132) 0:00:03.118 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:51:48 +0000 (0:00:00.011) 0:00:03.130 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:51:48 +0000 (0:00:00.121) 0:00:03.251 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:51:48 +0000 (0:00:00.010) 0:00:03.262 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:51:48 +0000 (0:00:00.015) 0:00:03.277 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:51:48 +0000 (0:00:00.022) 0:00:03.300 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:51:48 +0000 (0:00:00.018) 0:00:03.318 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:51:48 +0000 (0:00:00.019) 0:00:03.338 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:51:48 +0000 (0:00:00.012) 0:00:03.350 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:51:48 +0000 (0:00:00.011) 0:00:03.362 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:51:49 +0000 (0:00:00.846) 0:00:04.208 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:51:50 +0000 (0:00:01.115) 0:00:05.324 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:51:50 +0000 (0:00:00.023) 0:00:05.348 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:51:50 +0000 (0:00:00.028) 0:00:05.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:51:50 +0000 (0:00:00.020) 0:00:05.397 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:51:50 +0000 (0:00:00.076) 0:00:05.474 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:51:50 +0000 (0:00:00.031) 0:00:05.506 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:51:50 +0000 (0:00:00.028) 0:00:05.535 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:51:50 +0000 (0:00:00.042) 0:00:05.577 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:51:50 +0000 (0:00:00.497) 0:00:06.074 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:51:51 +0000 (0:00:00.090) 0:00:06.165 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:51:51 +0000 (0:00:00.032) 0:00:06.197 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:51:51 +0000 (0:00:00.030) 0:00:06.227 ******* 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, 04f97eef-22b2-44e4-96c4-0088bb55d4f8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:51:51 +0000 (0:00:00.526) 0:00:06.753 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:51:51 +0000 (0:00:00.022) 0:00:06.776 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f97eef-22b2-44e4-96c4-0088bb55d4f8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:51:51 +0000 (0:00:00.021) 0:00:06.797 ******* 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, 04f97eef-22b2-44e4-96c4-0088bb55d4f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f97eef-22b2-44e4-96c4-0088bb55d4f8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:51:51 +0000 (0:00:00.021) 0:00:06.819 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:51:51 +0000 (0:00:00.035) 0:00:06.855 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:51:51 +0000 (0:00:00.244) 0:00:07.099 ******* 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, 04f97eef-22b2-44e4-96c4-0088bb55d4f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f97eef-22b2-44e4-96c4-0088bb55d4f8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:51:52 +0000 (0:00:00.020) 0:00:07.120 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:51:52 +0000 (0:00:00.032) 0:00:07.153 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:51:52 +0000 (0:00:00.030) 0:00:07.183 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:51:52 +0000 (0:00:00.019) 0:00:07.203 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386711.555212, "block_size": 4096, "blocks": 8, "ctime": 1708386711.554212, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25389, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386711.554212, "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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:51:52 +0000 (0:00:00.146) 0:00:07.349 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:51:52 +0000 (0:00:00.025) 0:00:07.375 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025749", "end": "2024-02-19 23:51:52.404469", "rc": 0, "start": "2024-02-19 23:51:52.378720" } 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:51:52 +0000 (0:00:00.157) 0:00:07.532 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:51:52 +0000 (0:00:00.044) 0:00:07.576 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:51:52 +0000 (0:00:00.018) 0:00:07.595 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:51:52 +0000 (0:00:00.020) 0:00:07.615 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:51:52 +0000 (0:00:00.019) 0:00:07.635 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:51:52 +0000 (0:00:00.017) 0:00:07.652 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:51:52 +0000 (0:00:00.020) 0:00:07.673 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:51:52 +0000 (0:00:00.021) 0:00:07.694 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:51:52 +0000 (0:00:00.020) 0:00:07.715 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:51:52 +0000 (0:00:00.064) 0:00:07.779 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:51:52 +0000 (0:00:00.042) 0:00:07.821 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386711.5612116, "block_size": 4096, "blocks": 0, "ctime": 1708386711.5572119, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17654, "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": 1708386711.5572119, "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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:51:52 +0000 (0:00:00.149) 0:00:07.971 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:51:52 +0000 (0:00:00.020) 0:00:07.992 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:51:52 +0000 (0:00:00.022) 0:00:08.015 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:51:52 +0000 (0:00:00.040) 0:00:08.055 ******* 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.075578", "end": "2024-02-19 23:51:53.146427", "rc": 1, "start": "2024-02-19 23:51:53.070849" } STDOUT: Connection 'statebr' (04f97eef-22b2-44e4-96c4-0088bb55d4f8) successfully deleted. STDERR: (process:26172): GLib-GIO-WARNING **: 23:51:53.124: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:26172): GLib-GIO-WARNING **: 23:51:53.124: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/29 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_hotfix4makf5fa/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 23:51:53 +0000 (0:00:00.218) 0:00:08.274 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:51:53 +0000 (0:00:00.056) 0:00:08.331 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:51:53 +0000 (0:00:00.019) 0:00:08.351 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:51:53 +0000 (0:00:00.036) 0:00:08.387 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:51:53 +0000 (0:00:00.036) 0:00:08.424 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:51:53 +0000 (0:00:00.029) 0:00:08.453 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-02-19 23:51:53.461967", "rc": 0, "start": "2024-02-19 23:51:53.457973" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:51:53 +0000 (0:00:00.136) 0:00:08.589 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:51:53 +0000 (0:00:00.020) 0:00:08.609 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:51:53 +0000 (0:00:00.024) 0:00:08.634 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:51:53 +0000 (0:00:00.035) 0:00:08.669 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007620", "end": "2024-02-19 23:51:53.680915", "rc": 1, "start": "2024-02-19 23:51:53.673295" } 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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:51:53 +0000 (0:00:00.139) 0:00:08.809 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:51:53 +0000 (0:00:00.037) 0:00:08.846 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:51:53 +0000 (0:00:00.154) 0:00:09.001 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:51:53 +0000 (0:00:00.019) 0:00:09.020 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 23:51:53 +0000 (0:00:00.032) 0:00:09.053 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:51:54 +0000 (0:00:00.075) 0:00:09.128 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:51:54 +0000 (0:00:00.049) 0:00:09.178 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:51:54 +0000 (0:00:00.032) 0:00:09.210 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:51:54 +0000 (0:00:00.020) 0:00:09.231 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:51:54 +0000 (0:00:00.022) 0:00:09.254 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:51:54 +0000 (0:00:00.763) 0:00:10.017 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:51:55 +0000 (0:00:00.998) 0:00:11.015 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:51:55 +0000 (0:00:00.031) 0:00:11.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:51:55 +0000 (0:00:00.023) 0:00:11.071 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:51:55 +0000 (0:00:00.025) 0:00:11.096 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:51:56 +0000 (0:00:00.057) 0:00:11.153 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:51:56 +0000 (0:00:00.025) 0:00:11.179 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:51:56 +0000 (0:00:00.027) 0:00:11.207 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:51:56 +0000 (0:00:00.063) 0:00:11.270 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:51:56 +0000 (0:00:00.313) 0:00:11.584 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:51:56 +0000 (0:00:00.045) 0:00:11.630 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:51:56 +0000 (0:00:00.019) 0:00:11.649 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:51:56 +0000 (0:00:00.018) 0:00:11.668 ******* 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, f88d487c-dd30-4a12-8157-2ff1eda4c57a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:51:56 +0000 (0:00:00.336) 0:00:12.005 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:51:56 +0000 (0:00:00.026) 0:00:12.031 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f88d487c-dd30-4a12-8157-2ff1eda4c57a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:51:56 +0000 (0:00:00.025) 0:00:12.056 ******* 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, f88d487c-dd30-4a12-8157-2ff1eda4c57a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f88d487c-dd30-4a12-8157-2ff1eda4c57a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:51:56 +0000 (0:00:00.022) 0:00:12.079 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:51:56 +0000 (0:00:00.021) 0:00:12.101 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 23:51:57 +0000 (0:00:00.165) 0:00:12.266 ******* 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, f88d487c-dd30-4a12-8157-2ff1eda4c57a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f88d487c-dd30-4a12-8157-2ff1eda4c57a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:51:57 +0000 (0:00:00.025) 0:00:12.292 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:51:57 +0000 (0:00:00.042) 0:00:12.335 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:51:57 +0000 (0:00:00.052) 0:00:12.387 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:51:57 +0000 (0:00:00.150) 0:00:12.538 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:51:57 +0000 (0:00:00.022) 0:00:12.561 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:51:57 +0000 (0:00:00.111) 0:00:12.672 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:51:57 +0000 (0:00:00.038) 0:00:12.711 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386716.8399994, "block_size": 4096, "blocks": 8, "ctime": 1708386716.8399994, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25389, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386716.8399994, "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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:51:57 +0000 (0:00:00.138) 0:00:12.849 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:51:57 +0000 (0:00:00.026) 0:00:12.876 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022077", "end": "2024-02-19 23:51:57.902487", "rc": 0, "start": "2024-02-19 23:51:57.880410" } 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:51:57 +0000 (0:00:00.156) 0:00:13.033 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:51:57 +0000 (0:00:00.050) 0:00:13.083 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:51:58 +0000 (0:00:00.028) 0:00:13.111 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:51:58 +0000 (0:00:00.023) 0:00:13.135 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:51:58 +0000 (0:00:00.024) 0:00:13.159 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:51:58 +0000 (0:00:00.019) 0:00:13.179 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:51:58 +0000 (0:00:00.022) 0:00:13.201 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:51:58 +0000 (0:00:00.022) 0:00:13.224 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:51:58 +0000 (0:00:00.025) 0:00:13.249 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:51:58 +0000 (0:00:00.031) 0:00:13.281 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:51:58 +0000 (0:00:00.020) 0:00:13.302 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:51:58 +0000 (0:00:00.036) 0:00:13.338 ******* 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.047010", "end": "2024-02-19 23:51:58.401681", "rc": 1, "start": "2024-02-19 23:51:58.354671" } STDOUT: Connection 'statebr' (f88d487c-dd30-4a12-8157-2ff1eda4c57a) 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_hotfix4makf5fa/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 23:51:58 +0000 (0:00:00.199) 0:00:13.538 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:51:58 +0000 (0:00:00.056) 0:00:13.595 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:51:58 +0000 (0:00:00.021) 0:00:13.617 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:51:58 +0000 (0:00:00.046) 0:00:13.663 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:51:58 +0000 (0:00:00.031) 0:00:13.695 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:51:58 +0000 (0:00:00.053) 0:00:13.749 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003779", "end": "2024-02-19 23:51:58.773585", "rc": 0, "start": "2024-02-19 23:51:58.769806" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:51:58 +0000 (0:00:00.159) 0:00:13.909 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:51:58 +0000 (0:00:00.029) 0:00:13.938 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:51:58 +0000 (0:00:00.023) 0:00:13.961 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:51:58 +0000 (0:00:00.049) 0:00:14.011 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:51:58 +0000 (0:00:00.070) 0:00:14.081 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:51:59 +0000 (0:00:00.048) 0:00:14.130 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:51:59 +0000 (0:00:00.064) 0:00:14.194 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:51:59 +0000 (0:00:00.083) 0:00:14.278 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:51:59 +0000 (0:00:00.040) 0:00:14.319 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:51:59 +0000 (0:00:00.751) 0:00:15.070 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:00 +0000 (0:00:00.982) 0:00:16.052 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:00 +0000 (0:00:00.022) 0:00:16.075 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:00 +0000 (0:00:00.021) 0:00:16.096 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:01 +0000 (0:00:00.024) 0:00:16.120 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:01 +0000 (0:00:00.052) 0:00:16.172 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:01 +0000 (0:00:00.028) 0:00:16.201 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:01 +0000 (0:00:00.021) 0:00:16.222 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:01 +0000 (0:00:00.034) 0:00:16.257 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:01 +0000 (0:00:00.268) 0:00:16.525 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:01 +0000 (0:00:00.039) 0:00:16.565 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:01 +0000 (0:00:00.021) 0:00:16.586 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:01 +0000 (0:00:00.030) 0:00:16.617 ******* 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, 07bd1536-a37c-4215-8ccc-6a36915ef713 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:01 +0000 (0:00:00.445) 0:00:17.063 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:01 +0000 (0:00:00.023) 0:00:17.086 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07bd1536-a37c-4215-8ccc-6a36915ef713" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:02 +0000 (0:00:00.065) 0:00:17.151 ******* 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, 07bd1536-a37c-4215-8ccc-6a36915ef713\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07bd1536-a37c-4215-8ccc-6a36915ef713" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:02 +0000 (0:00:00.043) 0:00:17.195 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:02 +0000 (0:00:00.023) 0:00:17.219 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:52:02 +0000 (0:00:00.166) 0:00:17.385 ******* 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, 07bd1536-a37c-4215-8ccc-6a36915ef713\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 07bd1536-a37c-4215-8ccc-6a36915ef713" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:52:02 +0000 (0:00:00.024) 0:00:17.409 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:52:02 +0000 (0:00:00.043) 0:00:17.453 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:02 +0000 (0:00:00.039) 0:00:17.493 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:02 +0000 (0:00:00.039) 0:00:17.532 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:02 +0000 (0:00:00.039) 0:00:17.572 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:02 +0000 (0:00:00.027) 0:00:17.600 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:02 +0000 (0:00:00.040) 0:00:17.640 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:03 +0000 (0:00:00.754) 0:00:18.395 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:04 +0000 (0:00:01.020) 0:00:19.415 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:04 +0000 (0:00:00.021) 0:00:19.436 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:04 +0000 (0:00:00.020) 0:00:19.456 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:04 +0000 (0:00:00.020) 0:00:19.477 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:04 +0000 (0:00:00.049) 0:00:19.527 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:04 +0000 (0:00:00.022) 0:00:19.549 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:04 +0000 (0:00:00.022) 0:00:19.571 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:04 +0000 (0:00:00.031) 0:00:19.602 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:04 +0000 (0:00:00.246) 0:00:19.849 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:04 +0000 (0:00:00.033) 0:00:19.882 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:04 +0000 (0:00:00.018) 0:00:19.900 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:04 +0000 (0:00:00.018) 0:00:19.919 ******* 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, 07bd1536-a37c-4215-8ccc-6a36915ef713 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:05 +0000 (0:00:00.301) 0:00:20.221 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:05 +0000 (0:00:00.029) 0:00:20.250 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 07bd1536-a37c-4215-8ccc-6a36915ef713 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:05 +0000 (0:00:00.030) 0:00:20.280 ******* 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, 07bd1536-a37c-4215-8ccc-6a36915ef713 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 07bd1536-a37c-4215-8ccc-6a36915ef713 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:05 +0000 (0:00:00.030) 0:00:20.311 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:05 +0000 (0:00:00.023) 0:00:20.334 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:52:05 +0000 (0:00:00.180) 0:00:20.514 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:52:05 +0000 (0:00:00.034) 0:00:20.549 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:52:05 +0000 (0:00:00.027) 0:00:20.577 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386721.8667974, "block_size": 4096, "blocks": 0, "ctime": 1708386721.8627977, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17654, "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": 1708386721.8627977, "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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:52:05 +0000 (0:00:00.136) 0:00:20.714 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:52:05 +0000 (0:00:00.020) 0:00:20.734 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:52:05 +0000 (0:00:00.034) 0:00:20.769 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:52:05 +0000 (0:00:00.021) 0:00:20.790 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386721.8617978, "block_size": 4096, "blocks": 8, "ctime": 1708386721.8607976, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25389, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708386721.8607976, "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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:52:05 +0000 (0:00:00.141) 0:00:20.932 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:52:05 +0000 (0:00:00.019) 0:00:20.951 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023051", "end": "2024-02-19 23:52:05.977709", "rc": 0, "start": "2024-02-19 23:52:05.954658" } 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:52:06 +0000 (0:00:00.155) 0:00:21.107 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:52:06 +0000 (0:00:00.020) 0:00:21.127 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:52:06 +0000 (0:00:00.018) 0:00:21.145 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:52:06 +0000 (0:00:00.018) 0:00:21.163 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:52:06 +0000 (0:00:00.018) 0:00:21.182 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:52:06 +0000 (0:00:00.019) 0:00:21.201 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:52:06 +0000 (0:00:00.021) 0:00:21.223 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:52:06 +0000 (0:00:00.056) 0:00:21.279 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:52:06 +0000 (0:00:00.026) 0:00:21.306 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:52:06 +0000 (0:00:00.025) 0:00:21.332 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:52:06 +0000 (0:00:00.022) 0:00:21.354 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:52:06 +0000 (0:00:00.042) 0:00:21.396 ******* 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.079903", "end": "2024-02-19 23:52:06.482598", "rc": 1, "start": "2024-02-19 23:52:06.402695" } STDOUT: Connection 'statebr' (07bd1536-a37c-4215-8ccc-6a36915ef713) successfully deleted. STDERR: (process:26895): GLib-GIO-WARNING **: 23:52:06.461: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:26895): GLib-GIO-WARNING **: 23:52:06.461: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/30 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_hotfix4makf5fa/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 23:52:06 +0000 (0:00:00.224) 0:00:21.620 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:52:06 +0000 (0:00:00.040) 0:00:21.661 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:52:06 +0000 (0:00:00.021) 0:00:21.682 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:52:06 +0000 (0:00:00.048) 0:00:21.731 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:52:06 +0000 (0:00:00.031) 0:00:21.763 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:52:06 +0000 (0:00:00.034) 0:00:21.797 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004045", "end": "2024-02-19 23:52:06.806627", "rc": 0, "start": "2024-02-19 23:52:06.802582" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:52:06 +0000 (0:00:00.139) 0:00:21.936 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:52:06 +0000 (0:00:00.027) 0:00:21.963 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:52:06 +0000 (0:00:00.023) 0:00:21.987 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:52:06 +0000 (0:00:00.077) 0:00:22.064 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:07 +0000 (0:00:00.040) 0:00:22.105 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:07 +0000 (0:00:00.042) 0:00:22.147 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:07 +0000 (0:00:00.053) 0:00:22.201 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:07 +0000 (0:00:00.029) 0:00:22.231 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:07 +0000 (0:00:00.024) 0:00:22.255 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:07 +0000 (0:00:00.750) 0:00:23.006 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:08 +0000 (0:00:00.964) 0:00:23.970 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:08 +0000 (0:00:00.022) 0:00:23.992 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:08 +0000 (0:00:00.021) 0:00:24.013 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:08 +0000 (0:00:00.022) 0:00:24.035 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:08 +0000 (0:00:00.052) 0:00:24.088 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:09 +0000 (0:00:00.025) 0:00:24.113 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:09 +0000 (0:00:00.028) 0:00:24.142 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:09 +0000 (0:00:00.065) 0:00:24.207 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:09 +0000 (0:00:00.246) 0:00:24.453 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:09 +0000 (0:00:00.033) 0:00:24.487 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:09 +0000 (0:00:00.018) 0:00:24.506 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:09 +0000 (0:00:00.019) 0:00:24.525 ******* 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, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:09 +0000 (0:00:00.340) 0:00:24.865 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:09 +0000 (0:00:00.029) 0:00:24.894 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:09 +0000 (0:00:00.032) 0:00:24.926 ******* 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, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:09 +0000 (0:00:00.029) 0:00:24.956 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:09 +0000 (0:00:00.024) 0:00:24.981 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:52:10 +0000 (0:00:00.187) 0:00:25.168 ******* 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, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:52:10 +0000 (0:00:00.021) 0:00:25.189 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:10 +0000 (0:00:00.040) 0:00:25.230 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:10 +0000 (0:00:00.036) 0:00:25.266 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:10 +0000 (0:00:00.034) 0:00:25.301 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:10 +0000 (0:00:00.060) 0:00:25.361 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:10 +0000 (0:00:00.024) 0:00:25.386 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:11 +0000 (0:00:00.765) 0:00:26.151 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:12 +0000 (0:00:00.971) 0:00:27.122 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:12 +0000 (0:00:00.021) 0:00:27.143 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:12 +0000 (0:00:00.020) 0:00:27.164 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:12 +0000 (0:00:00.021) 0:00:27.186 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:12 +0000 (0:00:00.053) 0:00:27.239 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:12 +0000 (0:00:00.024) 0:00:27.264 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:12 +0000 (0:00:00.026) 0:00:27.290 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:12 +0000 (0:00:00.044) 0:00:27.334 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:12 +0000 (0:00:00.255) 0:00:27.590 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:12 +0000 (0:00:00.036) 0:00:27.627 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:12 +0000 (0:00:00.019) 0:00:27.646 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:12 +0000 (0:00:00.022) 0:00:27.669 ******* 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, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:12 +0000 (0:00:00.339) 0:00:28.008 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:12 +0000 (0:00:00.084) 0:00:28.093 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:13 +0000 (0:00:00.021) 0:00:28.114 ******* 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, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 119f0d7c-aad8-4d8f-aa87-01c14634c9f8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:13 +0000 (0:00:00.021) 0:00:28.136 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:13 +0000 (0:00:00.028) 0:00:28.165 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:52:13 +0000 (0:00:00.141) 0:00:28.306 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:52:13 +0000 (0:00:00.038) 0:00:28.345 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:13 +0000 (0:00:00.037) 0:00:28.383 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:13 +0000 (0:00:00.037) 0:00:28.421 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:13 +0000 (0:00:00.033) 0:00:28.454 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:13 +0000 (0:00:00.022) 0:00:28.476 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:13 +0000 (0:00:00.020) 0:00:28.497 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:14 +0000 (0:00:00.762) 0:00:29.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 : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:15 +0000 (0:00:01.043) 0:00:30.302 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:15 +0000 (0:00:00.024) 0:00:30.327 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:15 +0000 (0:00:00.029) 0:00:30.357 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:15 +0000 (0:00:00.024) 0:00:30.382 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:15 +0000 (0:00:00.062) 0:00:30.444 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:15 +0000 (0:00:00.023) 0:00:30.468 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:15 +0000 (0:00:00.025) 0:00:30.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:15 +0000 (0:00:00.035) 0:00:30.529 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:15 +0000 (0:00:00.250) 0:00:30.779 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:15 +0000 (0:00:00.033) 0:00:30.813 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:15 +0000 (0:00:00.019) 0:00:30.832 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:15 +0000 (0:00:00.018) 0:00:30.850 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:16 +0000 (0:00:00.339) 0:00:31.190 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:16 +0000 (0:00:00.041) 0:00:31.231 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:16 +0000 (0:00:00.022) 0:00:31.253 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:16 +0000 (0:00:00.027) 0:00:31.280 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:16 +0000 (0:00:00.023) 0:00:31.304 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:52:16 +0000 (0:00:00.145) 0:00:31.449 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:52:16 +0000 (0:00:00.078) 0:00:31.527 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:52:16 +0000 (0:00:00.032) 0:00:31.559 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386729.6804833, "block_size": 4096, "blocks": 0, "ctime": 1708386729.6794834, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1708386729.6794834, "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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:52:16 +0000 (0:00:00.146) 0:00:31.706 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:52:16 +0000 (0:00:00.022) 0:00:31.728 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:52:16 +0000 (0:00:00.030) 0:00:31.759 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:52:16 +0000 (0:00:00.019) 0:00:31.778 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:52:16 +0000 (0:00:00.138) 0:00:31.917 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:52:16 +0000 (0:00:00.020) 0:00:31.938 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023047", "end": "2024-02-19 23:52:16.965997", "rc": 1, "start": "2024-02-19 23:52:16.942950" } 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:52:16 +0000 (0:00:00.156) 0:00:32.094 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:52:17 +0000 (0:00:00.017) 0:00:32.111 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:52:17 +0000 (0:00:00.018) 0:00:32.130 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:52:17 +0000 (0:00:00.017) 0:00:32.147 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:52:17 +0000 (0:00:00.017) 0:00:32.165 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:52:17 +0000 (0:00:00.016) 0:00:32.182 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:52:17 +0000 (0:00:00.019) 0:00:32.201 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:52:17 +0000 (0:00:00.051) 0:00:32.252 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:52:17 +0000 (0:00:00.019) 0:00:32.272 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:52:17 +0000 (0:00:00.033) 0:00:32.306 ******* 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.079264", "end": "2024-02-19 23:52:17.388229", "rc": 1, "start": "2024-02-19 23:52:17.308965" } STDOUT: Connection 'statebr' (119f0d7c-aad8-4d8f-aa87-01c14634c9f8) successfully deleted. STDERR: (process:27524): GLib-GIO-WARNING **: 23:52:17.364: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 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_hotfix4makf5fa/tests/playbooks/tests_states.yml:102 Monday 19 February 2024 23:52:17 +0000 (0:00:00.210) 0:00:32.516 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:52:17 +0000 (0:00:00.031) 0:00:32.548 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:52:17 +0000 (0:00:00.022) 0:00:32.571 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:52:17 +0000 (0:00:00.038) 0:00:32.610 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:52:17 +0000 (0:00:00.030) 0:00:32.640 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:52:17 +0000 (0:00:00.027) 0:00:32.668 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004166", "end": "2024-02-19 23:52:17.676205", "rc": 0, "start": "2024-02-19 23:52:17.672039" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:52:17 +0000 (0:00:00.137) 0:00:32.805 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:52:17 +0000 (0:00:00.023) 0:00:32.829 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:52:17 +0000 (0:00:00.021) 0:00:32.851 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:52:17 +0000 (0:00:00.039) 0:00:32.890 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:17 +0000 (0:00:00.076) 0:00:32.966 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:17 +0000 (0:00:00.037) 0:00:33.004 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:17 +0000 (0:00:00.032) 0:00:33.036 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:17 +0000 (0:00:00.022) 0:00:33.059 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:17 +0000 (0:00:00.022) 0:00:33.081 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:18 +0000 (0:00:00.761) 0:00:33.843 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:19 +0000 (0:00:00.991) 0:00:34.835 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:19 +0000 (0:00:00.021) 0:00:34.856 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:19 +0000 (0:00:00.021) 0:00:34.878 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:19 +0000 (0:00:00.023) 0:00:34.902 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:19 +0000 (0:00:00.063) 0:00:34.965 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:19 +0000 (0:00:00.022) 0:00:34.988 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:19 +0000 (0:00:00.021) 0:00:35.010 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:19 +0000 (0:00:00.037) 0:00:35.047 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:20 +0000 (0:00:00.256) 0:00:35.304 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:20 +0000 (0:00:00.105) 0:00:35.409 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:20 +0000 (0:00:00.019) 0:00:35.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:20 +0000 (0:00:00.017) 0:00:35.446 ******* 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, 33f12ddb-96c2-4a14-9617-266612b5bbd6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:20 +0000 (0:00:00.341) 0:00:35.788 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:20 +0000 (0:00:00.022) 0:00:35.811 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33f12ddb-96c2-4a14-9617-266612b5bbd6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:20 +0000 (0:00:00.021) 0:00:35.832 ******* 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, 33f12ddb-96c2-4a14-9617-266612b5bbd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33f12ddb-96c2-4a14-9617-266612b5bbd6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:20 +0000 (0:00:00.021) 0:00:35.853 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:20 +0000 (0:00:00.022) 0:00:35.876 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:52:20 +0000 (0:00:00.141) 0:00:36.017 ******* 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, 33f12ddb-96c2-4a14-9617-266612b5bbd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33f12ddb-96c2-4a14-9617-266612b5bbd6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:52:20 +0000 (0:00:00.022) 0:00:36.039 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:20 +0000 (0:00:00.037) 0:00:36.077 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:21 +0000 (0:00:00.035) 0:00:36.113 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:21 +0000 (0:00:00.031) 0:00:36.145 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:21 +0000 (0:00:00.021) 0:00:36.167 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:21 +0000 (0:00:00.020) 0:00:36.188 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:21 +0000 (0:00:00.841) 0:00:37.030 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:22 +0000 (0:00:00.971) 0:00:38.002 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:22 +0000 (0:00:00.029) 0:00:38.031 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:22 +0000 (0:00:00.025) 0:00:38.056 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:22 +0000 (0:00:00.022) 0:00:38.079 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:23 +0000 (0:00:00.052) 0:00:38.132 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:23 +0000 (0:00:00.022) 0:00:38.154 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:23 +0000 (0:00:00.021) 0:00:38.176 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:23 +0000 (0:00:00.031) 0:00:38.208 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:23 +0000 (0:00:00.249) 0:00:38.457 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:23 +0000 (0:00:00.035) 0:00:38.492 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:23 +0000 (0:00:00.018) 0:00:38.511 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:23 +0000 (0:00:00.018) 0:00:38.529 ******* 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, 33f12ddb-96c2-4a14-9617-266612b5bbd6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:23 +0000 (0:00:00.290) 0:00:38.820 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:23 +0000 (0:00:00.022) 0:00:38.842 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 33f12ddb-96c2-4a14-9617-266612b5bbd6 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:23 +0000 (0:00:00.020) 0:00:38.863 ******* 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, 33f12ddb-96c2-4a14-9617-266612b5bbd6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 33f12ddb-96c2-4a14-9617-266612b5bbd6 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:23 +0000 (0:00:00.058) 0:00:38.921 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:23 +0000 (0:00:00.022) 0:00:38.944 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:52:23 +0000 (0:00:00.140) 0:00:39.084 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:24 +0000 (0:00:00.037) 0:00:39.122 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:24 +0000 (0:00:00.038) 0:00:39.161 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:24 +0000 (0:00:00.032) 0:00:39.193 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:24 +0000 (0:00:00.022) 0:00:39.216 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:24 +0000 (0:00:00.022) 0:00:39.238 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:24 +0000 (0:00:00.741) 0:00:39.979 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:25 +0000 (0:00:00.976) 0:00:40.956 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:25 +0000 (0:00:00.020) 0:00:40.977 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:25 +0000 (0:00:00.022) 0:00:40.999 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:25 +0000 (0:00:00.024) 0:00:41.023 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:26 +0000 (0:00:00.163) 0:00:41.187 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:26 +0000 (0:00:00.035) 0:00:41.222 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:26 +0000 (0:00:00.025) 0:00:41.247 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:26 +0000 (0:00:00.044) 0:00:41.292 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:26 +0000 (0:00:00.249) 0:00:41.541 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:26 +0000 (0:00:00.037) 0:00:41.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:26 +0000 (0:00:00.018) 0:00:41.598 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:26 +0000 (0:00:00.019) 0:00:41.618 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:26 +0000 (0:00:00.341) 0:00:41.959 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:26 +0000 (0:00:00.040) 0:00:42.000 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:26 +0000 (0:00:00.026) 0:00:42.027 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:26 +0000 (0:00:00.022) 0:00:42.049 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:26 +0000 (0:00:00.025) 0:00:42.075 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:52:27 +0000 (0:00:00.140) 0:00:42.216 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:52:27 +0000 (0:00:00.033) 0:00:42.249 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:27 +0000 (0:00:00.070) 0:00:42.320 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:27 +0000 (0:00:00.036) 0:00:42.356 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:27 +0000 (0:00:00.032) 0:00:42.388 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:27 +0000 (0:00:00.024) 0:00:42.413 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:27 +0000 (0:00:00.022) 0:00:42.436 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:28 +0000 (0:00:00.740) 0:00:43.176 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:29 +0000 (0:00:00.965) 0:00:44.142 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:29 +0000 (0:00:00.021) 0:00:44.164 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:29 +0000 (0:00:00.022) 0:00:44.186 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:29 +0000 (0:00:00.020) 0:00:44.207 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:29 +0000 (0:00:00.051) 0:00:44.258 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:29 +0000 (0:00:00.022) 0:00:44.281 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:29 +0000 (0:00:00.022) 0:00:44.303 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:29 +0000 (0:00:00.033) 0:00:44.337 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:29 +0000 (0:00:00.249) 0:00:44.586 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:29 +0000 (0:00:00.080) 0:00:44.667 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:29 +0000 (0:00:00.021) 0:00:44.688 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:29 +0000 (0:00:00.029) 0:00:44.718 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:30 +0000 (0:00:00.427) 0:00:45.146 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:30 +0000 (0:00:00.044) 0:00:45.191 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:30 +0000 (0:00:00.030) 0:00:45.221 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:30 +0000 (0:00:00.026) 0:00:45.247 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:30 +0000 (0:00:00.026) 0:00:45.274 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:52:30 +0000 (0:00:00.140) 0:00:45.414 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:52:30 +0000 (0:00:00.033) 0:00:45.448 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:52:30 +0000 (0:00:00.032) 0:00:45.480 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:52:30 +0000 (0:00:00.021) 0:00:45.501 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:52:30 +0000 (0:00:00.133) 0:00:45.634 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:52:30 +0000 (0:00:00.019) 0:00:45.654 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021907", "end": "2024-02-19 23:52:30.683174", "rc": 1, "start": "2024-02-19 23:52:30.661267" } 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:52:30 +0000 (0:00:00.165) 0:00:45.820 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:52:30 +0000 (0:00:00.023) 0:00:45.843 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:52:30 +0000 (0:00:00.050) 0:00:45.894 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:52:30 +0000 (0:00:00.019) 0:00:45.913 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:52:30 +0000 (0:00:00.019) 0:00:45.932 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:52:30 +0000 (0:00:00.019) 0:00:45.952 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:52:30 +0000 (0:00:00.023) 0:00:45.976 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:52:30 +0000 (0:00:00.054) 0:00:46.031 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:52:30 +0000 (0:00:00.032) 0:00:46.063 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:52:31 +0000 (0:00:00.134) 0:00:46.198 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:52:31 +0000 (0:00:00.022) 0:00:46.220 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:52:31 +0000 (0:00:00.022) 0:00:46.243 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:52:31 +0000 (0:00:00.037) 0:00:46.281 ******* 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.043373", "end": "2024-02-19 23:52:31.345275", "rc": 1, "start": "2024-02-19 23:52:31.301902" } 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_hotfix4makf5fa/tests/playbooks/tests_states.yml:124 Monday 19 February 2024 23:52:31 +0000 (0:00:00.197) 0:00:46.478 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:52:31 +0000 (0:00:00.037) 0:00:46.515 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:52:31 +0000 (0:00:00.023) 0:00:46.539 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:52:31 +0000 (0:00:00.038) 0:00:46.578 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:52:31 +0000 (0:00:00.074) 0:00:46.652 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:52:31 +0000 (0:00:00.029) 0:00:46.682 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003794", "end": "2024-02-19 23:52:31.690379", "rc": 0, "start": "2024-02-19 23:52:31.686585" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:52:31 +0000 (0:00:00.136) 0:00:46.818 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:52:31 +0000 (0:00:00.020) 0:00:46.838 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:52:31 +0000 (0:00:00.018) 0:00:46.857 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:52:31 +0000 (0:00:00.035) 0:00:46.892 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:31 +0000 (0:00:00.041) 0:00:46.933 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:31 +0000 (0:00:00.035) 0:00:46.969 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:31 +0000 (0:00:00.031) 0:00:47.001 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:31 +0000 (0:00:00.021) 0:00:47.022 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:31 +0000 (0:00:00.022) 0:00:47.044 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:32 +0000 (0:00:00.746) 0:00:47.791 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:33 +0000 (0:00:01.095) 0:00:48.887 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:33 +0000 (0:00:00.024) 0:00:48.912 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:33 +0000 (0:00:00.022) 0:00:48.934 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:33 +0000 (0:00:00.021) 0:00:48.956 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:33 +0000 (0:00:00.052) 0:00:49.009 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:33 +0000 (0:00:00.023) 0:00:49.032 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:33 +0000 (0:00:00.024) 0:00:49.057 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:33 +0000 (0:00:00.035) 0:00:49.092 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:34 +0000 (0:00:00.247) 0:00:49.339 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:34 +0000 (0:00:00.035) 0:00:49.375 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:34 +0000 (0:00:00.019) 0:00:49.394 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:34 +0000 (0:00:00.019) 0:00:49.414 ******* 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, ac40a831-a433-4e15-91a1-9d43fcbe1532 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:34 +0000 (0:00:00.333) 0:00:49.748 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:34 +0000 (0:00:00.023) 0:00:49.772 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac40a831-a433-4e15-91a1-9d43fcbe1532" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:34 +0000 (0:00:00.024) 0:00:49.796 ******* 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, ac40a831-a433-4e15-91a1-9d43fcbe1532\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac40a831-a433-4e15-91a1-9d43fcbe1532" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:34 +0000 (0:00:00.023) 0:00:49.820 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:34 +0000 (0:00:00.024) 0:00:49.845 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:52:34 +0000 (0:00:00.186) 0:00:50.031 ******* 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, ac40a831-a433-4e15-91a1-9d43fcbe1532\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac40a831-a433-4e15-91a1-9d43fcbe1532" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:52:34 +0000 (0:00:00.021) 0:00:50.053 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:34 +0000 (0:00:00.046) 0:00:50.099 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:35 +0000 (0:00:00.049) 0:00:50.149 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:35 +0000 (0:00:00.046) 0:00:50.195 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:35 +0000 (0:00:00.024) 0:00:50.220 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:35 +0000 (0:00:00.023) 0:00:50.244 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:35 +0000 (0:00:00.765) 0:00:51.010 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:36 +0000 (0:00:00.983) 0:00:51.993 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:36 +0000 (0:00:00.020) 0:00:52.014 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:36 +0000 (0:00:00.021) 0:00:52.036 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:36 +0000 (0:00:00.020) 0:00:52.056 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:37 +0000 (0:00:00.051) 0:00:52.108 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:37 +0000 (0:00:00.021) 0:00:52.130 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:37 +0000 (0:00:00.059) 0:00:52.190 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:37 +0000 (0:00:00.039) 0:00:52.229 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:37 +0000 (0:00:00.248) 0:00:52.477 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:37 +0000 (0:00:00.033) 0:00:52.510 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:37 +0000 (0:00:00.018) 0:00:52.529 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:37 +0000 (0:00:00.019) 0:00:52.548 ******* 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, ac40a831-a433-4e15-91a1-9d43fcbe1532 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:37 +0000 (0:00:00.288) 0:00:52.836 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:37 +0000 (0:00:00.023) 0:00:52.859 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac40a831-a433-4e15-91a1-9d43fcbe1532 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:37 +0000 (0:00:00.022) 0:00:52.882 ******* 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, ac40a831-a433-4e15-91a1-9d43fcbe1532 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ac40a831-a433-4e15-91a1-9d43fcbe1532 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:37 +0000 (0:00:00.023) 0:00:52.905 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:37 +0000 (0:00:00.022) 0:00:52.927 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:52:37 +0000 (0:00:00.139) 0:00:53.067 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:38 +0000 (0:00:00.038) 0:00:53.105 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:38 +0000 (0:00:00.038) 0:00:53.144 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:38 +0000 (0:00:00.032) 0:00:53.177 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:38 +0000 (0:00:00.092) 0:00:53.269 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:38 +0000 (0:00:00.034) 0:00:53.304 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:38 +0000 (0:00:00.762) 0:00:54.066 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:39 +0000 (0:00:00.963) 0:00:55.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:39 +0000 (0:00:00.022) 0:00:55.051 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:39 +0000 (0:00:00.022) 0:00:55.074 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:39 +0000 (0:00:00.022) 0:00:55.097 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:40 +0000 (0:00:00.050) 0:00:55.147 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:40 +0000 (0:00:00.024) 0:00:55.172 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:40 +0000 (0:00:00.024) 0:00:55.196 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:40 +0000 (0:00:00.035) 0:00:55.232 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:40 +0000 (0:00:00.261) 0:00:55.493 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:40 +0000 (0:00:00.045) 0:00:55.539 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:40 +0000 (0:00:00.032) 0:00:55.571 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:40 +0000 (0:00:00.020) 0:00:55.592 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:40 +0000 (0:00:00.447) 0:00:56.040 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:41 +0000 (0:00:00.066) 0:00:56.106 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:41 +0000 (0:00:00.038) 0:00:56.144 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:41 +0000 (0:00:00.030) 0:00:56.175 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:41 +0000 (0:00:00.036) 0:00:56.211 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:52:41 +0000 (0:00:00.142) 0:00:56.354 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:52:41 +0000 (0:00:00.033) 0:00:56.387 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 19 February 2024 23:52:41 +0000 (0:00:00.038) 0:00:56.425 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 19 February 2024 23:52:41 +0000 (0:00:00.036) 0:00:56.462 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 19 February 2024 23:52:41 +0000 (0:00:00.037) 0:00:56.499 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 19 February 2024 23:52:41 +0000 (0:00:00.024) 0:00:56.524 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 19 February 2024 23:52:41 +0000 (0:00:00.022) 0:00:56.546 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 19 February 2024 23:52:42 +0000 (0:00:00.752) 0:00:57.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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 19 February 2024 23:52:43 +0000 (0:00:01.062) 0:00:58.362 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 19 February 2024 23:52:43 +0000 (0:00:00.022) 0:00:58.384 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 19 February 2024 23:52:43 +0000 (0:00:00.023) 0:00:58.408 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 19 February 2024 23:52:43 +0000 (0:00:00.021) 0:00:58.429 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 19 February 2024 23:52:43 +0000 (0:00:00.053) 0:00:58.482 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 19 February 2024 23:52:43 +0000 (0:00:00.022) 0:00:58.505 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 19 February 2024 23:52:43 +0000 (0:00:00.021) 0:00:58.527 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 19 February 2024 23:52:43 +0000 (0:00:00.034) 0:00:58.561 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 19 February 2024 23:52:43 +0000 (0:00:00.247) 0:00:58.808 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 19 February 2024 23:52:43 +0000 (0:00:00.048) 0:00:58.857 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 19 February 2024 23:52:43 +0000 (0:00:00.020) 0:00:58.877 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 19 February 2024 23:52:43 +0000 (0:00:00.018) 0:00:58.895 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 19 February 2024 23:52:44 +0000 (0:00:00.305) 0:00:59.200 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 19 February 2024 23:52:44 +0000 (0:00:00.022) 0:00:59.223 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 19 February 2024 23:52:44 +0000 (0:00:00.022) 0:00:59.246 ******* 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_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 19 February 2024 23:52:44 +0000 (0:00:00.023) 0:00:59.269 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 19 February 2024 23:52:44 +0000 (0:00:00.021) 0:00:59.291 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:52:44 +0000 (0:00:00.141) 0:00:59.432 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:52:44 +0000 (0:00:00.077) 0:00:59.510 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:52:44 +0000 (0:00:00.031) 0:00:59.541 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:52:44 +0000 (0:00:00.018) 0:00:59.559 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:52:44 +0000 (0:00:00.134) 0:00:59.694 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:52:44 +0000 (0:00:00.018) 0:00:59.713 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020369", "end": "2024-02-19 23:52:44.738148", "rc": 1, "start": "2024-02-19 23:52:44.717779" } 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:52:44 +0000 (0:00:00.152) 0:00:59.866 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:52:44 +0000 (0:00:00.019) 0:00:59.885 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:52:44 +0000 (0:00:00.018) 0:00:59.903 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:52:44 +0000 (0:00:00.019) 0:00:59.922 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:52:44 +0000 (0:00:00.019) 0:00:59.942 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:52:44 +0000 (0:00:00.019) 0:00:59.961 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 23:52:44 +0000 (0:00:00.021) 0:00:59.982 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.689433", "end": "2024-02-19 23:52:45.676630", "rc": 0, "start": "2024-02-19 23:52:44.987197" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 23:52:45 +0000 (0:00:00.822) 0:01:00.805 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 23:52:45 +0000 (0:00:00.020) 0:01:00.825 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:52:45 +0000 (0:00:00.019) 0:01:00.845 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:52:45 +0000 (0:00:00.043) 0:01:00.889 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:52:45 +0000 (0:00:00.058) 0:01:00.948 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:52:45 +0000 (0:00:00.131) 0:01:01.079 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:52:45 +0000 (0:00:00.022) 0:01:01.101 ******* 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_hotfix4makf5fa/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:52:46 +0000 (0:00:00.019) 0:01:01.121 ******* included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfix4makf5fa/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_hotfix4makf5fa/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:52:46 +0000 (0:00:00.037) 0:01:01.158 ******* 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.044215", "end": "2024-02-19 23:52:46.208275", "rc": 1, "start": "2024-02-19 23:52:46.164060" } 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_hotfix4makf5fa/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 23:52:46 +0000 (0:00:00.195) 0:01:01.354 ******* 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.007984", "end": "2024-02-19 23:52:46.368119", "rc": 0, "start": "2024-02-19 23:52:46.360135" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:6f:3c:05:81:7b brd ff:ff:ff:ff:ff:ff inet 10.31.45.116/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3321sec preferred_lft 3321sec inet6 fe80::6f:3cff:fe05:817b/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 7e:7f:19:d9:1f:2a brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.116 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_hotfix4makf5fa/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 23:52:46 +0000 (0:00:00.147) 0:01:01.501 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.606141", "end": "2024-02-19 23:52:47.136167", "rc": 0, "start": "2024-02-19 23:52:46.530026" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 732 0 --:--:-- --:--:-- --:--:-- 733 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1738 0 --:--:-- --:--:-- --:--:-- 1742 PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Monday 19 February 2024 23:52:47 +0000 (0:00:00.791) 0:01:02.293 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.06s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.99s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.98s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.98s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.98s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.97s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.97s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.97s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.96s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.96s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.85s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.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.84s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.82s /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Verify DNS and network connectivity ------------------------------------- 0.79s /WORKDIR/git-nm_plugin_hotfix4makf5fa/tests/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 0.77s /WORKDIR/git-nm_plugin_hotfix4makf5fa/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---