# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/tests_states_nm.yml:6 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tests_states_nm.yml:9 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.603) 0:00:00.616 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:3 Thursday 29 February 2024 00:19:14 +0000 (0:00:00.035) 0:00:00.651 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:19 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.281) 0:00:00.933 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:24 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.210) 0:00:01.144 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:28 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.021) 0:00:01.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/el_repo_setup.yml:53 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.026) 0:00:01.192 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:8 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.036) 0:00:01.229 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:24 Thursday 29 February 2024 00:19:15 +0000 (0:00:00.198) 0:00:01.428 ***** 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_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:30 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.486) 0:00:01.914 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191161", "end": "2024-02-29 00:19:16.475606", "rc": 0, "start": "2024-02-29 00:19:16.284445" } 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_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:35 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.334) 0:00:02.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tasks/enable_epel.yml:40 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.023) 0:00:02.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/tests_states_nm.yml:11 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.040) 0:00:02.312 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:3 Thursday 29 February 2024 00:19:16 +0000 (0:00:00.050) 0:00:02.363 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:11 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.454) 0:00:02.817 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:22 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.009) 0:00:02.827 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.016) 0:00:02.844 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.011) 0:00:02.855 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.033) 0:00:02.889 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.016) 0:00:02.905 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.032) 0:00:02.937 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003785", "end": "2024-02-29 00:19:17.319428", "rc": 0, "start": "2024-02-29 00:19:17.315643" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.174) 0:00:03.111 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.020) 0:00:03.132 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.034) 0:00:03.166 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.048) 0:00:03.214 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011972", "end": "2024-02-29 00:19:17.604911", "rc": 1, "start": "2024-02-29 00:19:17.592939" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.157) 0:00:03.371 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.049) 0:00:03.421 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.162) 0:00:03.584 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.038) 0:00:03.622 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.018) 0:00:03.641 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:17 +0000 (0:00:00.096) 0:00:03.737 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:18 +0000 (0:00:00.021) 0:00:03.759 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:18 +0000 (0:00:00.014) 0:00:03.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:18 +0000 (0:00:00.020) 0:00:03.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:18 +0000 (0:00:00.011) 0:00:03.805 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:18 +0000 (0:00:00.881) 0:00:04.686 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:20 +0000 (0:00:01.165) 0:00:05.851 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.022) 0:00:05.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.025) 0:00:05.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.020) 0:00:05.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.021) 0:00:05.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.023) 0:00:05.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.022) 0:00:05.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.041) 0:00:06.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.020) 0:00:06.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.020) 0:00:06.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.023) 0:00:06.094 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.372) 0:00:06.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.025) 0:00:06.492 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.025) 0:00:06.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:20 +0000 (0:00:00.021) 0:00:06.539 ***** 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, 2303e416-6068-4767-ade1-55eea91a23e0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.509) 0:00:07.049 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.021) 0:00:07.071 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2303e416-6068-4767-ade1-55eea91a23e0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.023) 0:00:07.094 ***** 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, 2303e416-6068-4767-ade1-55eea91a23e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2303e416-6068-4767-ade1-55eea91a23e0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.023) 0:00:07.117 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.022) 0:00:07.139 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.211) 0:00:07.351 ***** 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, 2303e416-6068-4767-ade1-55eea91a23e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2303e416-6068-4767-ade1-55eea91a23e0" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.028) 0:00:07.379 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.039) 0:00:07.419 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.035) 0:00:07.454 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.021) 0:00:07.476 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165961.2925274, "block_size": 4096, "blocks": 8, "ctime": 1709165961.2125275, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165961.2125275, "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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.144) 0:00:07.621 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:21 +0000 (0:00:00.021) 0:00:07.643 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026883", "end": "2024-02-29 00:19:22.034820", "rc": 0, "start": "2024-02-29 00:19:22.007937" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.181) 0:00:07.824 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.027) 0:00:07.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.053) 0:00:07.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.030) 0:00:07.935 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.022) 0:00:07.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.021) 0:00:07.979 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.021) 0:00:08.001 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.024) 0:00:08.026 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.022) 0:00:08.048 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.042) 0:00:08.091 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.037) 0:00:08.129 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165961.2155273, "block_size": 4096, "blocks": 0, "ctime": 1709165961.2145274, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1709165961.2145274, "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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.162) 0:00:08.291 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.028) 0:00:08.319 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.026) 0:00:08.346 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.046) 0:00:08.392 ***** 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.085770", "end": "2024-02-29 00:19:22.845892", "rc": 1, "start": "2024-02-29 00:19:22.760122" } STDOUT: Connection 'statebr' (2303e416-6068-4767-ade1-55eea91a23e0) successfully deleted. STDERR: (process:27433): GLib-GIO-WARNING **: 00:19:22.820: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/27 but no object proxy exists (process:27433): GLib-GIO-WARNING **: 00:19:22.821: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/37 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:45 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.226) 0:00:08.619 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.059) 0:00:08.678 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.021) 0:00:08.699 ***** 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" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:22 +0000 (0:00:00.045) 0:00:08.745 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:23 +0000 (0:00:00.039) 0:00:08.784 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:23 +0000 (0:00:00.035) 0:00:08.819 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004910", "end": "2024-02-29 00:19:24.192547", "rc": 0, "start": "2024-02-29 00:19:23.187637" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:24 +0000 (0:00:01.147) 0:00:09.967 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.022) 0:00:09.989 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.026) 0:00:10.016 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/delete_interface.yml:3 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.070) 0:00:10.086 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007890", "end": "2024-02-29 00:19:24.467412", "rc": 1, "start": "2024-02-29 00:19:24.459522" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.159) 0:00:10.246 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.073) 0:00:10.320 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.145) 0:00:10.465 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.021) 0:00:10.486 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.036) 0:00:10.522 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.038) 0:00:10.561 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.037) 0:00:10.598 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.026) 0:00:10.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.020) 0:00:10.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:24 +0000 (0:00:00.020) 0:00:10.665 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:25 +0000 (0:00:00.778) 0:00:11.443 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:26 +0000 (0:00:01.003) 0:00:12.447 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.022) 0:00:12.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.019) 0:00:12.489 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.020) 0:00:12.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.020) 0:00:12.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.024) 0:00:12.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.024) 0:00:12.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.044) 0:00:12.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.021) 0:00:12.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.019) 0:00:12.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:26 +0000 (0:00:00.022) 0:00:12.688 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.241) 0:00:12.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.024) 0:00:12.953 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.019) 0:00:12.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.019) 0:00:12.992 ***** 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, eeeb92d7-9e1e-42ff-939b-1a65388bde66 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.320) 0:00:13.312 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.031) 0:00:13.343 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eeeb92d7-9e1e-42ff-939b-1a65388bde66" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.026) 0:00:13.370 ***** 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, eeeb92d7-9e1e-42ff-939b-1a65388bde66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eeeb92d7-9e1e-42ff-939b-1a65388bde66" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.023) 0:00:13.394 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.022) 0:00:13.416 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.136) 0:00:13.553 ***** 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, eeeb92d7-9e1e-42ff-939b-1a65388bde66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eeeb92d7-9e1e-42ff-939b-1a65388bde66" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.032) 0:00:13.586 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.042) 0:00:13.629 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:27 +0000 (0:00:00.034) 0:00:13.663 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.139) 0:00:13.803 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.068) 0:00:13.872 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.036) 0:00:13.909 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.022) 0:00:13.931 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165967.504531, "block_size": 4096, "blocks": 8, "ctime": 1709165967.504531, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165967.504531, "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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.143) 0:00:14.075 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.021) 0:00:14.096 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022509", "end": "2024-02-29 00:19:28.484219", "rc": 0, "start": "2024-02-29 00:19:28.461710" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.161) 0:00:14.258 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.023) 0:00:14.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.021) 0:00:14.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.021) 0:00:14.324 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.021) 0:00:14.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.021) 0:00:14.367 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.021) 0:00:14.389 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.021) 0:00:14.411 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.022) 0:00:14.433 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.022) 0:00:14.456 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.022) 0:00:14.478 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.077) 0:00:14.555 ***** 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.048498", "end": "2024-02-29 00:19:28.971342", "rc": 1, "start": "2024-02-29 00:19:28.922844" } STDOUT: Connection 'statebr' (eeeb92d7-9e1e-42ff-939b-1a65388bde66) 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:65 Thursday 29 February 2024 00:19:28 +0000 (0:00:00.191) 0:00:14.746 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.045) 0:00:14.791 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.032) 0:00:14.824 ***** 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" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.083) 0:00:14.908 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.062) 0:00:14.971 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.035) 0:00:15.006 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003763", "end": "2024-02-29 00:19:29.384623", "rc": 0, "start": "2024-02-29 00:19:29.380860" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.152) 0:00:15.159 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.028) 0:00:15.188 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.024) 0:00:15.212 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.037) 0:00:15.250 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.070) 0:00:15.320 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.042) 0:00:15.363 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.026) 0:00:15.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.021) 0:00:15.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:29 +0000 (0:00:00.019) 0:00:15.432 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:30 +0000 (0:00:00.727) 0:00:16.160 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.994) 0:00:17.154 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.023) 0:00:17.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.046) 0:00:17.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.020) 0:00:17.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.033) 0:00:17.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.024) 0:00:17.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.026) 0:00:17.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.046) 0:00:17.377 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.022) 0:00:17.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.021) 0:00:17.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.025) 0:00:17.445 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.266) 0:00:17.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:31 +0000 (0:00:00.023) 0:00:17.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 [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.019) 0:00:17.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.026) 0:00:17.781 ***** 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, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.336) 0:00:18.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.020) 0:00:18.139 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.021) 0:00:18.160 ***** 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, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.022) 0:00:18.182 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.044) 0:00:18.227 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.146) 0:00:18.374 ***** 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, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.024) 0:00:18.398 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.056) 0:00:18.455 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.048) 0:00:18.503 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.042) 0:00:18.545 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.027) 0:00:18.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.028) 0:00:18.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:32 +0000 (0:00:00.021) 0:00:18.622 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:33 +0000 (0:00:00.750) 0:00:19.372 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:34 +0000 (0:00:01.030) 0:00:20.403 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.023) 0:00:20.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.022) 0:00:20.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.022) 0:00:20.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.022) 0:00:20.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.031) 0:00:20.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.024) 0:00:20.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.043) 0:00:20.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.021) 0:00:20.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.020) 0:00:20.635 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:34 +0000 (0:00:00.024) 0:00:20.660 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.267) 0:00:20.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.025) 0:00:20.953 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.023) 0:00:20.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.028) 0:00:21.005 ***** 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, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.301) 0:00:21.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.022) 0:00:21.329 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.023) 0:00:21.353 ***** 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, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.024) 0:00:21.377 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.023) 0:00:21.401 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.141) 0:00:21.542 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.047) 0:00:21.589 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:35 +0000 (0:00:00.037) 0:00:21.627 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165972.2965338, "block_size": 4096, "blocks": 0, "ctime": 1709165972.2935338, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17655, "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": 1709165972.2935338, "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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.156) 0:00:21.784 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.034) 0:00:21.818 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.075) 0:00:21.893 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.022) 0:00:21.916 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165972.2925336, "block_size": 4096, "blocks": 8, "ctime": 1709165972.2915337, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25397, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709165972.2915337, "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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.143) 0:00:22.059 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.023) 0:00:22.083 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023532", "end": "2024-02-29 00:19:36.474757", "rc": 0, "start": "2024-02-29 00:19:36.451225" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.166) 0:00:22.249 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.024) 0:00:22.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.024) 0:00:22.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.022) 0:00:22.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.022) 0:00:22.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.021) 0:00:22.365 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.023) 0:00:22.388 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.022) 0:00:22.411 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.021) 0:00:22.433 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.019) 0:00:22.453 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.020) 0:00:22.473 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:36 +0000 (0:00:00.040) 0:00:22.514 ***** 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.082870", "end": "2024-02-29 00:19:36.964519", "rc": 1, "start": "2024-02-29 00:19:36.881649" } STDOUT: Connection 'statebr' (8b4df89c-b8b9-4be4-aeb3-2fac7759c0a8) successfully deleted. STDERR: (process:28153): GLib-GIO-WARNING **: 00:19:36.943: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/28 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:83 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.236) 0:00:22.750 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.041) 0:00:22.791 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.025) 0:00:22.816 ***** 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" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.069) 0:00:22.886 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.038) 0:00:22.925 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:37 +0000 (0:00:00.035) 0:00:22.960 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005205", "end": "2024-02-29 00:19:38.337228", "rc": 0, "start": "2024-02-29 00:19:37.332023" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:38 +0000 (0:00:01.152) 0:00:24.113 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.021) 0:00:24.134 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.022) 0:00:24.156 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.062) 0:00:24.219 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.035) 0:00:24.254 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.039) 0:00:24.293 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.025) 0:00:24.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.022) 0:00:24.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:38 +0000 (0:00:00.022) 0:00:24.363 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:39 +0000 (0:00:00.767) 0:00:25.131 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:40 +0000 (0:00:01.029) 0:00:26.160 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.034) 0:00:26.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.038) 0:00:26.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.022) 0:00:26.257 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.064) 0:00:26.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.042) 0:00:26.364 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.042) 0:00:26.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.044) 0:00:26.451 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.020) 0:00:26.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.022) 0:00:26.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:40 +0000 (0:00:00.037) 0:00:26.532 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.260) 0:00:26.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.026) 0:00:26.818 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.031) 0:00:26.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.032) 0:00:26.882 ***** 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, fd39cb07-f987-4e40-861b-3e7382199a49 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.349) 0:00:27.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.034) 0:00:27.267 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd39cb07-f987-4e40-861b-3e7382199a49" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.063) 0:00:27.330 ***** 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, fd39cb07-f987-4e40-861b-3e7382199a49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd39cb07-f987-4e40-861b-3e7382199a49" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.022) 0:00:27.352 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.019) 0:00:27.372 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.148) 0:00:27.521 ***** 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, fd39cb07-f987-4e40-861b-3e7382199a49\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fd39cb07-f987-4e40-861b-3e7382199a49" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.029) 0:00:27.551 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.037) 0:00:27.588 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.046) 0:00:27.634 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.067) 0:00:27.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:41 +0000 (0:00:00.041) 0:00:27.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.027) 0:00:27.770 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:42 +0000 (0:00:00.736) 0:00:28.507 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:43 +0000 (0:00:01.039) 0:00:29.546 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.036) 0:00:29.583 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.019) 0:00:29.602 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.019) 0:00:29.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.020) 0:00:29.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.026) 0:00:29.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.023) 0:00:29.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:43 +0000 (0:00:00.041) 0:00:29.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.019) 0:00:29.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.019) 0:00:29.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.023) 0:00:29.796 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.245) 0:00:30.042 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.024) 0:00:30.066 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.019) 0:00:30.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.051) 0:00:30.138 ***** 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, fd39cb07-f987-4e40-861b-3e7382199a49 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.309) 0:00:30.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.021) 0:00:30.469 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fd39cb07-f987-4e40-861b-3e7382199a49 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.033) 0:00:30.502 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fd39cb07-f987-4e40-861b-3e7382199a49 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fd39cb07-f987-4e40-861b-3e7382199a49 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.029) 0:00:30.532 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.041) 0:00:30.574 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:19:44 +0000 (0:00:00.143) 0:00:30.717 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml:3 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.039) 0:00:30.757 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.041) 0:00:30.799 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.039) 0:00:30.838 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.025) 0:00:30.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.020) 0:00:30.884 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.019) 0:00:30.903 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:45 +0000 (0:00:00.730) 0:00:31.634 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:46 +0000 (0:00:01.052) 0:00:32.686 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:46 +0000 (0:00:00.048) 0:00:32.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.029) 0:00:32.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.073) 0:00:32.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.034) 0:00:32.871 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.027) 0:00:32.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.049) 0:00:32.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.054) 0:00:33.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.057) 0:00:33.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.105) 0:00:33.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.035) 0:00:33.201 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.301) 0:00:33.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.065) 0:00:33.568 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.061) 0:00:33.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:47 +0000 (0:00:00.053) 0:00:33.684 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.342) 0:00:34.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.040) 0:00:34.067 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.069) 0:00:34.136 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.062) 0:00:34.199 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.051) 0:00:34.250 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.175) 0:00:34.425 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.127) 0:00:34.553 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:19:48 +0000 (0:00:00.052) 0:00:34.606 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1709165981.409539, "block_size": 4096, "blocks": 0, "ctime": 1709165981.406539, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17657, "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": 1709165981.406539, "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_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.292) 0:00:34.898 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.056) 0:00:34.955 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.143) 0:00:35.099 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.086) 0:00:35.186 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.236) 0:00:35.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.055) 0:00:35.479 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022787", "end": "2024-02-29 00:19:49.888337", "rc": 1, "start": "2024-02-29 00:19:49.865550" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.209) 0:00:35.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:19:49 +0000 (0:00:00.024) 0:00:35.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.044) 0:00:35.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.036) 0:00:35.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.031) 0:00:35.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.021) 0:00:35.847 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.023) 0:00:35.871 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.019) 0:00:35.890 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.020) 0:00:35.911 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.038) 0:00:35.949 ***** 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.082415", "end": "2024-02-29 00:19:50.400176", "rc": 1, "start": "2024-02-29 00:19:50.317761" } STDOUT: Connection 'statebr' (fd39cb07-f987-4e40-861b-3e7382199a49) successfully deleted. STDERR: (process:28774): GLib-GIO-WARNING **: 00:19:50.376: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/29 but no object proxy exists (process:28774): GLib-GIO-WARNING **: 00:19:50.376: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/39 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:103 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.223) 0:00:36.173 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.035) 0:00:36.208 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.023) 0:00:36.232 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.058) 0:00:36.290 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.051) 0:00:36.341 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:19:50 +0000 (0:00:00.034) 0:00:36.375 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005202", "end": "2024-02-29 00:19:51.746456", "rc": 0, "start": "2024-02-29 00:19:50.741254" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:19:51 +0000 (0:00:01.153) 0:00:37.529 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.023) 0:00:37.552 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.024) 0:00:37.577 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.084) 0:00:37.661 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:51 +0000 (0:00:00.057) 0:00:37.719 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.049) 0:00:37.768 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.034) 0:00:37.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.021) 0:00:37.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.023) 0:00:37.848 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:52 +0000 (0:00:00.730) 0:00:38.578 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:53 +0000 (0:00:01.038) 0:00:39.616 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.025) 0:00:39.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.020) 0:00:39.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.019) 0:00:39.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:53 +0000 (0:00:00.031) 0:00:39.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.047) 0:00:39.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.025) 0:00:39.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.068) 0:00:39.854 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.040) 0:00:39.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.042) 0:00:39.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.027) 0:00:39.965 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.264) 0:00:40.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.053) 0:00:40.282 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.024) 0:00:40.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.031) 0:00:40.338 ***** 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, 0543413a-52fc-4e99-9d8f-907a6ed32607 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.362) 0:00:40.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:54 +0000 (0:00:00.042) 0:00:40.744 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0543413a-52fc-4e99-9d8f-907a6ed32607" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.064) 0:00:40.809 ***** 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, 0543413a-52fc-4e99-9d8f-907a6ed32607\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0543413a-52fc-4e99-9d8f-907a6ed32607" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.059) 0:00:40.868 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.042) 0:00:40.911 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.213) 0:00:41.125 ***** 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, 0543413a-52fc-4e99-9d8f-907a6ed32607\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0543413a-52fc-4e99-9d8f-907a6ed32607" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.036) 0:00:41.161 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.045) 0:00:41.207 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.057) 0:00:41.264 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.036) 0:00:41.301 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.025) 0:00:41.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:55 +0000 (0:00:00.027) 0:00:41.353 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:19:56 +0000 (0:00:00.772) 0:00:42.126 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:19:57 +0000 (0:00:01.242) 0:00:43.368 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.053) 0:00:43.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.036) 0:00:43.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.042) 0:00:43.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.036) 0:00:43.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.054) 0:00:43.591 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:19:57 +0000 (0:00:00.074) 0:00:43.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.161) 0:00:43.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.025) 0:00:43.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.022) 0:00:43.875 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.030) 0:00:43.905 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.381) 0:00:44.287 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.028) 0:00:44.316 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.047) 0:00:44.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:19:58 +0000 (0:00:00.062) 0:00:44.425 ***** 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, 0543413a-52fc-4e99-9d8f-907a6ed32607 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.391) 0:00:44.817 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.047) 0:00:44.864 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0543413a-52fc-4e99-9d8f-907a6ed32607 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.027) 0:00:44.891 ***** 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, 0543413a-52fc-4e99-9d8f-907a6ed32607 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0543413a-52fc-4e99-9d8f-907a6ed32607 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.026) 0:00:44.918 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.025) 0:00:44.943 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove_profile.yml:3 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.138) 0:00:45.081 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.035) 0:00:45.117 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.039) 0:00:45.156 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.026) 0:00:45.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.020) 0:00:45.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:19:59 +0000 (0:00:00.020) 0:00:45.225 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:00 +0000 (0:00:00.730) 0:00:45.955 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:01 +0000 (0:00:01.021) 0:00:46.977 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.023) 0:00:47.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.037) 0:00:47.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.025) 0:00:47.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.029) 0:00:47.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.026) 0:00:47.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.024) 0:00:47.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.041) 0:00:47.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.033) 0:00:47.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.030) 0:00:47.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.025) 0:00:47.275 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.318) 0:00:47.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.043) 0:00:47.636 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.026) 0:00:47.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:01 +0000 (0:00:00.075) 0:00:47.738 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.375) 0:00:48.114 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.030) 0:00:48.144 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.034) 0:00:48.179 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.022) 0:00:48.202 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.020) 0:00:48.223 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.149) 0:00:48.373 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.040) 0:00:48.413 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.053) 0:00:48.466 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.045) 0:00:48.511 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.025) 0:00:48.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.021) 0:00:48.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:02 +0000 (0:00:00.028) 0:00:48.587 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:03 +0000 (0:00:00.730) 0:00:49.317 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:04 +0000 (0:00:01.009) 0:00:50.327 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.039) 0:00:50.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.022) 0:00:50.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.028) 0:00:50.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.021) 0:00:50.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.032) 0:00:50.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.037) 0:00:50.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.045) 0:00:50.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.037) 0:00:50.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.053) 0:00:50.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:04 +0000 (0:00:00.027) 0:00:50.673 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.252) 0:00:50.925 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.025) 0:00:50.951 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.021) 0:00:50.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.020) 0:00:50.992 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.412) 0:00:51.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.021) 0:00:51.426 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.029) 0:00:51.455 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.024) 0:00:51.479 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.021) 0:00:51.501 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.144) 0:00:51.645 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.038) 0:00:51.683 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:20:05 +0000 (0:00:00.035) 0:00:51.718 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.044) 0:00:51.763 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.144) 0:00:51.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.022) 0:00:51.929 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021674", "end": "2024-02-29 00:20:06.320664", "rc": 1, "start": "2024-02-29 00:20:06.298990" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.167) 0:00:52.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.030) 0:00:52.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.024) 0:00:52.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.025) 0:00:52.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.027) 0:00:52.205 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.028) 0:00:52.233 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.036) 0:00:52.270 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.042) 0:00:52.312 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.038) 0:00:52.350 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.144) 0:00:52.495 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.024) 0:00:52.519 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.026) 0:00:52.546 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:20:06 +0000 (0:00:00.073) 0:00:52.619 ***** 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.044102", "end": "2024-02-29 00:20:07.033255", "rc": 1, "start": "2024-02-29 00:20:06.989153" } 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_hotfixrmpr8f5a/tests/playbooks/tests_states.yml:126 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.190) 0:00:52.809 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:5 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.048) 0:00:52.858 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:9 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.024) 0:00:52.883 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:21 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.051) 0:00:52.935 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.044) 0:00:52.980 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.032) 0:00:53.013 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003956", "end": "2024-02-29 00:20:07.386919", "rc": 0, "start": "2024-02-29 00:20:07.382963" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.176) 0:00:53.189 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.036) 0:00:53.225 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:24 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.022) 0:00:53.247 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.051) 0:00:53.299 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.079) 0:00:53.379 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.074) 0:00:53.453 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.031) 0:00:53.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.035) 0:00:53.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:07 +0000 (0:00:00.023) 0:00:53.543 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:08 +0000 (0:00:00.754) 0:00:54.298 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:09 +0000 (0:00:01.008) 0:00:55.306 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.022) 0:00:55.329 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.047) 0:00:55.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.026) 0:00:55.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.024) 0:00:55.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.038) 0:00:55.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.028) 0:00:55.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.062) 0:00:55.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.032) 0:00:55.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.021) 0:00:55.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:09 +0000 (0:00:00.023) 0:00:55.635 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.251) 0:00:55.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.026) 0:00:55.913 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.035) 0:00:55.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.029) 0:00:55.978 ***** 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, 39511151-2271-47aa-a4e6-8fa6d1fa482e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.374) 0:00:56.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.029) 0:00:56.382 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39511151-2271-47aa-a4e6-8fa6d1fa482e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.040) 0:00:56.423 ***** 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, 39511151-2271-47aa-a4e6-8fa6d1fa482e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39511151-2271-47aa-a4e6-8fa6d1fa482e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.032) 0:00:56.455 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.057) 0:00:56.513 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 29 February 2024 00:20:10 +0000 (0:00:00.209) 0:00:56.723 ***** 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, 39511151-2271-47aa-a4e6-8fa6d1fa482e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 39511151-2271-47aa-a4e6-8fa6d1fa482e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/activate_profile.yml:3 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.059) 0:00:56.782 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.050) 0:00:56.833 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.055) 0:00:56.888 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.027) 0:00:56.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.024) 0:00:56.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:11 +0000 (0:00:00.035) 0:00:56.976 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:12 +0000 (0:00:00.805) 0:00:57.781 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:13 +0000 (0:00:01.071) 0:00:58.853 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.027) 0:00:58.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.030) 0:00:58.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.021) 0:00:58.933 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.026) 0:00:58.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.033) 0:00:58.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.022) 0:00:59.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.059) 0:00:59.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.032) 0:00:59.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.020) 0:00:59.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.028) 0:00:59.156 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.246) 0:00:59.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.025) 0:00:59.428 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.029) 0:00:59.457 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:13 +0000 (0:00:00.034) 0:00:59.492 ***** 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, 39511151-2271-47aa-a4e6-8fa6d1fa482e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.369) 0:00:59.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.041) 0:00:59.903 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39511151-2271-47aa-a4e6-8fa6d1fa482e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.025) 0:00:59.928 ***** 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, 39511151-2271-47aa-a4e6-8fa6d1fa482e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 39511151-2271-47aa-a4e6-8fa6d1fa482e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.032) 0:00:59.961 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.028) 0:00:59.990 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.167) 0:01:00.158 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.043) 0:01:00.201 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.055) 0:01:00.257 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.031) 0:01:00.289 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.029) 0:01:00.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:14 +0000 (0:00:00.026) 0:01:00.345 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:15 +0000 (0:00:00.761) 0:01:01.107 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:16 +0000 (0:00:01.039) 0:01:02.146 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.023) 0:01:02.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.022) 0:01:02.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.026) 0:01:02.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.028) 0:01:02.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.028) 0:01:02.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.032) 0:01:02.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.045) 0:01:02.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.021) 0:01:02.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.041) 0:01:02.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.043) 0:01:02.459 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:16 +0000 (0:00:00.265) 0:01:02.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.060) 0:01:02.785 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.034) 0:01:02.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.032) 0:01:02.853 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.446) 0:01:03.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.044) 0:01:03.344 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.040) 0:01:03.385 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.034) 0:01:03.419 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.043) 0:01:03.462 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:30 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.176) 0:01:03.639 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.045) 0:01:03.685 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:20:17 +0000 (0:00:00.053) 0:01:03.739 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:20:18 +0000 (0:00:00.066) 0:01:03.805 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:20:18 +0000 (0:00:00.048) 0:01:03.854 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:20:18 +0000 (0:00:00.057) 0:01:03.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:20:18 +0000 (0:00:00.024) 0:01:03.935 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:20:18 +0000 (0:00:00.742) 0:01:04.678 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:20:19 +0000 (0:00:01.015) 0:01:05.694 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:20:19 +0000 (0:00:00.024) 0:01:05.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.032) 0:01:05.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.023) 0:01:05.775 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.027) 0:01:05.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.027) 0:01:05.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.032) 0:01:05.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.075) 0:01:05.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.020) 0:01:05.960 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.020) 0:01:05.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.024) 0:01:06.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 [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.263) 0:01:06.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.024) 0:01:06.294 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.022) 0:01:06.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.020) 0:01:06.336 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.313) 0:01:06.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.021) 0:01:06.672 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.025) 0:01:06.698 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.029) 0:01:06.727 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:20:20 +0000 (0:00:00.020) 0:01:06.748 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:36 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.143) 0:01:06.891 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.044) 0:01:06.936 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.093) 0:01:07.029 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.024) 0:01:07.054 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.160) 0:01:07.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.022) 0:01:07.236 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020258", "end": "2024-02-29 00:20:21.624241", "rc": 1, "start": "2024-02-29 00:20:21.603983" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.163) 0:01:07.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.022) 0:01:07.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.023) 0:01:07.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.030) 0:01:07.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.022) 0:01:07.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.022) 0:01:07.521 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 29 February 2024 00:20:21 +0000 (0:00:00.023) 0:01:07.545 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.740845", "end": "2024-02-29 00:20:22.653293", "rc": 0, "start": "2024-02-29 00:20:21.912448" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 29 February 2024 00:20:22 +0000 (0:00:00.889) 0:01:08.434 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 29 February 2024 00:20:22 +0000 (0:00:00.033) 0:01:08.467 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:42 Thursday 29 February 2024 00:20:22 +0000 (0:00:00.030) 0:01:08.498 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 29 February 2024 00:20:22 +0000 (0:00:00.114) 0:01:08.612 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 29 February 2024 00:20:22 +0000 (0:00:00.051) 0:01:08.663 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 29 February 2024 00:20:23 +0000 (0:00:00.177) 0:01:08.841 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:47 Thursday 29 February 2024 00:20:23 +0000 (0:00:00.034) 0:01:08.876 ***** 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_hotfixrmpr8f5a/tests/playbooks/tasks/run_test.yml:66 Thursday 29 February 2024 00:20:23 +0000 (0:00:00.032) 0:01:08.908 ***** included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 29 February 2024 00:20:23 +0000 (0:00:00.086) 0:01:08.994 ***** 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.045405", "end": "2024-02-29 00:20:23.432364", "rc": 1, "start": "2024-02-29 00:20:23.386959" } 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_hotfixrmpr8f5a/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 29 February 2024 00:20:23 +0000 (0:00:00.221) 0:01:09.216 ***** 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.008233", "end": "2024-02-29 00:20:23.593463", "rc": 0, "start": "2024-02-29 00:20:23.585230" } 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 0e:c6:18:af:f6:fd brd ff:ff:ff:ff:ff:ff inet 10.31.43.20/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3329sec preferred_lft 3329sec inet6 fe80::cc6:18ff:feaf:f6fd/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.20 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 29 February 2024 00:20:23 +0000 (0:00:00.155) 0:01:09.371 ***** 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.411437", "end": "2024-02-29 00:20:24.155394", "rc": 0, "start": "2024-02-29 00:20:23.743957" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600: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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1469 0 --:--:-- --:--:-- --:--:-- 1466 % 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 1607 0 --:--:-- --:--:-- --:--:-- 1616 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=291 rescued=0 ignored=11 Thursday 29 February 2024 00:20:24 +0000 (0:00:00.553) 0:01:09.924 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.93s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Enable and start NetworkManager ------------ 1.42s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Configure networking connection profiles --- 1.37s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Check which packages are installed --------- 1.24s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.17s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Check which packages are installed --------- 1.17s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.14s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-nm_plugin_hotfixrmpr8f5a/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---