# 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_hotfixmlvk788w/.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_hotfixmlvk788w/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_hotfixmlvk788w/tests/tests_states_nm.yml:6 Thursday 14 March 2024 21:37:11 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/tests_states_nm.yml:9 Thursday 14 March 2024 21:37:11 +0000 (0:00:00.775) 0:00:00.787 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/tasks/el_repo_setup.yml:3 Thursday 14 March 2024 21:37:11 +0000 (0:00:00.011) 0:00:00.799 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/tasks/el_repo_setup.yml:17 Thursday 14 March 2024 21:37:12 +0000 (0:00:00.251) 0:00:01.050 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/tasks/el_repo_setup.yml:22 Thursday 14 March 2024 21:37:12 +0000 (0:00:00.191) 0:00:01.241 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/tasks/el_repo_setup.yml:26 Thursday 14 March 2024 21:37:12 +0000 (0:00:00.021) 0:00:01.262 ******** 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_hotfixmlvk788w/tests/tasks/el_repo_setup.yml:51 Thursday 14 March 2024 21:37:12 +0000 (0:00:00.008) 0:00:01.271 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/tasks/enable_epel.yml:8 Thursday 14 March 2024 21:37:12 +0000 (0:00:00.021) 0:00:01.293 ******** 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_hotfixmlvk788w/tests/tasks/enable_epel.yml:24 Thursday 14 March 2024 21:37:12 +0000 (0:00:00.192) 0:00:01.485 ******** 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_hotfixmlvk788w/tests/tasks/enable_epel.yml:30 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.431) 0:00:01.917 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.188993", "end": "2024-03-14 21:37:13.317036", "rc": 0, "start": "2024-03-14 21:37:13.128043" } 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_hotfixmlvk788w/tests/tasks/enable_epel.yml:35 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.318) 0:00:02.236 ******** 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_hotfixmlvk788w/tests/tasks/enable_epel.yml:40 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.008) 0:00:02.245 ******** 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_hotfixmlvk788w/tests/tests_states_nm.yml:11 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.008) 0:00:02.253 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tests_states.yml:3 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.014) 0:00:02.268 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tests_states.yml:11 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.534) 0:00:02.803 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tests_states.yml:22 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.010) 0:00:02.813 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.014) 0:00:02.828 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.011) 0:00:02.839 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.028) 0:00:02.868 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.012) 0:00:02.880 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:37:13 +0000 (0:00:00.010) 0:00:02.891 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004130", "end": "2024-03-14 21:37:14.104374", "rc": 0, "start": "2024-03-14 21:37:14.100244" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.131) 0:00:03.023 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.010) 0:00:03.033 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.009) 0:00:03.043 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.016) 0:00:03.060 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012246", "end": "2024-03-14 21:37:14.281076", "rc": 1, "start": "2024-03-14 21:37:14.268830" } 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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.139) 0:00:03.199 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.016) 0:00:03.215 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.129) 0:00:03.344 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.010) 0:00:03.355 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.016) 0:00:03.371 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.025) 0:00:03.396 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.019) 0:00:03.416 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.017) 0:00:03.434 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.011) 0:00:03.445 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:14 +0000 (0:00:00.011) 0:00:03.457 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:15 +0000 (0:00:00.851) 0:00:04.309 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:16 +0000 (0:00:01.109) 0:00:05.418 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.020) 0:00:05.438 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.019) 0:00:05.458 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.019) 0:00:05.478 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.026) 0:00:05.504 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.033) 0:00:05.537 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.033) 0:00:05.570 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.050) 0:00:05.621 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.020) 0:00:05.642 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.038) 0:00:05.680 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:16 +0000 (0:00:00.032) 0:00:05.713 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.420) 0:00:06.134 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.040) 0:00:06.175 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.018) 0:00:06.193 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.018) 0:00:06.212 ******** 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, fcf18225-92f4-4184-811a-ba2dac93de6f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.509) 0:00:06.721 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.021) 0:00:06.743 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcf18225-92f4-4184-811a-ba2dac93de6f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.022) 0:00:06.765 ******** 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, fcf18225-92f4-4184-811a-ba2dac93de6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcf18225-92f4-4184-811a-ba2dac93de6f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.021) 0:00:06.786 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:17 +0000 (0:00:00.021) 0:00:06.808 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.236) 0:00:07.044 ******** 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, fcf18225-92f4-4184-811a-ba2dac93de6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcf18225-92f4-4184-811a-ba2dac93de6f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.022) 0:00:07.067 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.034) 0:00:07.102 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.030) 0:00:07.132 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.019) 0:00:07.151 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452237.7221894, "block_size": 4096, "blocks": 8, "ctime": 1710452237.7211895, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710452237.7211895, "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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.165) 0:00:07.317 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.022) 0:00:07.340 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025569", "end": "2024-03-14 21:37:18.579344", "rc": 0, "start": "2024-03-14 21:37:18.553775" } 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.170) 0:00:07.510 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.022) 0:00:07.533 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.021) 0:00:07.555 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.019) 0:00:07.574 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.019) 0:00:07.594 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.019) 0:00:07.613 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.021) 0:00:07.635 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.021) 0:00:07.656 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.021) 0:00:07.678 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.043) 0:00:07.722 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.031) 0:00:07.753 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452237.7281892, "block_size": 4096, "blocks": 0, "ctime": 1710452237.7241893, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17733, "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": 1710452237.7241893, "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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:37:18 +0000 (0:00:00.140) 0:00:07.894 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.021) 0:00:07.915 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.020) 0:00:07.935 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.056) 0:00:07.992 ******** 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.089633", "end": "2024-03-14 21:37:19.294373", "rc": 1, "start": "2024-03-14 21:37:19.204740" } STDOUT: Connection 'statebr' (fcf18225-92f4-4184-811a-ba2dac93de6f) successfully deleted. STDERR: (process:31477): GLib-GIO-WARNING **: 21:37:19.274: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/64 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_hotfixmlvk788w/tests/playbooks/tests_states.yml:45 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.229) 0:00:08.222 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.030) 0:00:08.253 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.019) 0:00:08.272 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.038) 0:00:08.311 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.028) 0:00:08.339 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.029) 0:00:08.368 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004446", "end": "2024-03-14 21:37:19.584449", "rc": 0, "start": "2024-03-14 21:37:19.580003" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.144) 0:00:08.512 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.020) 0:00:08.532 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.019) 0:00:08.552 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.032) 0:00:08.585 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008197", "end": "2024-03-14 21:37:19.805524", "rc": 1, "start": "2024-03-14 21:37:19.797327" } 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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.147) 0:00:08.732 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:37:19 +0000 (0:00:00.029) 0:00:08.762 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.164) 0:00:08.926 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.020) 0:00:08.947 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.032) 0:00:08.980 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.040) 0:00:09.021 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.042) 0:00:09.063 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.032) 0:00:09.095 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.021) 0:00:09.117 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:20 +0000 (0:00:00.021) 0:00:09.139 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:21 +0000 (0:00:00.840) 0:00:09.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.992) 0:00:10.971 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.021) 0:00:10.993 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.021) 0:00:11.015 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.020) 0:00:11.036 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.058) 0:00:11.095 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.035) 0:00:11.130 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.034) 0:00:11.165 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.051) 0:00:11.216 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.024) 0:00:11.240 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.023) 0:00:11.263 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.033) 0:00:11.297 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.260) 0:00:11.558 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.034) 0:00:11.593 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.018) 0:00:11.611 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:22 +0000 (0:00:00.018) 0:00:11.630 ******** 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, 6340d4ab-4fdc-4845-8c2b-b30737291c1c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.297) 0:00:11.927 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.023) 0:00:11.951 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6340d4ab-4fdc-4845-8c2b-b30737291c1c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.021) 0:00:11.973 ******** 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, 6340d4ab-4fdc-4845-8c2b-b30737291c1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6340d4ab-4fdc-4845-8c2b-b30737291c1c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.023) 0:00:11.997 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.022) 0:00:12.019 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.139) 0:00:12.159 ******** 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, 6340d4ab-4fdc-4845-8c2b-b30737291c1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6340d4ab-4fdc-4845-8c2b-b30737291c1c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.019) 0:00:12.179 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.062) 0:00:12.241 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.029) 0:00:12.271 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.131) 0:00:12.402 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.021) 0:00:12.424 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.031) 0:00:12.456 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.019) 0:00:12.476 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452242.9829879, "block_size": 4096, "blocks": 8, "ctime": 1710452242.9829879, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710452242.9829879, "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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.133) 0:00:12.610 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.020) 0:00:12.630 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022278", "end": "2024-03-14 21:37:23.857116", "rc": 0, "start": "2024-03-14 21:37:23.834838" } 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.153) 0:00:12.784 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.022) 0:00:12.806 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.020) 0:00:12.826 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.020) 0:00:12.846 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.019) 0:00:12.866 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:37:23 +0000 (0:00:00.020) 0:00:12.887 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.023) 0:00:12.910 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.021) 0:00:12.932 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.052) 0:00:12.985 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.026) 0:00:13.011 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.020) 0:00:13.031 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.033) 0:00:13.065 ******** 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.050727", "end": "2024-03-14 21:37:24.321086", "rc": 1, "start": "2024-03-14 21:37:24.270359" } STDOUT: Connection 'statebr' (6340d4ab-4fdc-4845-8c2b-b30737291c1c) 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_hotfixmlvk788w/tests/playbooks/tests_states.yml:65 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.182) 0:00:13.248 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.030) 0:00:13.278 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.019) 0:00:13.298 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.039) 0:00:13.338 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.029) 0:00:13.367 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.028) 0:00:13.396 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003943", "end": "2024-03-14 21:37:24.605048", "rc": 0, "start": "2024-03-14 21:37:24.601105" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.136) 0:00:13.533 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.020) 0:00:13.553 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.019) 0:00:13.573 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.031) 0:00:13.604 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.067) 0:00:13.671 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.037) 0:00:13.709 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.033) 0:00:13.742 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.023) 0:00:13.766 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:24 +0000 (0:00:00.025) 0:00:13.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 : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:25 +0000 (0:00:00.814) 0:00:14.606 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.977) 0:00:15.583 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.022) 0:00:15.606 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.023) 0:00:15.630 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.022) 0:00:15.652 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.028) 0:00:15.681 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.036) 0:00:15.718 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.035) 0:00:15.754 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.052) 0:00:15.806 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.052) 0:00:15.859 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:26 +0000 (0:00:00.023) 0:00:15.882 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.033) 0:00:15.916 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.248) 0:00:16.164 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.034) 0:00:16.199 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.020) 0:00:16.219 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.019) 0:00:16.239 ******** 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, ae56a672-654f-4033-a021-c56975656975 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.339) 0:00:16.579 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.023) 0:00:16.602 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae56a672-654f-4033-a021-c56975656975" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.022) 0:00:16.624 ******** 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, ae56a672-654f-4033-a021-c56975656975\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae56a672-654f-4033-a021-c56975656975" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.023) 0:00:16.648 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.022) 0:00:16.670 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.141) 0:00:16.811 ******** 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, ae56a672-654f-4033-a021-c56975656975\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae56a672-654f-4033-a021-c56975656975" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.021) 0:00:16.833 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:37:27 +0000 (0:00:00.033) 0:00:16.866 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:28 +0000 (0:00:00.073) 0:00:16.940 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:28 +0000 (0:00:00.037) 0:00:16.977 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:28 +0000 (0:00:00.031) 0:00:17.008 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:28 +0000 (0:00:00.024) 0:00:17.033 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:28 +0000 (0:00:00.022) 0:00:17.055 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:28 +0000 (0:00:00.790) 0:00:17.846 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:29 +0000 (0:00:00.990) 0:00:18.836 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:29 +0000 (0:00:00.022) 0:00:18.859 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:29 +0000 (0:00:00.023) 0:00:18.882 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:29 +0000 (0:00:00.022) 0:00:18.904 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.028) 0:00:18.933 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.035) 0:00:18.968 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.036) 0:00:19.005 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.051) 0:00:19.057 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.022) 0:00:19.079 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.060) 0:00:19.140 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.036) 0:00:19.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.261) 0:00:19.437 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.034) 0:00:19.472 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.019) 0:00:19.491 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.019) 0:00:19.510 ******** 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, ae56a672-654f-4033-a021-c56975656975 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.305) 0:00:19.815 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.023) 0:00:19.839 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ae56a672-654f-4033-a021-c56975656975 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.021) 0:00:19.860 ******** 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, ae56a672-654f-4033-a021-c56975656975 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ae56a672-654f-4033-a021-c56975656975 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:30 +0000 (0:00:00.023) 0:00:19.884 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.023) 0:00:19.907 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.148) 0:00:20.055 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.035) 0:00:20.091 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.029) 0:00:20.120 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452247.6058106, "block_size": 4096, "blocks": 0, "ctime": 1710452247.6018107, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17733, "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": 1710452247.6018107, "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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.141) 0:00:20.262 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.020) 0:00:20.283 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.059) 0:00:20.343 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.020) 0:00:20.363 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452247.6008108, "block_size": 4096, "blocks": 8, "ctime": 1710452247.5998108, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710452247.5998108, "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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.140) 0:00:20.504 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.021) 0:00:20.525 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024227", "end": "2024-03-14 21:37:31.761731", "rc": 0, "start": "2024-03-14 21:37:31.737504" } 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.165) 0:00:20.691 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.020) 0:00:20.711 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.019) 0:00:20.730 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.018) 0:00:20.749 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.019) 0:00:20.768 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.020) 0:00:20.789 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.022) 0:00:20.812 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.023) 0:00:20.835 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.020) 0:00:20.856 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.025) 0:00:20.881 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:37:31 +0000 (0:00:00.019) 0:00:20.901 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.034) 0:00:20.935 ******** 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.087943", "end": "2024-03-14 21:37:32.234762", "rc": 1, "start": "2024-03-14 21:37:32.146819" } STDOUT: Connection 'statebr' (ae56a672-654f-4033-a021-c56975656975) successfully deleted. STDERR: (process:32201): GLib-GIO-WARNING **: 21:37:32.217: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/65 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_hotfixmlvk788w/tests/playbooks/tests_states.yml:83 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.226) 0:00:21.161 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.063) 0:00:21.225 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.020) 0:00:21.245 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.038) 0:00:21.283 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.028) 0:00:21.312 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.027) 0:00:21.340 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004106", "end": "2024-03-14 21:37:32.554589", "rc": 0, "start": "2024-03-14 21:37:32.550483" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.143) 0:00:21.483 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.021) 0:00:21.504 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.021) 0:00:21.525 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.035) 0:00:21.561 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.042) 0:00:21.603 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.041) 0:00:21.644 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.032) 0:00:21.676 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.057) 0:00:21.734 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:32 +0000 (0:00:00.023) 0:00:21.757 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:33 +0000 (0:00:00.822) 0:00:22.580 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.986) 0:00:23.566 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.022) 0:00:23.589 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.022) 0:00:23.612 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.023) 0:00:23.635 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.031) 0:00:23.666 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.037) 0:00:23.704 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.034) 0:00:23.738 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.056) 0:00:23.794 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.031) 0:00:23.826 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.023) 0:00:23.850 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:34 +0000 (0:00:00.038) 0:00:23.888 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.253) 0:00:24.141 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.038) 0:00:24.180 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.019) 0:00:24.199 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.057) 0:00:24.257 ******** 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, 18f5e8d0-231b-47b0-a517-adbf59fc72c8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.339) 0:00:24.597 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.022) 0:00:24.620 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18f5e8d0-231b-47b0-a517-adbf59fc72c8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.022) 0:00:24.642 ******** 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, 18f5e8d0-231b-47b0-a517-adbf59fc72c8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18f5e8d0-231b-47b0-a517-adbf59fc72c8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.023) 0:00:24.665 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.023) 0:00:24.688 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.139) 0:00:24.828 ******** 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, 18f5e8d0-231b-47b0-a517-adbf59fc72c8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 18f5e8d0-231b-47b0-a517-adbf59fc72c8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.021) 0:00:24.849 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:35 +0000 (0:00:00.040) 0:00:24.890 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:36 +0000 (0:00:00.037) 0:00:24.928 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:36 +0000 (0:00:00.032) 0:00:24.960 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:36 +0000 (0:00:00.022) 0:00:24.983 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:36 +0000 (0:00:00.024) 0:00:25.008 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:36 +0000 (0:00:00.750) 0:00:25.758 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:37 +0000 (0:00:01.025) 0:00:26.784 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:37 +0000 (0:00:00.022) 0:00:26.806 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:37 +0000 (0:00:00.023) 0:00:26.830 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:37 +0000 (0:00:00.021) 0:00:26.851 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:37 +0000 (0:00:00.027) 0:00:26.879 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.034) 0:00:26.914 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.033) 0:00:26.948 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.052) 0:00:27.000 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.022) 0:00:27.022 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.022) 0:00:27.045 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.033) 0:00:27.078 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.261) 0:00:27.340 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.037) 0:00:27.377 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.020) 0:00:27.398 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.020) 0:00:27.418 ******** 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, 18f5e8d0-231b-47b0-a517-adbf59fc72c8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.302) 0:00:27.720 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.022) 0:00:27.742 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18f5e8d0-231b-47b0-a517-adbf59fc72c8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.022) 0:00:27.764 ******** 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, 18f5e8d0-231b-47b0-a517-adbf59fc72c8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 18f5e8d0-231b-47b0-a517-adbf59fc72c8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.053) 0:00:27.818 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:38 +0000 (0:00:00.023) 0:00:27.841 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:37:39 +0000 (0:00:00.145) 0:00:27.987 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 March 2024 21:37:39 +0000 (0:00:00.034) 0:00:28.021 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:39 +0000 (0:00:00.040) 0:00:28.062 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:39 +0000 (0:00:00.038) 0:00:28.100 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:39 +0000 (0:00:00.034) 0:00:28.134 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:39 +0000 (0:00:00.022) 0:00:28.157 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:39 +0000 (0:00:00.021) 0:00:28.178 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:40 +0000 (0:00:00.813) 0:00:28.991 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.996) 0:00:29.988 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.054) 0:00:30.042 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.022) 0:00:30.065 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.024) 0:00:30.089 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.028) 0:00:30.118 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.038) 0:00:30.156 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.035) 0:00:30.191 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.051) 0:00:30.242 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.023) 0:00:30.266 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.021) 0:00:30.288 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.035) 0:00:30.323 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.248) 0:00:30.571 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.036) 0:00:30.608 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.021) 0:00:30.629 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:41 +0000 (0:00:00.019) 0:00:30.649 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.325) 0:00:30.975 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.027) 0:00:31.002 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.031) 0:00:31.033 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.023) 0:00:31.057 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.028) 0:00:31.086 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.176) 0:00:31.262 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.037) 0:00:31.300 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.030) 0:00:31.330 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1710452255.6165037, "block_size": 4096, "blocks": 0, "ctime": 1710452255.6135037, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17736, "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": 1710452255.6135037, "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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.133) 0:00:31.464 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.022) 0:00:31.486 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.032) 0:00:31.518 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.021) 0:00:31.539 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.133) 0:00:31.673 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.019) 0:00:31.692 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023265", "end": "2024-03-14 21:37:42.921587", "rc": 1, "start": "2024-03-14 21:37:42.898322" } 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.155) 0:00:31.848 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.019) 0:00:31.868 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:37:42 +0000 (0:00:00.018) 0:00:31.886 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.019) 0:00:31.905 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.019) 0:00:31.925 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.018) 0:00:31.944 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.056) 0:00:32.000 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.026) 0:00:32.027 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.021) 0:00:32.049 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.035) 0:00:32.084 ******** 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.085345", "end": "2024-03-14 21:37:43.386216", "rc": 1, "start": "2024-03-14 21:37:43.300871" } STDOUT: Connection 'statebr' (18f5e8d0-231b-47b0-a517-adbf59fc72c8) successfully deleted. STDERR: (process:360): GLib-GIO-WARNING **: 21:37:43.364: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/66 but no object proxy exists (process:360): GLib-GIO-WARNING **: 21:37:43.366: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/105 but no object proxy exists (process:360): GLib-GIO-WARNING **: 21:37:43.366: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/66 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_hotfixmlvk788w/tests/playbooks/tests_states.yml:102 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.230) 0:00:32.315 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.031) 0:00:32.347 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.020) 0:00:32.368 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.039) 0:00:32.407 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.030) 0:00:32.438 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.032) 0:00:32.470 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004093", "end": "2024-03-14 21:37:43.681172", "rc": 0, "start": "2024-03-14 21:37:43.677079" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.152) 0:00:32.623 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.021) 0:00:32.644 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.025) 0:00:32.670 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.045) 0:00:32.716 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.079) 0:00:32.795 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.040) 0:00:32.836 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:43 +0000 (0:00:00.050) 0:00:32.886 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:44 +0000 (0:00:00.028) 0:00:32.914 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:44 +0000 (0:00:00.038) 0:00:32.952 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:44 +0000 (0:00:00.755) 0:00:33.708 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.967) 0:00:34.675 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.022) 0:00:34.697 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.022) 0:00:34.720 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.021) 0:00:34.741 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.034) 0:00:34.776 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.035) 0:00:34.812 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.034) 0:00:34.846 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:45 +0000 (0:00:00.051) 0:00:34.898 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.057) 0:00:34.955 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.024) 0:00:34.979 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.039) 0:00:35.019 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.267) 0:00:35.287 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.038) 0:00:35.325 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.025) 0:00:35.351 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.020) 0:00:35.372 ******** 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, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.334) 0:00:35.706 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.023) 0:00:35.730 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.021) 0:00:35.752 ******** 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, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.023) 0:00:35.775 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:46 +0000 (0:00:00.021) 0:00:35.797 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:37:47 +0000 (0:00:00.141) 0:00:35.939 ******** 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, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:37:47 +0000 (0:00:00.021) 0:00:35.960 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:47 +0000 (0:00:00.040) 0:00:36.001 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:47 +0000 (0:00:00.076) 0:00:36.077 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:47 +0000 (0:00:00.035) 0:00:36.113 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:47 +0000 (0:00:00.023) 0:00:36.137 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:47 +0000 (0:00:00.021) 0:00:36.159 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:48 +0000 (0:00:00.757) 0:00:36.917 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:48 +0000 (0:00:00.956) 0:00:37.873 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:48 +0000 (0:00:00.023) 0:00:37.897 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.025) 0:00:37.922 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.031) 0:00:37.953 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.055) 0:00:38.009 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.039) 0:00:38.048 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.036) 0:00:38.085 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.055) 0:00:38.140 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.025) 0:00:38.166 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.023) 0:00:38.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.036) 0:00:38.226 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.308) 0:00:38.535 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.035) 0:00:38.571 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.020) 0:00:38.591 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.019) 0:00:38.611 ******** 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, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:49 +0000 (0:00:00.289) 0:00:38.900 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.023) 0:00:38.924 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.023) 0:00:38.947 ******** 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, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5be6ec03-96f8-4a66-b0a0-9e29fa47e9cc skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.026) 0:00:38.973 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.022) 0:00:38.996 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.140) 0:00:39.137 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.041) 0:00:39.179 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.039) 0:00:39.218 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.034) 0:00:39.252 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.021) 0:00:39.274 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:50 +0000 (0:00:00.022) 0:00:39.297 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:51 +0000 (0:00:00.789) 0:00:40.086 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.953) 0:00:41.040 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.024) 0:00:41.065 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.024) 0:00:41.090 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.022) 0:00:41.112 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.027) 0:00:41.140 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.035) 0:00:41.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 : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.035) 0:00:41.211 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.056) 0:00:41.268 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.024) 0:00:41.292 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.031) 0:00:41.324 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.036) 0:00:41.360 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.251) 0:00:41.611 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.036) 0:00:41.647 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.019) 0:00:41.667 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:52 +0000 (0:00:00.019) 0:00:41.686 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.361) 0:00:42.047 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.071) 0:00:42.119 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.031) 0:00:42.150 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.026) 0:00:42.177 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.027) 0:00:42.205 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.149) 0:00:42.354 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.037) 0:00:42.391 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.041) 0:00:42.432 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.039) 0:00:42.472 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.033) 0:00:42.505 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.034) 0:00:42.540 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:53 +0000 (0:00:00.030) 0:00:42.570 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:54 +0000 (0:00:00.823) 0:00:43.393 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:37:55 +0000 (0:00:01.085) 0:00:44.479 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.024) 0:00:44.504 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.023) 0:00:44.527 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.024) 0:00:44.552 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.029) 0:00:44.582 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.038) 0:00:44.620 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.036) 0:00:44.656 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.052) 0:00:44.709 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.024) 0:00:44.734 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.024) 0:00:44.758 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:37:55 +0000 (0:00:00.035) 0:00:44.793 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.250) 0:00:45.044 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.035) 0:00:45.079 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.020) 0:00:45.099 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.018) 0:00:45.118 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.366) 0:00:45.484 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.028) 0:00:45.513 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.030) 0:00:45.544 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.068) 0:00:45.612 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.023) 0:00:45.635 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.141) 0:00:45.776 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.035) 0:00:45.811 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.033) 0:00:45.845 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:37:56 +0000 (0:00:00.020) 0:00:45.866 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.155) 0:00:46.022 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.020) 0:00:46.042 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021186", "end": "2024-03-14 21:37:57.281695", "rc": 1, "start": "2024-03-14 21:37:57.260509" } 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.166) 0:00:46.209 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.019) 0:00:46.229 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.019) 0:00:46.248 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.020) 0:00:46.268 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.018) 0:00:46.287 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.019) 0:00:46.306 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.021) 0:00:46.328 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.080) 0:00:46.409 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.030) 0:00:46.439 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.133) 0:00:46.572 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.023) 0:00:46.595 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.020) 0:00:46.616 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.036) 0:00:46.652 ******** 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.043856", "end": "2024-03-14 21:37:57.902706", "rc": 1, "start": "2024-03-14 21:37:57.858850" } 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_hotfixmlvk788w/tests/playbooks/tests_states.yml:124 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.178) 0:00:46.830 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:5 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.032) 0:00:46.862 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:9 Thursday 14 March 2024 21:37:57 +0000 (0:00:00.022) 0:00:46.885 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:21 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.055) 0:00:46.940 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.037) 0:00:46.977 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.030) 0:00:47.008 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004061", "end": "2024-03-14 21:37:58.219287", "rc": 0, "start": "2024-03-14 21:37:58.215226" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.139) 0:00:47.147 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.021) 0:00:47.169 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:24 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.067) 0:00:47.236 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.040) 0:00:47.277 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.041) 0:00:47.318 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.037) 0:00:47.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.033) 0:00:47.389 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.022) 0:00:47.412 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:37:58 +0000 (0:00:00.022) 0:00:47.434 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:37:59 +0000 (0:00:00.756) 0:00:48.191 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.981) 0:00:49.172 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.023) 0:00:49.196 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.024) 0:00:49.221 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.029) 0:00:49.250 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.033) 0:00:49.284 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.081) 0:00:49.366 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.035) 0:00:49.401 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.066) 0:00:49.467 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.029) 0:00:49.497 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.025) 0:00:49.523 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.037) 0:00:49.560 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.258) 0:00:49.818 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.045) 0:00:49.864 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:38:00 +0000 (0:00:00.020) 0:00:49.885 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.020) 0:00:49.906 ******** 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, 13c1077e-a925-44f0-aab2-c6a480ef0b35 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.335) 0:00:50.241 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.023) 0:00:50.264 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13c1077e-a925-44f0-aab2-c6a480ef0b35" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.024) 0:00:50.289 ******** 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, 13c1077e-a925-44f0-aab2-c6a480ef0b35\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13c1077e-a925-44f0-aab2-c6a480ef0b35" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.026) 0:00:50.315 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.023) 0:00:50.339 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.146) 0:00:50.485 ******** 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, 13c1077e-a925-44f0-aab2-c6a480ef0b35\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13c1077e-a925-44f0-aab2-c6a480ef0b35" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.022) 0:00:50.507 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.082) 0:00:50.590 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.045) 0:00:50.635 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.036) 0:00:50.672 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.030) 0:00:50.703 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:38:01 +0000 (0:00:00.026) 0:00:50.729 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:38:02 +0000 (0:00:00.774) 0:00:51.504 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.952) 0:00:52.457 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.025) 0:00:52.482 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.024) 0:00:52.507 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.025) 0:00:52.532 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.030) 0:00:52.562 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.037) 0:00:52.600 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.035) 0:00:52.635 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.055) 0:00:52.691 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.024) 0:00:52.715 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.067) 0:00:52.783 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:38:03 +0000 (0:00:00.036) 0:00:52.819 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.251) 0:00:53.071 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.037) 0:00:53.109 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.020) 0:00:53.129 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.019) 0:00:53.149 ******** 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, 13c1077e-a925-44f0-aab2-c6a480ef0b35 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.293) 0:00:53.442 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.029) 0:00:53.471 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 13c1077e-a925-44f0-aab2-c6a480ef0b35 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.030) 0:00:53.502 ******** 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, 13c1077e-a925-44f0-aab2-c6a480ef0b35 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 13c1077e-a925-44f0-aab2-c6a480ef0b35 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.026) 0:00:53.528 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.023) 0:00:53.551 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.141) 0:00:53.692 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.044) 0:00:53.737 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.046) 0:00:53.783 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.035) 0:00:53.819 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:38:04 +0000 (0:00:00.070) 0:00:53.889 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:38:05 +0000 (0:00:00.044) 0:00:53.934 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:38:05 +0000 (0:00:00.792) 0:00:54.726 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:38:06 +0000 (0:00:00.996) 0:00:55.723 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:38:06 +0000 (0:00:00.023) 0:00:55.747 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:38:06 +0000 (0:00:00.022) 0:00:55.769 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:38:06 +0000 (0:00:00.023) 0:00:55.792 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:38:06 +0000 (0:00:00.028) 0:00:55.821 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:38:06 +0000 (0:00:00.037) 0:00:55.858 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:38:06 +0000 (0:00:00.034) 0:00:55.893 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.051) 0:00:55.944 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.023) 0:00:55.968 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.023) 0:00:55.991 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.039) 0:00:56.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.258) 0:00:56.289 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.037) 0:00:56.327 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.060) 0:00:56.388 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.019) 0:00:56.408 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.411) 0:00:56.819 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.023) 0:00:56.843 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.024) 0:00:56.868 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:38:07 +0000 (0:00:00.023) 0:00:56.891 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.026) 0:00:56.918 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:30 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.157) 0:00:57.075 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.035) 0:00:57.111 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.040) 0:00:57.152 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.037) 0:00:57.189 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.033) 0:00:57.222 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.032) 0:00:57.255 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 14 March 2024 21:38:08 +0000 (0:00:00.024) 0:00:57.279 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 14 March 2024 21:38:09 +0000 (0:00:00.864) 0:00:58.144 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.992) 0:00:59.137 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.023) 0:00:59.161 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.024) 0:00:59.185 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.027) 0:00:59.213 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.038) 0:00:59.251 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.037) 0:00:59.289 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.039) 0:00:59.328 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.053) 0:00:59.382 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.022) 0:00:59.404 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.023) 0:00:59.428 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.033) 0:00:59.461 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.259) 0:00:59.721 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.035) 0:00:59.756 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.018) 0:00:59.775 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Thursday 14 March 2024 21:38:10 +0000 (0:00:00.019) 0:00:59.794 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.373) 0:01:00.168 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.071) 0:01:00.239 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.023) 0:01:00.263 ******** 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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.030) 0:01:00.294 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.032) 0:01:00.327 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:36 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.146) 0:01:00.473 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.039) 0:01:00.512 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.040) 0:01:00.553 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.030) 0:01:00.584 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.134) 0:01:00.719 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.020) 0:01:00.740 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020603", "end": "2024-03-14 21:38:11.967201", "rc": 1, "start": "2024-03-14 21:38:11.946598" } 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 March 2024 21:38:11 +0000 (0:00:00.155) 0:01:00.895 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 March 2024 21:38:12 +0000 (0:00:00.020) 0:01:00.915 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 March 2024 21:38:12 +0000 (0:00:00.020) 0:01:00.936 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 March 2024 21:38:12 +0000 (0:00:00.022) 0:01:00.959 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 March 2024 21:38:12 +0000 (0:00:00.022) 0:01:00.981 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 March 2024 21:38:12 +0000 (0:00:00.022) 0:01:01.003 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 14 March 2024 21:38:12 +0000 (0:00:00.085) 0:01:01.089 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.684046", "end": "2024-03-14 21:38:12.983877", "rc": 0, "start": "2024-03-14 21:38:12.299831" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.826) 0:01:01.915 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.022) 0:01:01.937 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:42 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.022) 0:01:01.959 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.053) 0:01:02.013 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.033) 0:01:02.046 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.135) 0:01:02.181 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:47 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.022) 0:01:02.204 ******** 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_hotfixmlvk788w/tests/playbooks/tasks/run_test.yml:66 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.021) 0:01:02.225 ******** included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixmlvk788w/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_hotfixmlvk788w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.039) 0:01:02.264 ******** 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.047941", "end": "2024-03-14 21:38:13.525400", "rc": 1, "start": "2024-03-14 21:38:13.477459" } 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_hotfixmlvk788w/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.188) 0:01:02.453 ******** 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.008566", "end": "2024-03-14 21:38:13.673869", "rc": 0, "start": "2024-03-14 21:38:13.665303" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d2:50:b6:cb brd ff:ff:ff:ff:ff:ff inet 10.31.13.210/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3286sec preferred_lft 3286sec inet6 fe80::8ff:d2ff:fe50:b6cb/64 scope link valid_lft forever preferred_lft forever 54: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 22:b4:28:45:3c:1a brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.210 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_hotfixmlvk788w/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 14 March 2024 21:38:13 +0000 (0:00:00.149) 0:01:02.603 ******** 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.632443", "end": "2024-03-14 21:38:14.451646", "rc": 0, "start": "2024-03-14 21:38:13.819203" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 691 0 --:--:-- --:--:-- --:--:-- 691 % 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 2060 0 --:--:-- --:--:-- --:--:-- 2063 PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=291 rescued=0 ignored=11 Thursday 14 March 2024 21:38:14 +0000 (0:00:00.852) 0:01:03.455 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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.09s /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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_hotfixmlvk788w/.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.95s /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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.95s /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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.86s /WORKDIR/git-nm_plugin_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Verify DNS and network connectivity ------------------------------------- 0.85s /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 0.85s /WORKDIR/git-nm_plugin_hotfixmlvk788w/.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_hotfixmlvk788w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.83s /WORKDIR/git-nm_plugin_hotfixmlvk788w/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---