# 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_hotfix9kv_07s9/.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_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/tests_states_nm.yml:6 Thursday 22 February 2024 03:49:42 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tests_states_nm.yml:9 Thursday 22 February 2024 03:49:42 +0000 (0:00:00.733) 0:00:00.744 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 03:49:42 +0000 (0:00:00.012) 0:00:00.757 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:17 Thursday 22 February 2024 03:49:43 +0000 (0:00:00.236) 0:00:00.993 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:22 Thursday 22 February 2024 03:49:43 +0000 (0:00:00.176) 0:00:01.169 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:26 Thursday 22 February 2024 03:49:43 +0000 (0:00:00.013) 0:00:01.183 ***** 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_hotfix9kv_07s9/tests/tasks/el_repo_setup.yml:51 Thursday 22 February 2024 03:49:43 +0000 (0:00:00.007) 0:00:01.190 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 03:49:43 +0000 (0:00:00.020) 0:00:01.211 ***** 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_hotfix9kv_07s9/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 03:49:43 +0000 (0:00:00.177) 0:00:01.389 ***** 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_hotfix9kv_07s9/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 03:49:43 +0000 (0:00:00.402) 0:00:01.791 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172460", "end": "2024-02-22 03:49:44.135389", "rc": 0, "start": "2024-02-22 03:49:43.962929" } 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_hotfix9kv_07s9/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.292) 0:00:02.083 ***** 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_hotfix9kv_07s9/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.008) 0:00:02.092 ***** 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_hotfix9kv_07s9/tests/tests_states_nm.yml:11 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.007) 0:00:02.099 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tests_states.yml:3 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.014) 0:00:02.114 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tests_states.yml:11 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.505) 0:00:02.619 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tests_states.yml:22 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.011) 0:00:02.630 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.014) 0:00:02.644 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.009) 0:00:02.654 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.027) 0:00:02.682 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.012) 0:00:02.694 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.012) 0:00:02.707 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003697", "end": "2024-02-22 03:49:44.890243", "rc": 0, "start": "2024-02-22 03:49:44.886546" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.131) 0:00:02.838 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.010) 0:00:02.848 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.009) 0:00:02.858 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:49:44 +0000 (0:00:00.016) 0:00:02.874 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011712", "end": "2024-02-22 03:49:45.057619", "rc": 1, "start": "2024-02-22 03:49:45.045907" } 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.130) 0:00:03.005 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.013) 0:00:03.019 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.120) 0:00:03.139 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.010) 0:00:03.150 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.014) 0:00:03.165 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.032) 0:00:03.197 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.025) 0:00:03.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.019) 0:00:03.241 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.011) 0:00:03.253 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:49:45 +0000 (0:00:00.011) 0:00:03.264 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:49:46 +0000 (0:00:00.818) 0:00:04.083 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:49:47 +0000 (0:00:01.097) 0:00:05.180 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:49:47 +0000 (0:00:00.019) 0:00:05.199 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:49:47 +0000 (0:00:00.019) 0:00:05.218 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:49:47 +0000 (0:00:00.019) 0:00:05.238 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:49:47 +0000 (0:00:00.028) 0:00:05.266 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:49:50 +0000 (0:00:03.250) 0:00:08.516 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:49:50 +0000 (0:00:00.030) 0:00:08.547 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:49:50 +0000 (0:00:00.048) 0:00:08.595 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:49:50 +0000 (0:00:00.018) 0:00:08.614 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:49:50 +0000 (0:00:00.035) 0:00:08.650 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:49:50 +0000 (0:00:00.031) 0:00:08.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.419) 0:00:09.101 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.033) 0:00:09.134 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.017) 0:00:09.152 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.017) 0:00:09.169 ***** 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, d749f605-29fd-44e9-a671-901080cb8b28 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.457) 0:00:09.627 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.022) 0:00:09.649 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d749f605-29fd-44e9-a671-901080cb8b28" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.020) 0:00:09.670 ***** 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, d749f605-29fd-44e9-a671-901080cb8b28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d749f605-29fd-44e9-a671-901080cb8b28" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.019) 0:00:09.689 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.019) 0:00:09.709 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:49:51 +0000 (0:00:00.220) 0:00:09.929 ***** 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, d749f605-29fd-44e9-a671-901080cb8b28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d749f605-29fd-44e9-a671-901080cb8b28" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.023) 0:00:09.953 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.032) 0:00:09.985 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.029) 0:00:10.015 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.043) 0:00:10.058 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573791.6890292, "block_size": 4096, "blocks": 8, "ctime": 1708573791.6130288, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708573791.6130288, "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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.133) 0:00:10.191 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.024) 0:00:10.216 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024621", "end": "2024-02-22 03:49:52.423405", "rc": 0, "start": "2024-02-22 03:49:52.398784" } 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.165) 0:00:10.382 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.023) 0:00:10.405 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.020) 0:00:10.425 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.023) 0:00:10.448 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.020) 0:00:10.469 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.019) 0:00:10.489 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.021) 0:00:10.511 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.022) 0:00:10.533 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.019) 0:00:10.553 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.041) 0:00:10.594 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.027) 0:00:10.622 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573791.6160288, "block_size": 4096, "blocks": 0, "ctime": 1708573791.6150289, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17686, "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": 1708573791.6150289, "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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.129) 0:00:10.751 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.020) 0:00:10.772 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.018) 0:00:10.790 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:49:52 +0000 (0:00:00.056) 0:00:10.847 ***** 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.079029", "end": "2024-02-22 03:49:53.098856", "rc": 1, "start": "2024-02-22 03:49:53.019827" } STDOUT: Connection 'statebr' (d749f605-29fd-44e9-a671-901080cb8b28) successfully deleted. STDERR: (process:8514): GLib-GIO-WARNING **: 03:49:53.079: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/51 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_hotfix9kv_07s9/tests/playbooks/tests_states.yml:45 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.211) 0:00:11.058 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.029) 0:00:11.088 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.019) 0:00:11.108 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.040) 0:00:11.148 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.028) 0:00:11.177 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.027) 0:00:11.205 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003888", "end": "2024-02-22 03:49:53.381426", "rc": 0, "start": "2024-02-22 03:49:53.377538" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.132) 0:00:11.337 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.018) 0:00:11.356 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.018) 0:00:11.374 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.031) 0:00:11.406 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007356", "end": "2024-02-22 03:49:53.586549", "rc": 1, "start": "2024-02-22 03:49:53.579193" } 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.138) 0:00:11.545 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.028) 0:00:11.573 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.161) 0:00:11.735 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.024) 0:00:11.759 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.032) 0:00:11.792 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.040) 0:00:11.832 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.036) 0:00:11.868 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.041) 0:00:11.910 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:49:53 +0000 (0:00:00.021) 0:00:11.931 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:49:54 +0000 (0:00:00.021) 0:00:11.953 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:49:54 +0000 (0:00:00.737) 0:00:12.690 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:49:55 +0000 (0:00:00.950) 0:00:13.641 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:49:55 +0000 (0:00:00.020) 0:00:13.661 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:49:55 +0000 (0:00:00.021) 0:00:13.683 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:49:55 +0000 (0:00:00.019) 0:00:13.703 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:49:55 +0000 (0:00:00.051) 0:00:13.754 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:49:59 +0000 (0:00:03.208) 0:00:16.963 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.033) 0:00:16.996 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.049) 0:00:17.046 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.020) 0:00:17.067 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.020) 0:00:17.087 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.030) 0:00:17.117 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.243) 0:00:17.361 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.032) 0:00:17.393 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.017) 0:00:17.411 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.017) 0:00:17.429 ***** 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, 24c43323-678d-4d1e-9b19-c419109935c9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.295) 0:00:17.725 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.021) 0:00:17.746 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24c43323-678d-4d1e-9b19-c419109935c9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.019) 0:00:17.766 ***** 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, 24c43323-678d-4d1e-9b19-c419109935c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24c43323-678d-4d1e-9b19-c419109935c9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.021) 0:00:17.787 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:49:59 +0000 (0:00:00.020) 0:00:17.808 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.133) 0:00:17.941 ***** 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, 24c43323-678d-4d1e-9b19-c419109935c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24c43323-678d-4d1e-9b19-c419109935c9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.018) 0:00:17.960 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.057) 0:00:18.018 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.028) 0:00:18.047 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.128) 0:00:18.175 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.020) 0:00:18.195 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.029) 0:00:18.224 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.018) 0:00:18.243 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573799.7500768, "block_size": 4096, "blocks": 8, "ctime": 1708573799.7500768, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708573799.7500768, "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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.128) 0:00:18.371 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.019) 0:00:18.390 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022619", "end": "2024-02-22 03:50:00.585507", "rc": 0, "start": "2024-02-22 03:50:00.562888" } 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.154) 0:00:18.544 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.028) 0:00:18.573 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.018) 0:00:18.592 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.020) 0:00:18.612 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.025) 0:00:18.637 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.017) 0:00:18.655 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.020) 0:00:18.676 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.019) 0:00:18.695 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.041) 0:00:18.737 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.024) 0:00:18.761 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.019) 0:00:18.781 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:50:00 +0000 (0:00:00.033) 0:00:18.814 ***** 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.051607", "end": "2024-02-22 03:50:01.039464", "rc": 1, "start": "2024-02-22 03:50:00.987857" } STDOUT: Connection 'statebr' (24c43323-678d-4d1e-9b19-c419109935c9) 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_hotfix9kv_07s9/tests/playbooks/tests_states.yml:65 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.181) 0:00:18.996 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.028) 0:00:19.024 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.018) 0:00:19.043 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.036) 0:00:19.080 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.028) 0:00:19.108 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.027) 0:00:19.136 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003789", "end": "2024-02-22 03:50:01.312187", "rc": 0, "start": "2024-02-22 03:50:01.308398" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.133) 0:00:19.269 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.021) 0:00:19.290 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.020) 0:00:19.310 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.031) 0:00:19.342 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.065) 0:00:19.407 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.035) 0:00:19.442 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.030) 0:00:19.473 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.020) 0:00:19.494 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:01 +0000 (0:00:00.020) 0:00:19.515 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:02 +0000 (0:00:00.741) 0:00:20.257 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:03 +0000 (0:00:00.947) 0:00:21.204 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:03 +0000 (0:00:00.019) 0:00:21.224 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:03 +0000 (0:00:00.022) 0:00:21.246 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:03 +0000 (0:00:00.021) 0:00:21.267 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:03 +0000 (0:00:00.026) 0:00:21.294 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:06 +0000 (0:00:03.294) 0:00:24.589 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:06 +0000 (0:00:00.034) 0:00:24.623 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:06 +0000 (0:00:00.076) 0:00:24.700 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:06 +0000 (0:00:00.021) 0:00:24.721 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:06 +0000 (0:00:00.021) 0:00:24.742 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:06 +0000 (0:00:00.031) 0:00:24.773 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.241) 0:00:25.015 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.032) 0:00:25.047 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.017) 0:00:25.064 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.017) 0:00:25.082 ***** 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, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.337) 0:00:25.420 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.021) 0:00:25.441 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.020) 0:00:25.462 ***** 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, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.021) 0:00:25.484 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.020) 0:00:25.504 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.138) 0:00:25.643 ***** 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, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.019) 0:00:25.662 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.031) 0:00:25.694 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.059) 0:00:25.753 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.036) 0:00:25.790 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.030) 0:00:25.821 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.020) 0:00:25.841 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:07 +0000 (0:00:00.020) 0:00:25.862 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:08 +0000 (0:00:00.744) 0:00:26.606 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:09 +0000 (0:00:00.950) 0:00:27.556 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:09 +0000 (0:00:00.036) 0:00:27.593 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:09 +0000 (0:00:00.022) 0:00:27.616 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:09 +0000 (0:00:00.022) 0:00:27.639 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:09 +0000 (0:00:00.036) 0:00:27.675 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:14 +0000 (0:00:04.490) 0:00:32.166 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.031) 0:00:32.197 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.050) 0:00:32.248 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.021) 0:00:32.269 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.045) 0:00:32.315 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.031) 0:00:32.347 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.239) 0:00:32.586 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.033) 0:00:32.620 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.017) 0:00:32.637 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:14 +0000 (0:00:00.017) 0:00:32.655 ***** 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, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.288) 0:00:32.943 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.021) 0:00:32.965 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.021) 0:00:32.986 ***** 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, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.021) 0:00:33.008 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.022) 0:00:33.031 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.144) 0:00:33.175 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.037) 0:00:33.212 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.029) 0:00:33.241 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573807.4081218, "block_size": 4096, "blocks": 0, "ctime": 1708573807.4041219, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17686, "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": 1708573807.4041219, "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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.128) 0:00:33.370 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.018) 0:00:33.389 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.053) 0:00:33.443 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.019) 0:00:33.462 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573807.403122, "block_size": 4096, "blocks": 8, "ctime": 1708573807.4021218, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708573807.4021218, "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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.128) 0:00:33.591 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.019) 0:00:33.610 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023523", "end": "2024-02-22 03:50:15.806349", "rc": 0, "start": "2024-02-22 03:50:15.782826" } 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.152) 0:00:33.763 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.020) 0:00:33.784 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.017) 0:00:33.801 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.018) 0:00:33.820 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.017) 0:00:33.837 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.018) 0:00:33.856 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.020) 0:00:33.876 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.019) 0:00:33.896 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:50:15 +0000 (0:00:00.019) 0:00:33.915 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.023) 0:00:33.939 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.019) 0:00:33.958 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.032) 0:00:33.991 ***** 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.082751", "end": "2024-02-22 03:50:16.246876", "rc": 1, "start": "2024-02-22 03:50:16.164125" } STDOUT: Connection 'statebr' (41ea06f1-3afc-4fd1-a5f5-434cf54ea6ca) successfully deleted. STDERR: (process:9293): GLib-GIO-WARNING **: 03:50:16.223: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/52 but no object proxy exists (process:9293): GLib-GIO-WARNING **: 03:50:16.223: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/91 but no object proxy exists (process:9293): GLib-GIO-WARNING **: 03:50:16.223: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/54 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_hotfix9kv_07s9/tests/playbooks/tests_states.yml:83 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.212) 0:00:34.203 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.054) 0:00:34.258 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.019) 0:00:34.278 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.037) 0:00:34.316 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.028) 0:00:34.344 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.035) 0:00:34.379 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003813", "end": "2024-02-22 03:50:16.556738", "rc": 0, "start": "2024-02-22 03:50:16.552925" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.133) 0:00:34.513 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.019) 0:00:34.533 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.020) 0:00:34.553 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.033) 0:00:34.586 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.040) 0:00:34.627 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.036) 0:00:34.663 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.033) 0:00:34.697 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.051) 0:00:34.748 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:16 +0000 (0:00:00.036) 0:00:34.784 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:17 +0000 (0:00:00.747) 0:00:35.531 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:18 +0000 (0:00:00.972) 0:00:36.504 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:18 +0000 (0:00:00.021) 0:00:36.525 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:18 +0000 (0:00:00.020) 0:00:36.546 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:18 +0000 (0:00:00.022) 0:00:36.568 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:18 +0000 (0:00:00.026) 0:00:36.595 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:22 +0000 (0:00:03.712) 0:00:40.307 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.032) 0:00:40.340 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.048) 0:00:40.389 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.021) 0:00:40.410 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.019) 0:00:40.430 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.033) 0:00:40.463 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.240) 0:00:40.703 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.031) 0:00:40.735 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.044) 0:00:40.780 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:22 +0000 (0:00:00.017) 0:00:40.797 ***** 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, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.337) 0:00:41.135 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.020) 0:00:41.156 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.020) 0:00:41.176 ***** 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, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.021) 0:00:41.198 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.020) 0:00:41.218 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.135) 0:00:41.354 ***** 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, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.020) 0:00:41.374 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.037) 0:00:41.412 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.035) 0:00:41.447 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.030) 0:00:41.477 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.020) 0:00:41.498 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:23 +0000 (0:00:00.019) 0:00:41.518 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:24 +0000 (0:00:00.732) 0:00:42.250 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:25 +0000 (0:00:01.003) 0:00:43.254 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:25 +0000 (0:00:00.021) 0:00:43.276 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:25 +0000 (0:00:00.020) 0:00:43.296 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:25 +0000 (0:00:00.022) 0:00:43.319 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:25 +0000 (0:00:00.026) 0:00:43.345 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:28 +0000 (0:00:03.268) 0:00:46.614 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:28 +0000 (0:00:00.034) 0:00:46.648 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:28 +0000 (0:00:00.050) 0:00:46.699 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:28 +0000 (0:00:00.022) 0:00:46.721 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:28 +0000 (0:00:00.021) 0:00:46.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 : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:28 +0000 (0:00:00.032) 0:00:46.775 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.240) 0:00:47.016 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.033) 0:00:47.050 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.018) 0:00:47.068 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.017) 0:00:47.085 ***** 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, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.317) 0:00:47.402 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.021) 0:00:47.424 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.047) 0:00:47.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, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d7793ef-21d1-4e91-ab6b-be6c86b8887e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.021) 0:00:47.493 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.022) 0:00:47.515 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.134) 0:00:47.650 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.033) 0:00:47.684 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.038) 0:00:47.722 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.035) 0:00:47.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.030) 0:00:47.788 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.019) 0:00:47.808 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:29 +0000 (0:00:00.020) 0:00:47.828 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:30 +0000 (0:00:00.722) 0:00:48.551 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:31 +0000 (0:00:01.028) 0:00:49.579 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:31 +0000 (0:00:00.074) 0:00:49.654 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:31 +0000 (0:00:00.029) 0:00:49.683 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:31 +0000 (0:00:00.029) 0:00:49.713 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:31 +0000 (0:00:00.029) 0:00:49.742 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:35 +0000 (0:00:03.311) 0:00:53.054 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.034) 0:00:53.088 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.049) 0:00:53.138 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.020) 0:00:53.158 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.020) 0:00:53.179 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.031) 0:00:53.210 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.239) 0:00:53.450 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.033) 0:00:53.483 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.018) 0:00:53.501 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.018) 0:00:53.519 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.324) 0:00: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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.022) 0:00:53.866 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.020) 0:00:53.886 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.021) 0:00:53.908 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:35 +0000 (0:00:00.021) 0:00:53.929 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.164) 0:00:54.093 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.037) 0:00:54.130 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.029) 0:00:54.160 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708573823.1262145, "block_size": 4096, "blocks": 0, "ctime": 1708573823.1222146, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17689, "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": 1708573823.1222146, "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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.130) 0:00:54.291 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.020) 0:00:54.311 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.030) 0:00:54.342 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.019) 0:00:54.361 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.128) 0:00:54.489 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.017) 0:00:54.507 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023199", "end": "2024-02-22 03:50:36.701958", "rc": 1, "start": "2024-02-22 03:50:36.678759" } 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.151) 0:00:54.659 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.017) 0:00:54.676 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.018) 0:00:54.695 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.018) 0:00:54.713 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.017) 0:00:54.731 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.050) 0:00:54.782 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.020) 0:00:54.803 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.026) 0:00:54.829 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.019) 0:00:54.848 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:50:36 +0000 (0:00:00.033) 0:00:54.882 ***** 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.086396", "end": "2024-02-22 03:50:37.140624", "rc": 1, "start": "2024-02-22 03:50:37.054228" } STDOUT: Connection 'statebr' (0d7793ef-21d1-4e91-ab6b-be6c86b8887e) 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_hotfix9kv_07s9/tests/playbooks/tests_states.yml:102 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.217) 0:00:55.099 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.029) 0:00:55.128 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.018) 0:00:55.147 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.036) 0:00:55.184 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.030) 0:00:55.214 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.028) 0:00:55.242 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004160", "end": "2024-02-22 03:50:37.419906", "rc": 0, "start": "2024-02-22 03:50:37.415746" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.133) 0:00:55.375 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.018) 0:00:55.394 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.018) 0:00:55.413 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.059) 0:00:55.473 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.038) 0:00:55.511 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.034) 0:00:55.546 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.031) 0:00:55.577 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.020) 0:00:55.597 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:37 +0000 (0:00:00.019) 0:00:55.617 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:38 +0000 (0:00:00.730) 0:00:56.348 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:39 +0000 (0:00:00.955) 0:00:57.303 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:39 +0000 (0:00:00.033) 0:00:57.337 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:39 +0000 (0:00:00.027) 0:00:57.365 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:39 +0000 (0:00:00.022) 0:00:57.387 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:39 +0000 (0:00:00.030) 0:00:57.418 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:42 +0000 (0:00:03.068) 0:01:00.487 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:42 +0000 (0:00:00.033) 0:01:00.520 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:42 +0000 (0:00:00.149) 0:01:00.670 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:42 +0000 (0:00:00.059) 0:01:00.730 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:42 +0000 (0:00:00.031) 0:01:00.761 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:42 +0000 (0:00:00.038) 0:01:00.800 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.240) 0:01:01.041 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.035) 0:01:01.076 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.021) 0:01:01.097 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.019) 0:01:01.116 ***** 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, 455fe109-3fc1-4900-85be-1c162ccc257a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.350) 0:01:01.466 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.021) 0:01:01.488 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 455fe109-3fc1-4900-85be-1c162ccc257a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.021) 0:01:01.509 ***** 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, 455fe109-3fc1-4900-85be-1c162ccc257a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 455fe109-3fc1-4900-85be-1c162ccc257a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.020) 0:01:01.530 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.021) 0:01:01.552 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.136) 0:01:01.688 ***** 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, 455fe109-3fc1-4900-85be-1c162ccc257a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 455fe109-3fc1-4900-85be-1c162ccc257a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.020) 0:01:01.709 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.037) 0:01:01.746 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.063) 0:01:01.809 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.031) 0:01:01.841 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.022) 0:01:01.863 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:43 +0000 (0:00:00.030) 0:01:01.894 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:44 +0000 (0:00:00.747) 0:01:02.641 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:45 +0000 (0:00:00.968) 0:01:03.610 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:45 +0000 (0:00:00.025) 0:01:03.635 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:45 +0000 (0:00:00.023) 0:01:03.658 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:45 +0000 (0:00:00.021) 0:01:03.680 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:45 +0000 (0:00:00.026) 0:01:03.706 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:49 +0000 (0:00:03.297) 0:01:07.004 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.032) 0:01:07.037 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.051) 0:01:07.089 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.021) 0:01:07.110 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.020) 0:01:07.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.062) 0:01:07.194 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.242) 0:01:07.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.035) 0:01:07.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.018) 0:01:07.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.018) 0:01:07.508 ***** 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, 455fe109-3fc1-4900-85be-1c162ccc257a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.290) 0:01:07.799 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.025) 0:01:07.824 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 455fe109-3fc1-4900-85be-1c162ccc257a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.022) 0:01:07.847 ***** 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, 455fe109-3fc1-4900-85be-1c162ccc257a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 455fe109-3fc1-4900-85be-1c162ccc257a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.022) 0:01:07.869 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:49 +0000 (0:00:00.024) 0:01:07.894 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:50:50 +0000 (0:00:00.135) 0:01:08.029 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:50 +0000 (0:00:00.038) 0:01:08.068 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:50 +0000 (0:00:00.035) 0:01:08.103 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:50 +0000 (0:00:00.029) 0:01:08.133 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:50 +0000 (0:00:00.020) 0:01:08.153 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:50 +0000 (0:00:00.049) 0:01:08.202 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:50 +0000 (0:00:00.727) 0:01:08.929 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:51 +0000 (0:00:00.947) 0:01:09.877 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:51 +0000 (0:00:00.021) 0:01:09.898 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:51 +0000 (0:00:00.021) 0:01:09.920 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:52 +0000 (0:00:00.020) 0:01:09.941 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:52 +0000 (0:00:00.026) 0:01:09.968 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:50:56 +0000 (0:00:04.044) 0:01:14.012 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.032) 0:01:14.045 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.049) 0:01:14.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.021) 0:01:14.116 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.021) 0:01:14.137 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.031) 0:01:14.169 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.240) 0:01:14.410 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.032) 0:01:14.442 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.018) 0:01:14.460 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.017) 0:01:14.478 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.388) 0:01:14.866 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.022) 0:01:14.888 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.020) 0:01:14.909 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:50:56 +0000 (0:00:00.021) 0:01:14.931 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.020) 0:01:14.952 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.135) 0:01:15.087 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.033) 0:01:15.121 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.039) 0:01:15.160 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.037) 0:01:15.198 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.033) 0:01:15.231 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.021) 0:01:15.253 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:50:57 +0000 (0:00:00.023) 0:01:15.276 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:50:58 +0000 (0:00:00.729) 0:01:16.005 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:50:59 +0000 (0:00:01.014) 0:01:17.020 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:50:59 +0000 (0:00:00.024) 0:01:17.044 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:50:59 +0000 (0:00:00.024) 0:01:17.068 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:50:59 +0000 (0:00:00.021) 0:01:17.090 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:50:59 +0000 (0:00:00.029) 0:01:17.120 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:51:02 +0000 (0:00:02.902) 0:01:20.022 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.032) 0:01:20.054 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.050) 0:01:20.105 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.021) 0:01:20.126 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.021) 0:01:20.147 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.032) 0:01:20.180 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.243) 0:01:20.423 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.042) 0:01:20.466 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.018) 0:01:20.484 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.017) 0:01:20.502 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.382) 0:01:20.885 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.021) 0:01:20.906 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:51:02 +0000 (0:00:00.021) 0:01:20.927 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.051) 0:01:20.979 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.022) 0:01:21.002 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.137) 0:01:21.139 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.033) 0:01:21.173 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.032) 0:01:21.205 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.021) 0:01:21.227 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.128) 0:01:21.355 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.017) 0:01:21.373 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023756", "end": "2024-02-22 03:51:03.568760", "rc": 1, "start": "2024-02-22 03:51:03.545004" } 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.152) 0:01:21.526 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.017) 0:01:21.543 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.018) 0:01:21.562 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.018) 0:01:21.580 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.020) 0:01:21.601 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.019) 0:01:21.620 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.020) 0:01:21.641 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.073) 0:01:21.714 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.029) 0:01:21.743 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.129) 0:01:21.873 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.021) 0:01:21.894 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:51:03 +0000 (0:00:00.019) 0:01:21.913 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.033) 0:01:21.947 ***** 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.048099", "end": "2024-02-22 03:51:04.167745", "rc": 1, "start": "2024-02-22 03:51:04.119646" } 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_hotfix9kv_07s9/tests/playbooks/tests_states.yml:124 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.177) 0:01:22.125 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.030) 0:01:22.155 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.020) 0:01:22.176 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.037) 0:01:22.213 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.028) 0:01:22.242 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.027) 0:01:22.269 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003621", "end": "2024-02-22 03:51:04.445454", "rc": 0, "start": "2024-02-22 03:51:04.441833" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.131) 0:01:22.401 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.049) 0:01:22.451 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.019) 0:01:22.471 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.035) 0:01:22.506 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.044) 0:01:22.550 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.037) 0:01:22.588 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.033) 0:01:22.621 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.021) 0:01:22.643 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:51:04 +0000 (0:00:00.024) 0:01:22.667 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:51:05 +0000 (0:00:00.732) 0:01:23.400 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:51:06 +0000 (0:00:00.950) 0:01:24.350 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:51:06 +0000 (0:00:00.021) 0:01:24.372 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:51:06 +0000 (0:00:00.021) 0:01:24.394 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:51:06 +0000 (0:00:00.022) 0:01:24.416 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:51:06 +0000 (0:00:00.061) 0:01:24.477 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:51:10 +0000 (0:00:03.656) 0:01:28.134 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.033) 0:01:28.168 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.050) 0:01:28.219 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.020) 0:01:28.240 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.021) 0:01:28.261 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.031) 0:01:28.292 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.243) 0:01:28.536 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.034) 0:01:28.570 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.017) 0:01:28.588 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:51:10 +0000 (0:00:00.018) 0:01:28.607 ***** 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, b3934c34-8ac9-44fd-8154-ccf721430cbb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.337) 0:01:28.944 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.023) 0:01:28.968 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3934c34-8ac9-44fd-8154-ccf721430cbb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.021) 0:01:28.990 ***** 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, b3934c34-8ac9-44fd-8154-ccf721430cbb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3934c34-8ac9-44fd-8154-ccf721430cbb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.020) 0:01:29.010 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.021) 0:01:29.032 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.136) 0:01:29.169 ***** 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, b3934c34-8ac9-44fd-8154-ccf721430cbb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3934c34-8ac9-44fd-8154-ccf721430cbb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.021) 0:01:29.190 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.069) 0:01:29.260 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.036) 0:01:29.297 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.031) 0:01:29.328 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.020) 0:01:29.349 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:51:11 +0000 (0:00:00.021) 0:01:29.370 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:51:12 +0000 (0:00:00.728) 0:01:30.099 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:51:13 +0000 (0:00:00.949) 0:01:31.048 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:51:13 +0000 (0:00:00.020) 0:01:31.069 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:51:13 +0000 (0:00:00.021) 0:01:31.090 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:51:13 +0000 (0:00:00.020) 0:01:31.110 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:51:13 +0000 (0:00:00.027) 0:01:31.138 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:51:16 +0000 (0:00:03.074) 0:01:34.212 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.033) 0:01:34.245 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.081) 0:01:34.327 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.021) 0:01:34.349 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.021) 0:01:34.370 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.031) 0:01:34.402 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.240) 0:01:34.643 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.036) 0:01:34.679 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.018) 0:01:34.697 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:51:16 +0000 (0:00:00.018) 0:01:34.716 ***** 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, b3934c34-8ac9-44fd-8154-ccf721430cbb skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.286) 0:01:35.002 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.022) 0:01:35.024 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3934c34-8ac9-44fd-8154-ccf721430cbb skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.022) 0:01:35.047 ***** 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, b3934c34-8ac9-44fd-8154-ccf721430cbb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3934c34-8ac9-44fd-8154-ccf721430cbb skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.023) 0:01:35.070 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.022) 0:01:35.092 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.137) 0:01:35.229 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.041) 0:01:35.271 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.037) 0:01:35.308 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.104) 0:01:35.412 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.023) 0:01:35.436 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:51:17 +0000 (0:00:00.042) 0:01:35.478 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:51:18 +0000 (0:00:00.761) 0:01:36.240 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:51:19 +0000 (0:00:00.948) 0:01:37.188 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:51:19 +0000 (0:00:00.022) 0:01:37.210 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:51:19 +0000 (0:00:00.021) 0:01:37.231 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:51:19 +0000 (0:00:00.022) 0:01:37.254 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:51:19 +0000 (0:00:00.029) 0:01:37.283 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:51:22 +0000 (0:00:03.205) 0:01:40.488 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:51:22 +0000 (0:00:00.033) 0:01:40.522 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:51:22 +0000 (0:00:00.050) 0:01:40.572 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:51:22 +0000 (0:00:00.022) 0:01:40.595 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:51:22 +0000 (0:00:00.021) 0:01:40.616 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:51:22 +0000 (0:00:00.032) 0:01:40.648 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:51:22 +0000 (0:00:00.243) 0:01:40.892 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.110) 0:01:41.002 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.019) 0:01:41.022 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.017) 0:01:41.039 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.401) 0:01:41.441 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.021) 0:01:41.462 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.021) 0:01:41.484 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.020) 0:01:41.505 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.024) 0:01:41.529 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.140) 0:01:41.669 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.033) 0:01:41.703 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.038) 0:01:41.741 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.035) 0:01:41.777 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.031) 0:01:41.808 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.020) 0:01:41.829 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 03:51:23 +0000 (0:00:00.052) 0:01:41.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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 03:51:24 +0000 (0:00:00.730) 0:01:42.611 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 03:51:25 +0000 (0:00:00.944) 0:01:43.556 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 03:51:25 +0000 (0:00:00.020) 0:01:43.577 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 03:51:25 +0000 (0:00:00.021) 0:01:43.599 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 03:51:25 +0000 (0:00:00.020) 0:01:43.619 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 03:51:25 +0000 (0:00:00.026) 0:01:43.646 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 03:51:29 +0000 (0:00:03.405) 0:01:47.051 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.036) 0:01:47.087 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.079) 0:01:47.167 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.025) 0:01:47.193 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.024) 0:01:47.217 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.060) 0:01:47.278 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.254) 0:01:47.532 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.035) 0:01:47.567 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.019) 0:01:47.586 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 03:51:29 +0000 (0:00:00.056) 0:01:47.643 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.309) 0:01:47.952 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.023) 0:01:47.976 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.023) 0:01:48.000 ***** 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_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.036) 0:01:48.036 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.025) 0:01:48.062 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.147) 0:01:48.209 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.058) 0:01:48.268 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.049) 0:01:48.317 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.021) 0:01:48.338 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.147) 0:01:48.486 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.026) 0:01:48.513 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022758", "end": "2024-02-22 03:51:30.725253", "rc": 1, "start": "2024-02-22 03:51:30.702495" } 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.169) 0:01:48.682 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.018) 0:01:48.700 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.018) 0:01:48.719 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.021) 0:01:48.740 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.053) 0:01:48.794 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.018) 0:01:48.813 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 22 February 2024 03:51:30 +0000 (0:00:00.020) 0:01:48.833 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.682437", "end": "2024-02-22 03:51:31.687961", "rc": 0, "start": "2024-02-22 03:51:31.005524" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.812) 0:01:49.646 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.019) 0:01:49.666 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.019) 0:01:49.685 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.042) 0:01:49.728 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.028) 0:01:49.756 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.129) 0:01:49.886 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.024) 0:01:49.910 ***** 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_hotfix9kv_07s9/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:51:31 +0000 (0:00:00.020) 0:01:49.930 ***** included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) included: /WORKDIR/git-nm_plugin_hotfix9kv_07s9/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_hotfix9kv_07s9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:51:32 +0000 (0:00:00.036) 0:01:49.966 ***** 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.049404", "end": "2024-02-22 03:51:32.188211", "rc": 1, "start": "2024-02-22 03:51:32.138807" } 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_hotfix9kv_07s9/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 22 February 2024 03:51:32 +0000 (0:00:00.178) 0:01:50.145 ***** 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.007610", "end": "2024-02-22 03:51:32.325867", "rc": 0, "start": "2024-02-22 03:51:32.318257" } 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 12:4a:26:30:b6:af brd ff:ff:ff:ff:ff:ff inet 10.31.10.126/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2805sec preferred_lft 2805sec inet6 fe80::104a:26ff:fe30:b6af/64 scope link valid_lft forever preferred_lft forever 42: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether c2:24:66:2e:db:2e brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::c024:66ff:fe2e:db2e/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.126 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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 fe80::/64 dev rpltstbr proto kernel metric 256 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_hotfix9kv_07s9/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 22 February 2024 03:51:32 +0000 (0:00:00.141) 0:01:50.287 ***** 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.414965", "end": "2024-02-22 03:51:32.877154", "rc": 0, "start": "2024-02-22 03:51:32.462189" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed7 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 2081 0 --:--:-- --:--:-- --:--:-- 2089 % 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 1178 0 --:--:-- --:--:-- --:--:-- 1182 PLAY RECAP ********************************************************************* sut : ok=340 changed=10 unreachable=0 failed=0 skipped=276 rescued=0 ignored=11 Thursday 22 February 2024 03:51:32 +0000 (0:00:00.613) 0:01:50.900 ***** =============================================================================== fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager --- 4.49s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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 --- 4.04s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.71s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.66s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.41s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.31s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.30s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.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.27s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.25s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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_hotfix9kv_07s9/.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_hotfix9kv_07s9/.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.07s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.07s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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 --- 2.90s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 fedora.linux_system_roles.network : Check which packages are installed --- 1.10s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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.01s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-nm_plugin_hotfix9kv_07s9/.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. ---^---^---^---^---^---