# 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_hotfixqe27yg0a/.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_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/tests_states_nm.yml:6 Tuesday 27 February 2024 23:25:16 +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_hotfixqe27yg0a/tests/tests_states_nm.yml:9 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.757) 0:00:00.769 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:3 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.012) 0:00:00.781 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:17 Tuesday 27 February 2024 23:25:17 +0000 (0:00:00.256) 0:00:01.038 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:22 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.204) 0:00:01.242 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:26 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.014) 0:00:01.257 ****** 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_hotfixqe27yg0a/tests/tasks/el_repo_setup.yml:51 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.009) 0:00:01.267 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/tasks/enable_epel.yml:8 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.021) 0:00:01.288 ****** 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_hotfixqe27yg0a/tests/tasks/enable_epel.yml:24 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.211) 0:00:01.500 ****** 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_hotfixqe27yg0a/tests/tasks/enable_epel.yml:30 Tuesday 27 February 2024 23:25:18 +0000 (0:00:00.422) 0:00:01.922 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.180576", "end": "2024-02-27 23:25:19.145651", "rc": 0, "start": "2024-02-27 23:25:18.965075" } 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_hotfixqe27yg0a/tests/tasks/enable_epel.yml:35 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.312) 0:00:02.235 ****** 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_hotfixqe27yg0a/tests/tasks/enable_epel.yml:40 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.008) 0:00:02.244 ****** 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_hotfixqe27yg0a/tests/tests_states_nm.yml:11 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.009) 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_hotfixqe27yg0a/tests/playbooks/tests_states.yml:3 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.032) 0:00:02.285 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:11 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.530) 0:00:02.816 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tests_states.yml:22 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.017) 0:00:02.833 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.017) 0:00:02.850 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.011) 0:00:02.861 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.032) 0:00:02.894 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.012) 0:00:02.906 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.019) 0:00:02.926 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003828", "end": "2024-02-27 23:25:19.983146", "rc": 0, "start": "2024-02-27 23:25:19.979318" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:19 +0000 (0:00:00.145) 0:00:03.071 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.011) 0:00:03.083 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.009) 0:00:03.092 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.015) 0:00:03.108 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011494", "end": "2024-02-27 23:25:20.166153", "rc": 1, "start": "2024-02-27 23:25:20.154659" } 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.148) 0:00:03.257 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.021) 0:00:03.278 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.145) 0:00:03.424 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.018) 0:00:03.442 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.016) 0:00:03.459 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.047) 0:00:03.506 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.022) 0:00:03.529 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.018) 0:00:03.547 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.014) 0:00:03.562 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:20 +0000 (0:00:00.018) 0:00:03.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 : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:21 +0000 (0:00:00.896) 0:00:04.477 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:22 +0000 (0:00:01.120) 0:00:05.598 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.022) 0:00:05.620 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.020) 0:00:05.640 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.019) 0:00:05.660 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:22 +0000 (0:00:00.026) 0:00:05.686 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:25 +0000 (0:00:03.213) 0:00:08.900 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.051) 0:00:08.951 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.075) 0:00:09.027 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:25 +0000 (0:00:00.032) 0:00:09.060 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.067) 0:00:09.128 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.042) 0:00:09.170 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.431) 0:00:09.601 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.036) 0:00:09.638 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.029) 0:00:09.668 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:26 +0000 (0:00:00.030) 0:00:09.699 ****** 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, 4a0e12e4-6e1b-4789-9f34-37598cbea833 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.589) 0:00:10.288 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.028) 0:00:10.316 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a0e12e4-6e1b-4789-9f34-37598cbea833" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.032) 0:00:10.349 ****** 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, 4a0e12e4-6e1b-4789-9f34-37598cbea833\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a0e12e4-6e1b-4789-9f34-37598cbea833" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.035) 0:00:10.384 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.030) 0:00:10.414 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.263) 0:00:10.678 ****** 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, 4a0e12e4-6e1b-4789-9f34-37598cbea833\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a0e12e4-6e1b-4789-9f34-37598cbea833" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.028) 0:00:10.707 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.055) 0:00:10.762 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.032) 0:00:10.795 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.019) 0:00:10.814 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076327.1120803, "block_size": 4096, "blocks": 8, "ctime": 1709076327.1110802, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709076327.1110802, "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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.210) 0:00:11.024 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:25:27 +0000 (0:00:00.032) 0:00:11.057 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024092", "end": "2024-02-27 23:25:28.127815", "rc": 0, "start": "2024-02-27 23:25:28.103723" } 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.175) 0:00:11.233 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.021) 0:00:11.254 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.021) 0:00:11.275 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.019) 0:00:11.294 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.020) 0:00:11.315 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.018) 0:00:11.334 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.021) 0:00:11.355 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.020) 0:00:11.376 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.020) 0:00:11.397 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.045) 0:00:11.443 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.029) 0:00:11.472 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076327.1180804, "block_size": 4096, "blocks": 0, "ctime": 1709076327.1140802, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17621, "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": 1709076327.1140802, "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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.143) 0:00:11.615 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.020) 0:00:11.636 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.020) 0:00:11.656 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.079) 0:00:11.736 ****** 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.081223", "end": "2024-02-27 23:25:28.865612", "rc": 1, "start": "2024-02-27 23:25:28.784389" } STDOUT: Connection 'statebr' (4a0e12e4-6e1b-4789-9f34-37598cbea833) successfully deleted. STDERR: (process:22928): GLib-GIO-WARNING **: 23:25:28.845: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/28 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_hotfixqe27yg0a/tests/playbooks/tests_states.yml:45 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.224) 0:00:11.961 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.030) 0:00:11.991 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.019) 0:00:12.011 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:28 +0000 (0:00:00.037) 0:00:12.048 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.029) 0:00:12.078 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.029) 0:00:12.108 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003860", "end": "2024-02-27 23:25:29.155927", "rc": 0, "start": "2024-02-27 23:25:29.152067" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.144) 0:00:12.252 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.020) 0:00:12.272 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.020) 0:00:12.293 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.032) 0:00:12.325 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008403", "end": "2024-02-27 23:25:29.380046", "rc": 1, "start": "2024-02-27 23:25:29.371643" } 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.150) 0:00:12.476 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.029) 0:00:12.506 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.143) 0:00:12.650 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.047) 0:00:12.697 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.034) 0:00:12.731 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.039) 0:00:12.771 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.036) 0:00:12.807 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.030) 0:00:12.838 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.021) 0:00:12.860 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:29 +0000 (0:00:00.021) 0:00:12.881 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:30 +0000 (0:00:00.780) 0:00:13.662 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:31 +0000 (0:00:00.970) 0:00:14.633 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:31 +0000 (0:00:00.036) 0:00:14.670 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:31 +0000 (0:00:00.024) 0:00:14.695 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:31 +0000 (0:00:00.029) 0:00:14.725 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:31 +0000 (0:00:00.052) 0:00:14.777 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:35 +0000 (0:00:03.396) 0:00:18.174 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.063) 0:00:18.237 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.136) 0:00:18.374 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.038) 0:00:18.413 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.027) 0:00:18.441 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.068) 0:00:18.510 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.309) 0:00:18.819 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.040) 0:00:18.860 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.020) 0:00:18.881 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:35 +0000 (0:00:00.019) 0:00:18.900 ****** 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, 433488ba-1284-4826-aeda-0de441d067ee TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.302) 0:00:19.203 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.021) 0:00:19.225 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433488ba-1284-4826-aeda-0de441d067ee" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.022) 0:00:19.247 ****** 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, 433488ba-1284-4826-aeda-0de441d067ee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433488ba-1284-4826-aeda-0de441d067ee" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.025) 0:00:19.272 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.021) 0:00:19.294 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.146) 0:00:19.441 ****** 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, 433488ba-1284-4826-aeda-0de441d067ee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 433488ba-1284-4826-aeda-0de441d067ee" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.020) 0:00:19.462 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.065) 0:00:19.527 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.032) 0:00:19.560 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.143) 0:00:19.703 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.021) 0:00:19.724 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.032) 0:00:19.756 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.019) 0:00:19.775 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076336.0890973, "block_size": 4096, "blocks": 8, "ctime": 1709076336.0890973, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25300, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709076336.0890973, "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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.149) 0:00:19.925 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:25:36 +0000 (0:00:00.020) 0:00:19.945 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022941", "end": "2024-02-27 23:25:37.013102", "rc": 0, "start": "2024-02-27 23:25:36.990161" } 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.179) 0:00:20.124 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.033) 0:00:20.158 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.020) 0:00:20.179 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.023) 0:00:20.202 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.019) 0:00:20.222 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.020) 0:00:20.242 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.022) 0:00:20.264 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.021) 0:00:20.285 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.048) 0:00:20.334 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.026) 0:00:20.360 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.022) 0:00:20.383 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.043) 0:00:20.426 ****** 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.050974", "end": "2024-02-27 23:25:37.532772", "rc": 1, "start": "2024-02-27 23:25:37.481798" } STDOUT: Connection 'statebr' (433488ba-1284-4826-aeda-0de441d067ee) 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_hotfixqe27yg0a/tests/playbooks/tests_states.yml:65 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.207) 0:00:20.634 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.040) 0:00:20.674 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.020) 0:00:20.695 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.044) 0:00:20.739 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.031) 0:00:20.771 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.028) 0:00:20.800 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003928", "end": "2024-02-27 23:25:37.854518", "rc": 0, "start": "2024-02-27 23:25:37.850590" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.151) 0:00:20.951 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.020) 0:00:20.971 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.020) 0:00:20.991 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:25:37 +0000 (0:00:00.031) 0:00:21.023 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:38 +0000 (0:00:00.074) 0:00:21.098 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:38 +0000 (0:00:00.040) 0:00:21.138 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:38 +0000 (0:00:00.033) 0:00:21.171 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:38 +0000 (0:00:00.028) 0:00:21.199 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:38 +0000 (0:00:00.026) 0:00:21.225 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:38 +0000 (0:00:00.785) 0:00:22.010 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.984) 0:00:22.994 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.024) 0:00:23.019 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.024) 0:00:23.043 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:39 +0000 (0:00:00.023) 0:00:23.066 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:40 +0000 (0:00:00.036) 0:00:23.103 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:43 +0000 (0:00:03.446) 0:00:26.550 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.033) 0:00:26.584 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.052) 0:00:26.636 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.063) 0:00:26.700 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.021) 0:00:26.722 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.036) 0:00:26.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:43 +0000 (0:00:00.279) 0:00:27.038 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.036) 0:00:27.074 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.022) 0:00:27.096 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.022) 0:00:27.118 ****** 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, a49e721f-bcd5-49a8-af89-9d47caf00135 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.356) 0:00:27.475 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.021) 0:00:27.497 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a49e721f-bcd5-49a8-af89-9d47caf00135" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.022) 0:00:27.519 ****** 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, a49e721f-bcd5-49a8-af89-9d47caf00135\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a49e721f-bcd5-49a8-af89-9d47caf00135" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.023) 0:00:27.542 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.022) 0:00:27.565 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.155) 0:00:27.720 ****** 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, a49e721f-bcd5-49a8-af89-9d47caf00135\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a49e721f-bcd5-49a8-af89-9d47caf00135" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.022) 0:00:27.743 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.034) 0:00:27.778 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.040) 0:00:27.819 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.070) 0:00:27.889 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.032) 0:00:27.922 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.022) 0:00:27.945 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:44 +0000 (0:00:00.021) 0:00:27.967 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:45 +0000 (0:00:00.782) 0:00:28.749 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.968) 0:00:29.718 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.022) 0:00:29.740 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.022) 0:00:29.763 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.022) 0:00:29.786 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:46 +0000 (0:00:00.028) 0:00:29.814 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:50 +0000 (0:00:03.876) 0:00:33.691 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.034) 0:00:33.725 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.052) 0:00:33.778 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.024) 0:00:33.802 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.023) 0:00:33.826 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:50 +0000 (0:00:00.106) 0:00:33.932 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.272) 0:00:34.205 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.034) 0:00:34.239 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.021) 0:00:34.261 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.018) 0:00:34.280 ****** 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, a49e721f-bcd5-49a8-af89-9d47caf00135 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.306) 0:00:34.587 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.021) 0:00:34.609 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a49e721f-bcd5-49a8-af89-9d47caf00135 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.021) 0:00:34.630 ****** 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, a49e721f-bcd5-49a8-af89-9d47caf00135 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a49e721f-bcd5-49a8-af89-9d47caf00135 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.022) 0:00:34.652 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.021) 0:00:34.674 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.152) 0:00:34.827 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.036) 0:00:34.863 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.029) 0:00:34.892 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076344.3191128, "block_size": 4096, "blocks": 0, "ctime": 1709076344.3181126, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17621, "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": 1709076344.3181126, "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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.141) 0:00:35.034 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 27 February 2024 23:25:51 +0000 (0:00:00.020) 0:00:35.054 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.060) 0:00:35.114 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.019) 0:00:35.134 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076344.4001129, "block_size": 4096, "blocks": 8, "ctime": 1709076344.3161128, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25300, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709076344.3161128, "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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.142) 0:00:35.277 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.021) 0:00:35.298 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023313", "end": "2024-02-27 23:25:52.368920", "rc": 0, "start": "2024-02-27 23:25:52.345607" } 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.166) 0:00:35.465 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.021) 0:00:35.487 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.019) 0:00:35.506 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.018) 0:00:35.525 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.019) 0:00:35.544 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.018) 0:00:35.563 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.024) 0:00:35.587 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.022) 0:00:35.610 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.021) 0:00:35.631 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.029) 0:00:35.660 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.019) 0:00:35.680 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.033) 0:00:35.714 ****** 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.082155", "end": "2024-02-27 23:25:52.850979", "rc": 1, "start": "2024-02-27 23:25:52.768824" } STDOUT: Connection 'statebr' (a49e721f-bcd5-49a8-af89-9d47caf00135) 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_hotfixqe27yg0a/tests/playbooks/tests_states.yml:83 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.232) 0:00:35.947 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.059) 0:00:36.007 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.020) 0:00:36.027 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:25:52 +0000 (0:00:00.037) 0:00:36.065 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:25:53 +0000 (0:00:00.030) 0:00:36.095 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:25:53 +0000 (0:00:00.029) 0:00:36.125 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005445", "end": "2024-02-27 23:25:54.178612", "rc": 0, "start": "2024-02-27 23:25:53.173167" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:25:54 +0000 (0:00:01.150) 0:00:37.275 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.021) 0:00:37.297 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.020) 0:00:37.318 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.034) 0:00:37.352 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.039) 0:00:37.392 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.036) 0:00:37.428 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.031) 0:00:37.460 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.021) 0:00:37.481 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:25:54 +0000 (0:00:00.060) 0:00:37.542 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:25:55 +0000 (0:00:00.790) 0:00:38.333 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:25:56 +0000 (0:00:00.972) 0:00:39.305 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:25:56 +0000 (0:00:00.021) 0:00:39.326 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:25:56 +0000 (0:00:00.022) 0:00:39.349 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:25:56 +0000 (0:00:00.022) 0:00:39.371 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:25:56 +0000 (0:00:00.032) 0:00:39.404 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:25:59 +0000 (0:00:03.459) 0:00:42.863 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.041) 0:00:42.905 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.062) 0:00:42.968 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.033) 0:00:43.002 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.023) 0:00:43.025 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:25:59 +0000 (0:00:00.033) 0:00:43.058 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.277) 0:00:43.336 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.035) 0:00:43.371 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.019) 0:00:43.391 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.019) 0:00:43.410 ****** 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, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.426) 0:00:43.837 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.023) 0:00:43.860 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.022) 0:00:43.883 ****** 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, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.023) 0:00:43.907 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:00 +0000 (0:00:00.022) 0:00:43.929 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.149) 0:00:44.079 ****** 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, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.021) 0:00:44.100 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.039) 0:00:44.139 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.036) 0:00:44.176 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.032) 0:00:44.209 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.023) 0:00:44.232 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.022) 0:00:44.254 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:01 +0000 (0:00:00.787) 0:00:45.042 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:03 +0000 (0:00:01.048) 0:00:46.091 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:03 +0000 (0:00:00.035) 0:00:46.126 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:03 +0000 (0:00:00.024) 0:00:46.151 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:03 +0000 (0:00:00.023) 0:00:46.175 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:03 +0000 (0:00:00.033) 0:00:46.208 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:07 +0000 (0:00:04.257) 0:00:50.466 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.048) 0:00:50.514 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.054) 0:00:50.569 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.025) 0:00:50.594 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.032) 0:00:50.627 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.045) 0:00:50.672 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.274) 0:00:50.947 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.043) 0:00:50.991 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.019) 0:00:51.010 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:07 +0000 (0:00:00.018) 0:00:51.029 ****** 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, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.297) 0:00:51.326 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.021) 0:00:51.348 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.022) 0:00:51.370 ****** 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, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9b4c765b-bd61-49c6-b673-f9d1871a5ac7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.021) 0:00:51.392 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.098) 0:00:51.490 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.148) 0:00:51.639 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.036) 0:00:51.675 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.041) 0:00:51.716 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.040) 0:00:51.757 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.033) 0:00:51.791 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.022) 0:00:51.814 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:08 +0000 (0:00:00.023) 0:00:51.837 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:09 +0000 (0:00:00.729) 0:00:52.566 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.959) 0:00:53.526 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.022) 0:00:53.548 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.021) 0:00:53.570 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.053) 0:00:53.624 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:10 +0000 (0:00:00.028) 0:00:53.652 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:13 +0000 (0:00:03.294) 0:00:56.947 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:13 +0000 (0:00:00.041) 0:00:56.989 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:13 +0000 (0:00:00.051) 0:00:57.040 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:13 +0000 (0:00:00.022) 0:00:57.062 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.021) 0:00:57.084 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.035) 0:00:57.119 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.259) 0:00:57.379 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.039) 0:00:57.418 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.022) 0:00:57.441 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.019) 0:00:57.460 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.339) 0:00:57.800 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.025) 0:00:57.825 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.022) 0:00:57.848 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.022) 0:00:57.871 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.021) 0:00:57.892 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:26:14 +0000 (0:00:00.148) 0:00:58.041 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.077) 0:00:58.118 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.029) 0:00:58.148 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1709076360.6511436, "block_size": 4096, "blocks": 0, "ctime": 1709076360.6461434, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17624, "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": 1709076360.6461434, "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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.143) 0:00:58.291 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.021) 0:00:58.313 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.030) 0:00:58.344 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.019) 0:00:58.363 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.140) 0:00:58.504 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.020) 0:00:58.524 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022523", "end": "2024-02-27 23:26:15.593399", "rc": 1, "start": "2024-02-27 23:26:15.570876" } 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.165) 0:00:58.689 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.019) 0:00:58.709 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.020) 0:00:58.729 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.021) 0:00:58.751 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.021) 0:00:58.772 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.020) 0:00:58.793 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.021) 0:00:58.815 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.063) 0:00:58.878 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.023) 0:00:58.901 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:26:15 +0000 (0:00:00.040) 0:00:58.942 ****** 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.084520", "end": "2024-02-27 23:26:16.073252", "rc": 1, "start": "2024-02-27 23:26:15.988732" } STDOUT: Connection 'statebr' (9b4c765b-bd61-49c6-b673-f9d1871a5ac7) successfully deleted. STDERR: (process:24384): GLib-GIO-WARNING **: 23:26:16.046: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 but no object proxy exists (process:24384): GLib-GIO-WARNING **: 23:26:16.047: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/50 but no object proxy exists (process:24384): GLib-GIO-WARNING **: 23:26:16.047: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/27 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_hotfixqe27yg0a/tests/playbooks/tests_states.yml:102 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.230) 0:00:59.173 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.030) 0:00:59.204 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.020) 0:00:59.224 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.038) 0:00:59.262 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.030) 0:00:59.292 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.028) 0:00:59.321 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004585", "end": "2024-02-27 23:26:16.371432", "rc": 0, "start": "2024-02-27 23:26:16.366847" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.145) 0:00:59.467 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.020) 0:00:59.488 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.019) 0:00:59.507 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.036) 0:00:59.544 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.070) 0:00:59.614 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.037) 0:00:59.651 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.032) 0:00:59.684 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.021) 0:00:59.706 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:16 +0000 (0:00:00.022) 0:00:59.728 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:17 +0000 (0:00:00.763) 0:01:00.492 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:18 +0000 (0:00:00.961) 0:01:01.454 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:18 +0000 (0:00:00.021) 0:01:01.475 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:18 +0000 (0:00:00.021) 0:01:01.497 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:18 +0000 (0:00:00.021) 0:01:01.518 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:18 +0000 (0:00:00.028) 0:01:01.547 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:21 +0000 (0:00:03.190) 0:01:04.737 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.046) 0:01:04.784 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.054) 0:01:04.839 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.022) 0:01:04.862 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.061) 0:01:04.923 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:21 +0000 (0:00:00.033) 0:01:04.957 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.255) 0:01:05.213 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.034) 0:01:05.247 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.021) 0:01:05.269 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.022) 0:01:05.291 ****** 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, 85455fb4-e071-484d-8a96-4145fabb1d11 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.359) 0:01:05.651 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.027) 0:01:05.678 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85455fb4-e071-484d-8a96-4145fabb1d11" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.027) 0:01:05.706 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85455fb4-e071-484d-8a96-4145fabb1d11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85455fb4-e071-484d-8a96-4145fabb1d11" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.025) 0:01:05.732 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.021) 0:01:05.753 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.163) 0:01:05.917 ****** 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, 85455fb4-e071-484d-8a96-4145fabb1d11\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85455fb4-e071-484d-8a96-4145fabb1d11" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.030) 0:01:05.947 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.041) 0:01:05.989 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.046) 0:01:06.035 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:22 +0000 (0:00:00.035) 0:01:06.071 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:23 +0000 (0:00:00.063) 0:01:06.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 : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:23 +0000 (0:00:00.030) 0:01:06.164 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:23 +0000 (0:00:00.756) 0:01:06.921 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.973) 0:01:07.895 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.022) 0:01:07.917 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.022) 0:01:07.940 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.023) 0:01:07.963 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:24 +0000 (0:00:00.030) 0:01:07.994 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:28 +0000 (0:00:03.508) 0:01:11.503 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.040) 0:01:11.543 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.069) 0:01:11.612 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.025) 0:01:11.638 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.025) 0:01:11.663 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.038) 0:01:11.702 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.292) 0:01:11.994 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.046) 0:01:12.041 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:28 +0000 (0:00:00.021) 0:01:12.062 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.071) 0:01:12.134 ****** 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, 85455fb4-e071-484d-8a96-4145fabb1d11 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.290) 0:01:12.424 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.022) 0:01:12.447 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85455fb4-e071-484d-8a96-4145fabb1d11 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.023) 0:01:12.471 ****** 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, 85455fb4-e071-484d-8a96-4145fabb1d11 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85455fb4-e071-484d-8a96-4145fabb1d11 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.023) 0:01:12.494 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.024) 0:01:12.519 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.145) 0:01:12.664 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.040) 0:01:12.705 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.037) 0:01:12.743 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.036) 0:01:12.779 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.024) 0:01:12.804 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:29 +0000 (0:00:00.022) 0:01:12.827 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:30 +0000 (0:00:00.734) 0:01:13.562 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:31 +0000 (0:00:01.038) 0:01:14.600 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.022) 0:01:14.623 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.021) 0:01:14.644 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.022) 0:01:14.667 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:31 +0000 (0:00:00.027) 0:01:14.694 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:35 +0000 (0:00:03.640) 0:01:18.334 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.036) 0:01:18.370 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.056) 0:01:18.426 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.023) 0:01:18.450 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.022) 0:01:18.473 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.035) 0:01:18.508 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.257) 0:01:18.766 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.040) 0:01:18.807 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.021) 0:01:18.828 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:35 +0000 (0:00:00.022) 0:01:18.850 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.343) 0:01:19.194 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.029) 0:01:19.223 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.030) 0:01:19.254 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.043) 0:01:19.298 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.102) 0:01:19.401 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.205) 0:01:19.607 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.037) 0:01:19.644 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.045) 0:01:19.690 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.044) 0:01:19.735 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.033) 0:01:19.769 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.026) 0:01:19.795 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:36 +0000 (0:00:00.049) 0:01:19.844 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:37 +0000 (0:00:00.791) 0:01:20.636 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.963) 0:01:21.599 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.023) 0:01:21.623 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.024) 0:01:21.647 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.068) 0:01:21.716 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:38 +0000 (0:00:00.031) 0:01:21.747 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:41 +0000 (0:00:03.106) 0:01:24.854 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:41 +0000 (0:00:00.039) 0:01:24.894 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:41 +0000 (0:00:00.076) 0:01:24.971 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:41 +0000 (0:00:00.036) 0:01:25.007 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:41 +0000 (0:00:00.024) 0:01:25.032 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:41 +0000 (0:00:00.040) 0:01:25.072 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.261) 0:01:25.333 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.035) 0:01:25.369 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.028) 0:01:25.397 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.024) 0:01:25.421 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.387) 0:01:25.809 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.037) 0:01:25.846 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.022) 0:01:25.869 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.024) 0:01:25.893 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:42 +0000 (0:00:00.024) 0:01:25.918 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.167) 0:01:26.086 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.070) 0:01:26.156 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.039) 0:01:26.195 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.024) 0:01:26.220 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.154) 0:01:26.374 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.027) 0:01:26.402 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021160", "end": "2024-02-27 23:26:43.476815", "rc": 1, "start": "2024-02-27 23:26:43.455655" } 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.176) 0:01:26.579 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.021) 0:01:26.600 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.019) 0:01:26.619 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.020) 0:01:26.640 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.019) 0:01:26.659 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.020) 0:01:26.679 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.022) 0:01:26.702 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.045) 0:01:26.748 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.030) 0:01:26.779 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.146) 0:01:26.925 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.072) 0:01:26.998 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.024) 0:01:27.023 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:26:43 +0000 (0:00:00.041) 0:01:27.064 ****** 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.044036", "end": "2024-02-27 23:26:44.182452", "rc": 1, "start": "2024-02-27 23:26:44.138416" } 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_hotfixqe27yg0a/tests/playbooks/tests_states.yml:124 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.218) 0:01:27.282 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:5 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.033) 0:01:27.316 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:9 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.021) 0:01:27.337 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:21 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.039) 0:01:27.377 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.030) 0:01:27.407 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.028) 0:01:27.436 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004025", "end": "2024-02-27 23:26:44.484339", "rc": 0, "start": "2024-02-27 23:26:44.480314" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.144) 0:01:27.581 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.020) 0:01:27.601 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:24 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.020) 0:01:27.622 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.036) 0:01:27.659 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.076) 0:01:27.735 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.038) 0:01:27.774 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.035) 0:01:27.809 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.027) 0:01:27.837 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:44 +0000 (0:00:00.022) 0:01:27.859 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:45 +0000 (0:00:00.758) 0:01:28.618 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:46 +0000 (0:00:00.981) 0:01:29.600 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:46 +0000 (0:00:00.027) 0:01:29.627 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:46 +0000 (0:00:00.024) 0:01:29.652 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:46 +0000 (0:00:00.040) 0:01:29.692 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:46 +0000 (0:00:00.027) 0:01:29.719 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:49 +0000 (0:00:03.236) 0:01:32.956 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:49 +0000 (0:00:00.034) 0:01:32.991 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:49 +0000 (0:00:00.050) 0:01:33.041 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.067) 0:01:33.108 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.022) 0:01:33.131 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.034) 0:01:33.166 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.264) 0:01:33.431 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.040) 0:01:33.471 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.019) 0:01:33.490 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.020) 0:01:33.510 ****** 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, 6138a05e-719a-45e6-a93e-8bd0560c050c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.347) 0:01:33.858 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.023) 0:01:33.881 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6138a05e-719a-45e6-a93e-8bd0560c050c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.024) 0:01:33.905 ****** 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, 6138a05e-719a-45e6-a93e-8bd0560c050c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6138a05e-719a-45e6-a93e-8bd0560c050c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.024) 0:01:33.930 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:50 +0000 (0:00:00.022) 0:01:33.953 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.159) 0:01:34.112 ****** 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, 6138a05e-719a-45e6-a93e-8bd0560c050c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6138a05e-719a-45e6-a93e-8bd0560c050c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.023) 0:01:34.136 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.042) 0:01:34.178 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.043) 0:01:34.222 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.140) 0:01:34.363 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.029) 0:01:34.392 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:51 +0000 (0:00:00.025) 0:01:34.418 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:52 +0000 (0:00:00.779) 0:01:35.197 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:53 +0000 (0:00:00.970) 0:01:36.168 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:53 +0000 (0:00:00.026) 0:01:36.194 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:53 +0000 (0:00:00.026) 0:01:36.220 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:53 +0000 (0:00:00.031) 0:01:36.251 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:53 +0000 (0:00:00.028) 0:01:36.280 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:26:56 +0000 (0:00:03.462) 0:01:39.743 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:26:56 +0000 (0:00:00.035) 0:01:39.778 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:26:56 +0000 (0:00:00.055) 0:01:39.834 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:26:56 +0000 (0:00:00.025) 0:01:39.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:26:56 +0000 (0:00:00.023) 0:01:39.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:26:56 +0000 (0:00:00.036) 0:01:39.919 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.264) 0:01:40.183 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.107) 0:01:40.291 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.020) 0:01:40.312 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.022) 0:01:40.334 ****** 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, 6138a05e-719a-45e6-a93e-8bd0560c050c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.297) 0:01:40.631 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.024) 0:01:40.656 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6138a05e-719a-45e6-a93e-8bd0560c050c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.027) 0:01:40.684 ****** 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, 6138a05e-719a-45e6-a93e-8bd0560c050c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6138a05e-719a-45e6-a93e-8bd0560c050c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.022) 0:01:40.706 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.023) 0:01:40.730 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.161) 0:01:40.892 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.050) 0:01:40.942 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.043) 0:01:40.986 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.036) 0:01:41.022 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.023) 0:01:41.045 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:26:57 +0000 (0:00:00.022) 0:01:41.067 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:26:58 +0000 (0:00:00.792) 0:01:41.860 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:26:59 +0000 (0:00:01.088) 0:01:42.948 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.022) 0:01:42.970 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.024) 0:01:42.995 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.024) 0:01:43.019 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:26:59 +0000 (0:00:00.034) 0:01:43.054 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:27:03 +0000 (0:00:03.190) 0:01:46.244 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.035) 0:01:46.280 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.053) 0:01:46.334 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.022) 0:01:46.357 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.023) 0:01:46.380 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.034) 0:01:46.415 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.266) 0:01:46.682 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.036) 0:01:46.718 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.018) 0:01:46.737 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:27:03 +0000 (0:00:00.019) 0:01:46.756 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.441) 0:01:47.198 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.024) 0:01:47.222 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.062) 0:01:47.285 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.023) 0:01:47.308 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.022) 0:01:47.330 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:30 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.161) 0:01:47.492 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.034) 0:01:47.526 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.040) 0:01:47.566 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.038) 0:01:47.605 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.032) 0:01:47.637 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.022) 0:01:47.660 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:27:04 +0000 (0:00:00.021) 0:01:47.681 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:27:05 +0000 (0:00:00.756) 0:01:48.438 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:27:06 +0000 (0:00:00.954) 0:01:49.392 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:27:06 +0000 (0:00:00.070) 0:01:49.463 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:27:06 +0000 (0:00:00.024) 0:01:49.487 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:27:06 +0000 (0:00:00.023) 0:01:49.510 ****** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:27:06 +0000 (0:00:00.028) 0:01:49.539 ****** ok: [sut] => { "changed": false, "changes": { "installed": [], "updated": [] }, "rc": 0, "results": [ "All packages providing NetworkManager are up to date", "All packages providing python-gobject-base are up to date" ] } 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:27:09 +0000 (0:00:03.468) 0:01:53.008 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:27:09 +0000 (0:00:00.033) 0:01:53.041 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.052) 0:01:53.094 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.023) 0:01:53.117 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.022) 0:01:53.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.034) 0:01:53.174 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.262) 0:01:53.436 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.038) 0:01:53.475 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.031) 0:01:53.506 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.021) 0:01:53.528 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.315) 0:01:53.844 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.022) 0:01:53.866 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.022) 0:01:53.889 ****** 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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.025) 0:01:53.915 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:27:10 +0000 (0:00:00.023) 0:01:53.939 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:36 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.190) 0:01:54.129 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.043) 0:01:54.173 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.033) 0:01:54.206 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.023) 0:01:54.229 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.140) 0:01:54.370 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.018) 0:01:54.388 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019827", "end": "2024-02-27 23:27:11.450520", "rc": 1, "start": "2024-02-27 23:27:11.430693" } 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.162) 0:01:54.551 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.019) 0:01:54.570 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.020) 0:01:54.591 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.019) 0:01:54.611 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.018) 0:01:54.629 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.019) 0:01:54.649 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 27 February 2024 23:27:11 +0000 (0:00:00.020) 0:01:54.670 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.685124", "end": "2024-02-27 23:27:12.398627", "rc": 0, "start": "2024-02-27 23:27:11.713503" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.826) 0:01:55.496 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.022) 0:01:55.518 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:42 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.022) 0:01:55.540 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.092) 0:01:55.633 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.034) 0:01:55.668 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.143) 0:01:55.811 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:47 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.022) 0:01:55.834 ****** 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_hotfixqe27yg0a/tests/playbooks/tasks/run_test.yml:66 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.020) 0:01:55.854 ****** included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfixqe27yg0a/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_hotfixqe27yg0a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 27 February 2024 23:27:12 +0000 (0:00:00.038) 0:01:55.893 ****** 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.044524", "end": "2024-02-27 23:27:12.993626", "rc": 1, "start": "2024-02-27 23:27:12.949102" } 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_hotfixqe27yg0a/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 27 February 2024 23:27:13 +0000 (0:00:00.196) 0:01:56.089 ****** 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.007805", "end": "2024-02-27 23:27:13.142233", "rc": 0, "start": "2024-02-27 23:27:13.134428" } 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:e9:51:e0:fd brd ff:ff:ff:ff:ff:ff inet 10.31.14.32/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2894sec preferred_lft 2894sec inet6 fe80::8ff:e9ff:fe51:e0fd/64 scope link valid_lft forever preferred_lft forever 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.14.32 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_hotfixqe27yg0a/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 27 February 2024 23:27:13 +0000 (0:00:00.149) 0:01:56.239 ****** 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.384701", "end": "2024-02-27 23:27:13.675993", "rc": 0, "start": "2024-02-27 23:27:13.291292" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1604 0 --:--:-- --:--:-- --:--:-- 1605 % 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 1683 0 --:--:-- --:--:-- --:--:-- 1691 PLAY RECAP ********************************************************************* sut : ok=340 changed=10 unreachable=0 failed=0 skipped=276 rescued=0 ignored=11 Tuesday 27 February 2024 23:27:13 +0000 (0:00:00.561) 0:01:56.801 ****** =============================================================================== fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 4.26s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.88s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.64s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.51s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.47s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.46s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.46s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.45s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.40s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.29s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.24s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.21s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.19s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.19s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 3.11s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.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_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /WORKDIR/git-nm_plugin_hotfixqe27yg0a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---