# 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-tft-testsezfn21rw/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/tests_states_nm.yml:6 Monday 17 June 2024 14:38:47 +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-tft-testsezfn21rw/tests/tests_states_nm.yml:9 Monday 17 June 2024 14:38:48 +0000 (0:00:00.613) 0:00:00.626 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:38:48 +0000 (0:00:00.023) 0:00:00.650 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:19 Monday 17 June 2024 14:38:48 +0000 (0:00:00.244) 0:00:00.894 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:24 Monday 17 June 2024 14:38:48 +0000 (0:00:00.227) 0:00:01.121 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:28 Monday 17 June 2024 14:38:48 +0000 (0:00:00.020) 0:00:01.142 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/el_repo_setup.yml:53 Monday 17 June 2024 14:38:48 +0000 (0:00:00.018) 0:00:01.161 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:38:48 +0000 (0:00:00.031) 0:00:01.192 *********** 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-tft-testsezfn21rw/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:38:48 +0000 (0:00:00.189) 0:00:01.381 *********** 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-tft-testsezfn21rw/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:38:49 +0000 (0:00:00.448) 0:00:01.829 *********** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172393", "end": "2024-06-17 14:38:49.571432", "rc": 0, "start": "2024-06-17 14:38:49.399039" } 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-tft-testsezfn21rw/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:38:49 +0000 (0:00:00.310) 0:00:02.140 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:38:49 +0000 (0:00:00.012) 0:00:02.152 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/tests_states_nm.yml:11 Monday 17 June 2024 14:38:49 +0000 (0:00:00.010) 0:00:02.163 *********** 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:3 Monday 17 June 2024 14:38:49 +0000 (0:00:00.026) 0:00:02.189 *********** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_states.yml:11 Monday 17 June 2024 14:38:50 +0000 (0:00:00.385) 0:00:02.574 *********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tests_states.yml:22 Monday 17 June 2024 14:38:50 +0000 (0:00:00.011) 0:00:02.585 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:38:50 +0000 (0:00:00.018) 0:00:02.603 *********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:38:50 +0000 (0:00:00.019) 0:00:02.623 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:38:50 +0000 (0:00:00.036) 0:00:02.659 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:38:50 +0000 (0:00:00.021) 0:00:02.680 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:38:50 +0000 (0:00:00.017) 0:00:02.697 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2024-06-17 14:38:50.291656", "rc": 0, "start": "2024-06-17 14:38:50.288380" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:38:50 +0000 (0:00:00.145) 0:00:02.843 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:38:50 +0000 (0:00:00.021) 0:00:02.864 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:38:50 +0000 (0:00:00.011) 0:00:02.876 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:38:50 +0000 (0:00:00.021) 0:00:02.897 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010546", "end": "2024-06-17 14:38:50.475278", "rc": 1, "start": "2024-06-17 14:38:50.464732" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:38:50 +0000 (0:00:00.128) 0:00:03.026 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:38:50 +0000 (0:00:00.016) 0:00:03.043 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:38:50 +0000 (0:00:00.126) 0:00:03.169 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:38:50 +0000 (0:00:00.022) 0:00:03.192 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:38:50 +0000 (0:00:00.021) 0:00:03.214 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:38:50 +0000 (0:00:00.086) 0:00:03.300 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:38:50 +0000 (0:00:00.022) 0:00:03.323 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:38:50 +0000 (0:00:00.014) 0:00:03.337 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:38:50 +0000 (0:00:00.011) 0:00:03.348 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:38:50 +0000 (0:00:00.010) 0:00:03.358 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:38:51 +0000 (0:00:00.782) 0:00:04.141 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:38:52 +0000 (0:00:01.113) 0:00:05.255 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:38:52 +0000 (0:00:00.023) 0:00:05.278 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:38:52 +0000 (0:00:00.023) 0:00:05.302 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:38:52 +0000 (0:00:00.022) 0:00:05.325 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:38:52 +0000 (0:00:00.022) 0:00:05.347 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:38:52 +0000 (0:00:00.039) 0:00:05.387 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:38:52 +0000 (0:00:00.037) 0:00:05.424 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:38:52 +0000 (0:00:00.058) 0:00:05.482 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:38:52 +0000 (0:00:00.037) 0:00:05.520 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:38:53 +0000 (0:00:00.032) 0:00:05.552 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:38:53 +0000 (0:00:00.027) 0:00:05.580 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:38:53 +0000 (0:00:00.400) 0:00:05.980 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:38:53 +0000 (0:00:00.058) 0:00:06.038 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:38:53 +0000 (0:00:00.043) 0:00:06.082 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:38:53 +0000 (0:00:00.023) 0:00:06.105 *********** 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, d6adf84d-49e0-41d4-8046-3c64f85f9216 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:38:54 +0000 (0:00:00.612) 0:00:06.718 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:38:54 +0000 (0:00:00.025) 0:00:06.743 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6adf84d-49e0-41d4-8046-3c64f85f9216" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:38:54 +0000 (0:00:00.037) 0:00:06.781 *********** 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, d6adf84d-49e0-41d4-8046-3c64f85f9216\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6adf84d-49e0-41d4-8046-3c64f85f9216" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:38:54 +0000 (0:00:00.054) 0:00:06.836 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:38:54 +0000 (0:00:00.056) 0:00:06.893 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:38:54 +0000 (0:00:00.196) 0:00:07.089 *********** 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, d6adf84d-49e0-41d4-8046-3c64f85f9216\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6adf84d-49e0-41d4-8046-3c64f85f9216" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:38:54 +0000 (0:00:00.064) 0:00:07.154 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:38:54 +0000 (0:00:00.056) 0:00:07.210 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:38:54 +0000 (0:00:00.039) 0:00:07.250 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:38:54 +0000 (0:00:00.022) 0:00:07.272 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635134.0425222, "block_size": 4096, "blocks": 8, "ctime": 1718635134.0415223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718635134.0415223, "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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:38:54 +0000 (0:00:00.141) 0:00:07.414 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:38:54 +0000 (0:00:00.022) 0:00:07.436 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024015", "end": "2024-06-17 14:38:55.032317", "rc": 0, "start": "2024-06-17 14:38:55.008302" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:38:55 +0000 (0:00:00.158) 0:00:07.594 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:38:55 +0000 (0:00:00.023) 0:00:07.618 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:38:55 +0000 (0:00:00.045) 0:00:07.664 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:38:55 +0000 (0:00:00.023) 0:00:07.688 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:38:55 +0000 (0:00:00.022) 0:00:07.711 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:38:55 +0000 (0:00:00.022) 0:00:07.733 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:38:55 +0000 (0:00:00.024) 0:00:07.757 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:38:55 +0000 (0:00:00.023) 0:00:07.781 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:38:55 +0000 (0:00:00.025) 0:00:07.806 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:38:55 +0000 (0:00:00.054) 0:00:07.860 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:38:55 +0000 (0:00:00.043) 0:00:07.904 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635134.0485222, "block_size": 4096, "blocks": 0, "ctime": 1718635134.0445223, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17737, "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": 1718635134.0445223, "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-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:38:55 +0000 (0:00:00.139) 0:00:08.044 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:38:55 +0000 (0:00:00.024) 0:00:08.068 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:38:55 +0000 (0:00:00.023) 0:00:08.091 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:38:55 +0000 (0:00:00.055) 0:00:08.147 *********** 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.081119", "end": "2024-06-17 14:38:55.826081", "rc": 1, "start": "2024-06-17 14:38:55.744962" } STDOUT: Connection 'statebr' (d6adf84d-49e0-41d4-8046-3c64f85f9216) successfully deleted. STDERR: (process:26631): GLib-GIO-WARNING **: 14:38:55.804: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:45 Monday 17 June 2024 14:38:55 +0000 (0:00:00.243) 0:00:08.390 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:38:55 +0000 (0:00:00.089) 0:00:08.480 *********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:38:55 +0000 (0:00:00.033) 0:00:08.513 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:38:56 +0000 (0:00:00.061) 0:00:08.574 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:38:56 +0000 (0:00:00.046) 0:00:08.621 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:38:56 +0000 (0:00:00.068) 0:00:08.689 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003432", "end": "2024-06-17 14:38:56.294779", "rc": 0, "start": "2024-06-17 14:38:56.291347" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:38:56 +0000 (0:00:00.169) 0:00:08.859 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:38:56 +0000 (0:00:00.029) 0:00:08.888 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:38:56 +0000 (0:00:00.023) 0:00:08.912 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:38:56 +0000 (0:00:00.042) 0:00:08.955 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007290", "end": "2024-06-17 14:38:56.541966", "rc": 1, "start": "2024-06-17 14:38:56.534676" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:38:56 +0000 (0:00:00.148) 0:00:09.103 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:38:56 +0000 (0:00:00.035) 0:00:09.139 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:38:56 +0000 (0:00:00.136) 0:00:09.275 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:38:56 +0000 (0:00:00.038) 0:00:09.313 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 17 June 2024 14:38:56 +0000 (0:00:00.084) 0:00:09.398 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:38:56 +0000 (0:00:00.042) 0:00:09.441 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:38:56 +0000 (0:00:00.044) 0:00:09.485 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:38:56 +0000 (0:00:00.028) 0:00:09.513 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:38:56 +0000 (0:00:00.021) 0:00:09.534 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:38:57 +0000 (0:00:00.021) 0:00:09.556 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:38:57 +0000 (0:00:00.715) 0:00:10.271 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:38:58 +0000 (0:00:00.946) 0:00:11.218 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:38:58 +0000 (0:00:00.024) 0:00:11.243 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:38:58 +0000 (0:00:00.023) 0:00:11.267 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:38:58 +0000 (0:00:00.023) 0:00:11.290 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:38:58 +0000 (0:00:00.022) 0:00:11.312 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:38:58 +0000 (0:00:00.028) 0:00:11.341 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:38:58 +0000 (0:00:00.030) 0:00:11.371 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:38:58 +0000 (0:00:00.050) 0:00:11.421 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:38:58 +0000 (0:00:00.024) 0:00:11.446 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:38:58 +0000 (0:00:00.056) 0:00:11.502 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:38:58 +0000 (0:00:00.028) 0:00:11.531 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:38:59 +0000 (0:00:00.252) 0:00:11.784 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:38:59 +0000 (0:00:00.034) 0:00:11.819 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:38:59 +0000 (0:00:00.024) 0:00:11.843 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:38:59 +0000 (0:00:00.021) 0:00:11.865 *********** 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, e72c2ad3-557e-44c6-88f3-72f682cd80b1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:38:59 +0000 (0:00:00.354) 0:00:12.220 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:38:59 +0000 (0:00:00.048) 0:00:12.268 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e72c2ad3-557e-44c6-88f3-72f682cd80b1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:38:59 +0000 (0:00:00.024) 0:00:12.293 *********** 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, e72c2ad3-557e-44c6-88f3-72f682cd80b1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e72c2ad3-557e-44c6-88f3-72f682cd80b1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:38:59 +0000 (0:00:00.024) 0:00:12.318 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:38:59 +0000 (0:00:00.022) 0:00:12.341 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 17 June 2024 14:38:59 +0000 (0:00:00.129) 0:00:12.470 *********** 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, e72c2ad3-557e-44c6-88f3-72f682cd80b1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e72c2ad3-557e-44c6-88f3-72f682cd80b1" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:38:59 +0000 (0:00:00.024) 0:00:12.495 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:39:00 +0000 (0:00:00.043) 0:00:12.538 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:39:00 +0000 (0:00:00.037) 0:00:12.576 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:39:00 +0000 (0:00:00.149) 0:00:12.725 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:39:00 +0000 (0:00:00.030) 0:00:12.756 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:00 +0000 (0:00:00.053) 0:00:12.810 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:00 +0000 (0:00:00.022) 0:00:12.832 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635139.640548, "block_size": 4096, "blocks": 8, "ctime": 1718635139.640548, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718635139.640548, "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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:00 +0000 (0:00:00.135) 0:00:12.967 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:00 +0000 (0:00:00.023) 0:00:12.991 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022261", "end": "2024-06-17 14:39:00.586777", "rc": 0, "start": "2024-06-17 14:39:00.564516" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:00 +0000 (0:00:00.188) 0:00:13.180 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:00 +0000 (0:00:00.032) 0:00:13.212 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:00 +0000 (0:00:00.028) 0:00:13.240 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:00 +0000 (0:00:00.051) 0:00:13.292 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:00 +0000 (0:00:00.024) 0:00:13.317 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:39:00 +0000 (0:00:00.053) 0:00:13.371 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:39:00 +0000 (0:00:00.027) 0:00:13.398 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:39:00 +0000 (0:00:00.023) 0:00:13.422 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:00 +0000 (0:00:00.025) 0:00:13.447 *********** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:00 +0000 (0:00:00.019) 0:00:13.467 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:00 +0000 (0:00:00.021) 0:00:13.488 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:00 +0000 (0:00:00.040) 0:00:13.528 *********** 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.047028", "end": "2024-06-17 14:39:01.157002", "rc": 1, "start": "2024-06-17 14:39:01.109974" } STDOUT: Connection 'statebr' (e72c2ad3-557e-44c6-88f3-72f682cd80b1) 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:65 Monday 17 June 2024 14:39:01 +0000 (0:00:00.209) 0:00:13.738 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:39:01 +0000 (0:00:00.040) 0:00:13.778 *********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:39:01 +0000 (0:00:00.031) 0:00:13.810 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:39:01 +0000 (0:00:00.082) 0:00:13.893 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:39:01 +0000 (0:00:00.035) 0:00:13.929 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:39:01 +0000 (0:00:00.047) 0:00:13.977 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003422", "end": "2024-06-17 14:39:01.561037", "rc": 0, "start": "2024-06-17 14:39:01.557615" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:39:01 +0000 (0:00:00.150) 0:00:14.127 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:39:01 +0000 (0:00:00.022) 0:00:14.149 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:39:01 +0000 (0:00:00.021) 0:00:14.171 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:39:01 +0000 (0:00:00.037) 0:00:14.208 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:01 +0000 (0:00:00.037) 0:00:14.246 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:01 +0000 (0:00:00.040) 0:00:14.286 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:01 +0000 (0:00:00.035) 0:00:14.321 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:01 +0000 (0:00:00.030) 0:00:14.352 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:01 +0000 (0:00:00.030) 0:00:14.383 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:02 +0000 (0:00:00.689) 0:00:15.073 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:03 +0000 (0:00:00.929) 0:00:16.002 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:03 +0000 (0:00:00.031) 0:00:16.034 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:03 +0000 (0:00:00.039) 0:00:16.073 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:03 +0000 (0:00:00.033) 0:00:16.107 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:03 +0000 (0:00:00.024) 0:00:16.131 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:03 +0000 (0:00:00.064) 0:00:16.196 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:03 +0000 (0:00:00.033) 0:00:16.229 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:03 +0000 (0:00:00.079) 0:00:16.309 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:03 +0000 (0:00:00.043) 0:00:16.352 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:03 +0000 (0:00:00.034) 0:00:16.386 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:03 +0000 (0:00:00.059) 0:00:16.446 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:04 +0000 (0:00:00.241) 0:00:16.688 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:04 +0000 (0:00:00.033) 0:00:16.721 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:04 +0000 (0:00:00.023) 0:00:16.745 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:04 +0000 (0:00:00.027) 0:00:16.772 *********** 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, 785eeb15-d368-4f16-b5a9-f9bde0245839 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:04 +0000 (0:00:00.412) 0:00:17.185 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:04 +0000 (0:00:00.057) 0:00:17.242 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 785eeb15-d368-4f16-b5a9-f9bde0245839" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:04 +0000 (0:00:00.053) 0:00:17.296 *********** 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, 785eeb15-d368-4f16-b5a9-f9bde0245839\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 785eeb15-d368-4f16-b5a9-f9bde0245839" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:04 +0000 (0:00:00.043) 0:00:17.340 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:04 +0000 (0:00:00.027) 0:00:17.367 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:04 +0000 (0:00:00.134) 0:00:17.501 *********** 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, 785eeb15-d368-4f16-b5a9-f9bde0245839\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 785eeb15-d368-4f16-b5a9-f9bde0245839" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:04 +0000 (0:00:00.021) 0:00:17.523 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:05 +0000 (0:00:00.041) 0:00:17.565 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:05 +0000 (0:00:00.050) 0:00:17.615 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:05 +0000 (0:00:00.085) 0:00:17.700 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:05 +0000 (0:00:00.027) 0:00:17.728 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:05 +0000 (0:00:00.021) 0:00:17.750 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:05 +0000 (0:00:00.026) 0:00:17.777 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:05 +0000 (0:00:00.681) 0:00:18.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 : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:06 +0000 (0:00:00.912) 0:00:19.371 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:06 +0000 (0:00:00.021) 0:00:19.393 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:06 +0000 (0:00:00.022) 0:00:19.416 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:06 +0000 (0:00:00.024) 0:00:19.440 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:06 +0000 (0:00:00.055) 0:00:19.495 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:06 +0000 (0:00:00.025) 0:00:19.521 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:07 +0000 (0:00:00.024) 0:00:19.546 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:07 +0000 (0:00:00.060) 0:00:19.606 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:07 +0000 (0:00:00.024) 0:00:19.631 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:07 +0000 (0:00:00.025) 0:00:19.656 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:07 +0000 (0:00:00.033) 0:00:19.690 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:07 +0000 (0:00:00.258) 0:00:19.949 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:07 +0000 (0:00:00.029) 0:00:19.978 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:07 +0000 (0:00:00.033) 0:00:20.012 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:07 +0000 (0:00:00.023) 0:00:20.036 *********** 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, 785eeb15-d368-4f16-b5a9-f9bde0245839 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:07 +0000 (0:00:00.278) 0:00:20.314 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:07 +0000 (0:00:00.021) 0:00:20.336 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 785eeb15-d368-4f16-b5a9-f9bde0245839 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:07 +0000 (0:00:00.022) 0:00:20.359 *********** 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, 785eeb15-d368-4f16-b5a9-f9bde0245839 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 785eeb15-d368-4f16-b5a9-f9bde0245839 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:07 +0000 (0:00:00.034) 0:00:20.393 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:07 +0000 (0:00:00.028) 0:00:20.421 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:08 +0000 (0:00:00.142) 0:00:20.563 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.103) 0:00:20.667 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.037) 0:00:20.705 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635144.5435705, "block_size": 4096, "blocks": 0, "ctime": 1718635144.5425706, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17737, "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": 1718635144.5425706, "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-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:39:08 +0000 (0:00:00.151) 0:00:20.856 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.029) 0:00:20.885 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:08 +0000 (0:00:00.044) 0:00:20.929 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:08 +0000 (0:00:00.025) 0:00:20.955 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635144.5415707, "block_size": 4096, "blocks": 8, "ctime": 1718635144.5405705, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1718635144.5405705, "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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:08 +0000 (0:00:00.139) 0:00:21.095 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:08 +0000 (0:00:00.026) 0:00:21.121 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022046", "end": "2024-06-17 14:39:08.721537", "rc": 0, "start": "2024-06-17 14:39:08.699491" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:08 +0000 (0:00:00.161) 0:00:21.283 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:08 +0000 (0:00:00.026) 0:00:21.309 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:08 +0000 (0:00:00.023) 0:00:21.333 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:08 +0000 (0:00:00.035) 0:00:21.368 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:08 +0000 (0:00:00.028) 0:00:21.397 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:39:08 +0000 (0:00:00.043) 0:00:21.440 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:39:08 +0000 (0:00:00.065) 0:00:21.506 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:39:09 +0000 (0:00:00.037) 0:00:21.543 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:09 +0000 (0:00:00.035) 0:00:21.578 *********** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:09 +0000 (0:00:00.023) 0:00:21.602 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:09 +0000 (0:00:00.049) 0:00:21.652 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:09 +0000 (0:00:00.053) 0:00:21.705 *********** 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.074229", "end": "2024-06-17 14:39:09.356659", "rc": 1, "start": "2024-06-17 14:39:09.282430" } STDOUT: Connection 'statebr' (785eeb15-d368-4f16-b5a9-f9bde0245839) successfully deleted. STDERR: (process:27343): GLib-GIO-WARNING **: 14:39:09.337: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/33 but no object proxy exists (process:27343): GLib-GIO-WARNING **: 14:39:09.337: 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:83 Monday 17 June 2024 14:39:09 +0000 (0:00:00.213) 0:00:21.918 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:39:09 +0000 (0:00:00.037) 0:00:21.955 *********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:39:09 +0000 (0:00:00.022) 0:00:21.978 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:39:09 +0000 (0:00:00.046) 0:00:22.024 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:39:09 +0000 (0:00:00.036) 0:00:22.060 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:39:09 +0000 (0:00:00.035) 0:00:22.096 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003485", "end": "2024-06-17 14:39:09.670845", "rc": 0, "start": "2024-06-17 14:39:09.667360" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:39:09 +0000 (0:00:00.137) 0:00:22.234 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:39:09 +0000 (0:00:00.058) 0:00:22.292 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:39:09 +0000 (0:00:00.024) 0:00:22.317 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:39:09 +0000 (0:00:00.045) 0:00:22.362 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:09 +0000 (0:00:00.069) 0:00:22.432 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:09 +0000 (0:00:00.042) 0:00:22.475 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:09 +0000 (0:00:00.029) 0:00:22.504 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:09 +0000 (0:00:00.022) 0:00:22.527 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:10 +0000 (0:00:00.022) 0:00:22.550 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:10 +0000 (0:00:00.686) 0:00:23.237 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:11 +0000 (0:00:00.965) 0:00:24.202 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:11 +0000 (0:00:00.031) 0:00:24.234 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:11 +0000 (0:00:00.071) 0:00:24.306 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:11 +0000 (0:00:00.046) 0:00:24.352 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:11 +0000 (0:00:00.063) 0:00:24.415 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:11 +0000 (0:00:00.080) 0:00:24.496 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:12 +0000 (0:00:00.055) 0:00:24.552 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:12 +0000 (0:00:00.046) 0:00:24.599 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:12 +0000 (0:00:00.042) 0:00:24.642 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:12 +0000 (0:00:00.024) 0:00:24.666 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:12 +0000 (0:00:00.030) 0:00:24.697 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:12 +0000 (0:00:00.232) 0:00:24.929 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:12 +0000 (0:00:00.027) 0:00:24.956 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:12 +0000 (0:00:00.056) 0:00:25.013 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:12 +0000 (0:00:00.042) 0:00:25.055 *********** 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, 6d0fb954-60bc-4df2-8475-8943a4320812 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:12 +0000 (0:00:00.393) 0:00:25.449 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:12 +0000 (0:00:00.022) 0:00:25.471 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d0fb954-60bc-4df2-8475-8943a4320812" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:12 +0000 (0:00:00.033) 0:00:25.505 *********** 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, 6d0fb954-60bc-4df2-8475-8943a4320812\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d0fb954-60bc-4df2-8475-8943a4320812" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:12 +0000 (0:00:00.025) 0:00:25.530 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:13 +0000 (0:00:00.022) 0:00:25.553 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:13 +0000 (0:00:00.140) 0:00:25.694 *********** 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, 6d0fb954-60bc-4df2-8475-8943a4320812\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d0fb954-60bc-4df2-8475-8943a4320812" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:13 +0000 (0:00:00.025) 0:00:25.719 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:13 +0000 (0:00:00.046) 0:00:25.765 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:13 +0000 (0:00:00.042) 0:00:25.808 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:13 +0000 (0:00:00.027) 0:00:25.835 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:13 +0000 (0:00:00.024) 0:00:25.860 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:13 +0000 (0:00:00.022) 0:00:25.882 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:14 +0000 (0:00:00.685) 0:00:26.568 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:14 +0000 (0:00:00.946) 0:00:27.514 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:14 +0000 (0:00:00.022) 0:00:27.537 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:15 +0000 (0:00:00.023) 0:00:27.561 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:15 +0000 (0:00:00.029) 0:00:27.590 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:15 +0000 (0:00:00.023) 0:00:27.613 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:15 +0000 (0:00:00.024) 0:00:27.638 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:15 +0000 (0:00:00.025) 0:00:27.664 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:15 +0000 (0:00:00.045) 0:00:27.709 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:15 +0000 (0:00:00.029) 0:00:27.739 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:15 +0000 (0:00:00.024) 0:00:27.764 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:15 +0000 (0:00:00.043) 0:00:27.807 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:15 +0000 (0:00:00.284) 0:00:28.092 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:15 +0000 (0:00:00.042) 0:00:28.134 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:15 +0000 (0:00:00.041) 0:00:28.176 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:15 +0000 (0:00:00.044) 0:00:28.220 *********** 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, 6d0fb954-60bc-4df2-8475-8943a4320812 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:15 +0000 (0:00:00.298) 0:00:28.519 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:16 +0000 (0:00:00.024) 0:00:28.543 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6d0fb954-60bc-4df2-8475-8943a4320812 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:16 +0000 (0:00:00.025) 0:00:28.569 *********** 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, 6d0fb954-60bc-4df2-8475-8943a4320812 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6d0fb954-60bc-4df2-8475-8943a4320812 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:16 +0000 (0:00:00.023) 0:00:28.592 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:16 +0000 (0:00:00.021) 0:00:28.614 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:16 +0000 (0:00:00.138) 0:00:28.752 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:39:16 +0000 (0:00:00.045) 0:00:28.798 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:16 +0000 (0:00:00.044) 0:00:28.842 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:16 +0000 (0:00:00.040) 0:00:28.883 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:16 +0000 (0:00:00.025) 0:00:28.908 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:16 +0000 (0:00:00.045) 0:00:28.954 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:16 +0000 (0:00:00.021) 0:00:28.975 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:17 +0000 (0:00:00.686) 0:00:29.662 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:18 +0000 (0:00:00.933) 0:00:30.595 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:18 +0000 (0:00:00.057) 0:00:30.652 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:18 +0000 (0:00:00.036) 0:00:30.688 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:18 +0000 (0:00:00.035) 0:00:30.724 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:18 +0000 (0:00:00.036) 0:00:30.760 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:18 +0000 (0:00:00.041) 0:00:30.801 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:18 +0000 (0:00:00.029) 0:00:30.831 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:18 +0000 (0:00:00.092) 0:00:30.924 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:18 +0000 (0:00:00.039) 0:00:30.963 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:18 +0000 (0:00:00.024) 0:00:30.988 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:18 +0000 (0:00:00.025) 0:00:31.013 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:18 +0000 (0:00:00.267) 0:00:31.281 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:18 +0000 (0:00:00.033) 0:00:31.315 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:18 +0000 (0:00:00.043) 0:00:31.358 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:18 +0000 (0:00:00.045) 0:00:31.403 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:19 +0000 (0:00:00.346) 0:00:31.750 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:19 +0000 (0:00:00.043) 0:00:31.793 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:19 +0000 (0:00:00.032) 0:00:31.826 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:19 +0000 (0:00:00.045) 0:00:31.872 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:19 +0000 (0:00:00.070) 0:00:31.942 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:19 +0000 (0:00:00.169) 0:00:32.111 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.051) 0:00:32.163 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.077) 0:00:32.240 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635152.8086085, "block_size": 4096, "blocks": 0, "ctime": 1718635152.8046086, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17739, "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": 1718635152.8046086, "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-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:39:19 +0000 (0:00:00.148) 0:00:32.388 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.028) 0:00:32.417 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:19 +0000 (0:00:00.064) 0:00:32.481 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:19 +0000 (0:00:00.033) 0:00:32.515 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:20 +0000 (0:00:00.145) 0:00:32.661 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:20 +0000 (0:00:00.056) 0:00:32.718 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022898", "end": "2024-06-17 14:39:20.338566", "rc": 1, "start": "2024-06-17 14:39:20.315668" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:20 +0000 (0:00:00.218) 0:00:32.936 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:20 +0000 (0:00:00.035) 0:00:32.971 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:20 +0000 (0:00:00.057) 0:00:33.029 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:20 +0000 (0:00:00.065) 0:00:33.094 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:20 +0000 (0:00:00.025) 0:00:33.120 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:39:20 +0000 (0:00:00.058) 0:00:33.179 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:20 +0000 (0:00:00.050) 0:00:33.229 *********** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:20 +0000 (0:00:00.055) 0:00:33.285 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:20 +0000 (0:00:00.045) 0:00:33.330 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:20 +0000 (0:00:00.069) 0:00:33.400 *********** 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.082091", "end": "2024-06-17 14:39:21.052004", "rc": 1, "start": "2024-06-17 14:39:20.969913" } STDOUT: Connection 'statebr' (6d0fb954-60bc-4df2-8475-8943a4320812) successfully deleted. STDERR: (process:27963): GLib-GIO-WARNING **: 14:39:21.031: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/34 but no object proxy exists (process:27963): GLib-GIO-WARNING **: 14:39:21.031: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/61 but no object proxy exists (process:27963): GLib-GIO-WARNING **: 14:39:21.031: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/40 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:103 Monday 17 June 2024 14:39:21 +0000 (0:00:00.213) 0:00:33.614 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:39:21 +0000 (0:00:00.048) 0:00:33.663 *********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:39:21 +0000 (0:00:00.032) 0:00:33.695 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:39:21 +0000 (0:00:00.058) 0:00:33.753 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:39:21 +0000 (0:00:00.036) 0:00:33.790 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:39:21 +0000 (0:00:00.036) 0:00:33.826 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003694", "end": "2024-06-17 14:39:21.401253", "rc": 0, "start": "2024-06-17 14:39:21.397559" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:39:21 +0000 (0:00:00.139) 0:00:33.965 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:39:21 +0000 (0:00:00.025) 0:00:33.991 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:39:21 +0000 (0:00:00.021) 0:00:34.013 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:39:21 +0000 (0:00:00.045) 0:00:34.059 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:21 +0000 (0:00:00.072) 0:00:34.132 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:21 +0000 (0:00:00.043) 0:00:34.175 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:21 +0000 (0:00:00.026) 0:00:34.202 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:21 +0000 (0:00:00.020) 0:00:34.223 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:21 +0000 (0:00:00.021) 0:00:34.244 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:22 +0000 (0:00:00.678) 0:00:34.923 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:23 +0000 (0:00:00.921) 0:00:35.845 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:23 +0000 (0:00:00.025) 0:00:35.870 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:23 +0000 (0:00:00.055) 0:00:35.926 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:23 +0000 (0:00:00.023) 0:00:35.949 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:23 +0000 (0:00:00.025) 0:00:35.975 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:23 +0000 (0:00:00.026) 0:00:36.002 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:23 +0000 (0:00:00.026) 0:00:36.028 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:23 +0000 (0:00:00.044) 0:00:36.073 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:23 +0000 (0:00:00.022) 0:00:36.095 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:23 +0000 (0:00:00.024) 0:00:36.120 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:23 +0000 (0:00:00.027) 0:00:36.147 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:23 +0000 (0:00:00.243) 0:00:36.390 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:23 +0000 (0:00:00.034) 0:00:36.425 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:23 +0000 (0:00:00.023) 0:00:36.448 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:23 +0000 (0:00:00.022) 0:00:36.471 *********** 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, 22856944-48db-4e23-9922-99f797dda2b3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:24 +0000 (0:00:00.335) 0:00:36.807 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:24 +0000 (0:00:00.041) 0:00:36.848 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 22856944-48db-4e23-9922-99f797dda2b3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:24 +0000 (0:00:00.031) 0:00:36.879 *********** 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, 22856944-48db-4e23-9922-99f797dda2b3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 22856944-48db-4e23-9922-99f797dda2b3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:24 +0000 (0:00:00.024) 0:00:36.904 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:24 +0000 (0:00:00.074) 0:00:36.978 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:24 +0000 (0:00:00.136) 0:00:37.114 *********** 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, 22856944-48db-4e23-9922-99f797dda2b3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 22856944-48db-4e23-9922-99f797dda2b3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:24 +0000 (0:00:00.028) 0:00:37.142 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:24 +0000 (0:00:00.056) 0:00:37.199 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:24 +0000 (0:00:00.046) 0:00:37.246 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:24 +0000 (0:00:00.034) 0:00:37.280 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:24 +0000 (0:00:00.022) 0:00:37.303 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:24 +0000 (0:00:00.020) 0:00:37.324 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:25 +0000 (0:00:00.682) 0:00:38.006 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:26 +0000 (0:00:00.949) 0:00:38.956 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:26 +0000 (0:00:00.022) 0:00:38.979 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:26 +0000 (0:00:00.022) 0:00:39.001 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:26 +0000 (0:00:00.041) 0:00:39.042 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:26 +0000 (0:00:00.024) 0:00:39.067 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:26 +0000 (0:00:00.029) 0:00:39.097 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:26 +0000 (0:00:00.045) 0:00:39.142 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:26 +0000 (0:00:00.066) 0:00:39.208 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:26 +0000 (0:00:00.038) 0:00:39.247 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:26 +0000 (0:00:00.024) 0:00:39.271 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:26 +0000 (0:00:00.046) 0:00:39.318 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:27 +0000 (0:00:00.234) 0:00:39.552 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:27 +0000 (0:00:00.025) 0:00:39.577 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:27 +0000 (0:00:00.025) 0:00:39.602 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:27 +0000 (0:00:00.036) 0:00:39.638 *********** 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, 22856944-48db-4e23-9922-99f797dda2b3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:27 +0000 (0:00:00.358) 0:00:39.997 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:27 +0000 (0:00:00.022) 0:00:40.019 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 22856944-48db-4e23-9922-99f797dda2b3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:27 +0000 (0:00:00.024) 0:00:40.043 *********** 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, 22856944-48db-4e23-9922-99f797dda2b3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 22856944-48db-4e23-9922-99f797dda2b3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:27 +0000 (0:00:00.031) 0:00:40.074 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:27 +0000 (0:00:00.037) 0:00:40.112 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:39:27 +0000 (0:00:00.143) 0:00:40.256 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:27 +0000 (0:00:00.038) 0:00:40.294 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:27 +0000 (0:00:00.065) 0:00:40.359 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:27 +0000 (0:00:00.036) 0:00:40.396 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:27 +0000 (0:00:00.035) 0:00:40.432 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:27 +0000 (0:00:00.021) 0:00:40.454 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:28 +0000 (0:00:00.692) 0:00:41.147 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:29 +0000 (0:00:00.956) 0:00:42.103 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:29 +0000 (0:00:00.022) 0:00:42.126 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:29 +0000 (0:00:00.022) 0:00:42.148 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:29 +0000 (0:00:00.021) 0:00:42.170 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:29 +0000 (0:00:00.021) 0:00:42.191 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:29 +0000 (0:00:00.025) 0:00:42.216 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:29 +0000 (0:00:00.025) 0:00:42.242 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:29 +0000 (0:00:00.045) 0:00:42.287 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:29 +0000 (0:00:00.022) 0:00:42.310 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:29 +0000 (0:00:00.023) 0:00:42.333 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:29 +0000 (0:00:00.024) 0:00:42.357 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:30 +0000 (0:00:00.240) 0:00:42.598 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:30 +0000 (0:00:00.025) 0:00:42.623 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:30 +0000 (0:00:00.052) 0:00:42.676 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:30 +0000 (0:00:00.023) 0:00:42.699 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:30 +0000 (0:00:00.337) 0:00:43.036 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:30 +0000 (0:00:00.042) 0:00:43.079 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:30 +0000 (0:00:00.048) 0:00:43.128 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:30 +0000 (0:00:00.046) 0:00:43.175 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:30 +0000 (0:00:00.041) 0:00:43.216 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:30 +0000 (0:00:00.137) 0:00:43.354 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:39:30 +0000 (0:00:00.044) 0:00:43.398 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:30 +0000 (0:00:00.044) 0:00:43.442 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:30 +0000 (0:00:00.047) 0:00:43.490 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:30 +0000 (0:00:00.047) 0:00:43.538 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:31 +0000 (0:00:00.023) 0:00:43.561 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:31 +0000 (0:00:00.057) 0:00:43.619 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:31 +0000 (0:00:00.684) 0:00:44.304 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:32 +0000 (0:00:00.927) 0:00:45.231 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:32 +0000 (0:00:00.024) 0:00:45.255 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:32 +0000 (0:00:00.022) 0:00:45.278 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:32 +0000 (0:00:00.035) 0:00:45.313 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:32 +0000 (0:00:00.023) 0:00:45.337 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:32 +0000 (0:00:00.031) 0:00:45.369 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:32 +0000 (0:00:00.032) 0:00:45.402 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:32 +0000 (0:00:00.064) 0:00:45.466 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:32 +0000 (0:00:00.068) 0:00:45.534 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:33 +0000 (0:00:00.024) 0:00:45.559 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:33 +0000 (0:00:00.027) 0:00:45.586 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:33 +0000 (0:00:00.231) 0:00:45.817 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:33 +0000 (0:00:00.035) 0:00:45.853 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:33 +0000 (0:00:00.022) 0:00:45.875 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:33 +0000 (0:00:00.026) 0:00:45.902 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:33 +0000 (0:00:00.372) 0:00:46.275 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:33 +0000 (0:00:00.022) 0:00:46.297 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:33 +0000 (0:00:00.031) 0:00:46.328 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:33 +0000 (0:00:00.025) 0:00:46.354 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:33 +0000 (0:00:00.034) 0:00:46.389 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:33 +0000 (0:00:00.128) 0:00:46.517 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:39:34 +0000 (0:00:00.047) 0:00:46.565 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:34 +0000 (0:00:00.038) 0:00:46.604 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:34 +0000 (0:00:00.055) 0:00:46.659 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:34 +0000 (0:00:00.136) 0:00:46.796 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:34 +0000 (0:00:00.021) 0:00:46.817 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020383", "end": "2024-06-17 14:39:34.409668", "rc": 1, "start": "2024-06-17 14:39:34.389285" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:34 +0000 (0:00:00.156) 0:00:46.974 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:34 +0000 (0:00:00.023) 0:00:46.998 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:34 +0000 (0:00:00.025) 0:00:47.023 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:34 +0000 (0:00:00.024) 0:00:47.048 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:34 +0000 (0:00:00.026) 0:00:47.074 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:39:34 +0000 (0:00:00.028) 0:00:47.102 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:34 +0000 (0:00:00.041) 0:00:47.143 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:39:34 +0000 (0:00:00.058) 0:00:47.201 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:39:34 +0000 (0:00:00.063) 0:00:47.265 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:39:34 +0000 (0:00:00.135) 0:00:47.400 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:34 +0000 (0:00:00.026) 0:00:47.426 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:34 +0000 (0:00:00.023) 0:00:47.450 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:34 +0000 (0:00:00.080) 0:00:47.530 *********** 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.042471", "end": "2024-06-17 14:39:35.144802", "rc": 1, "start": "2024-06-17 14:39:35.102331" } 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-tft-testsezfn21rw/tests/playbooks/tests_states.yml:126 Monday 17 June 2024 14:39:35 +0000 (0:00:00.177) 0:00:47.708 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:39:35 +0000 (0:00:00.037) 0:00:47.746 *********** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:39:35 +0000 (0:00:00.022) 0:00:47.769 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:39:35 +0000 (0:00:00.063) 0:00:47.833 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:39:35 +0000 (0:00:00.050) 0:00:47.883 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:39:35 +0000 (0:00:00.034) 0:00:47.918 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003339", "end": "2024-06-17 14:39:35.515555", "rc": 0, "start": "2024-06-17 14:39:35.512216" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:39:35 +0000 (0:00:00.169) 0:00:48.087 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:39:35 +0000 (0:00:00.046) 0:00:48.134 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:39:35 +0000 (0:00:00.037) 0:00:48.171 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:39:35 +0000 (0:00:00.071) 0:00:48.243 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:35 +0000 (0:00:00.137) 0:00:48.381 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:35 +0000 (0:00:00.065) 0:00:48.446 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:35 +0000 (0:00:00.053) 0:00:48.499 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:35 +0000 (0:00:00.029) 0:00:48.528 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:36 +0000 (0:00:00.033) 0:00:48.562 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:36 +0000 (0:00:00.696) 0:00:49.259 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:37 +0000 (0:00:00.950) 0:00:50.209 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:37 +0000 (0:00:00.030) 0:00:50.240 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:37 +0000 (0:00:00.022) 0:00:50.262 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:37 +0000 (0:00:00.059) 0:00:50.322 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:37 +0000 (0:00:00.039) 0:00:50.361 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:37 +0000 (0:00:00.082) 0:00:50.444 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:37 +0000 (0:00:00.033) 0:00:50.478 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:37 +0000 (0:00:00.050) 0:00:50.529 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:38 +0000 (0:00:00.022) 0:00:50.551 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:38 +0000 (0:00:00.025) 0:00:50.576 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:38 +0000 (0:00:00.028) 0:00:50.604 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:38 +0000 (0:00:00.259) 0:00:50.864 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:38 +0000 (0:00:00.042) 0:00:50.906 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:38 +0000 (0:00:00.043) 0:00:50.950 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:38 +0000 (0:00:00.023) 0:00:50.973 *********** 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, bda7f354-014a-4209-9e7c-1c91c2db3c50 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:38 +0000 (0:00:00.329) 0:00:51.303 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:38 +0000 (0:00:00.023) 0:00:51.327 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bda7f354-014a-4209-9e7c-1c91c2db3c50" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:38 +0000 (0:00:00.033) 0:00:51.360 *********** 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, bda7f354-014a-4209-9e7c-1c91c2db3c50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bda7f354-014a-4209-9e7c-1c91c2db3c50" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:38 +0000 (0:00:00.044) 0:00:51.404 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:38 +0000 (0:00:00.046) 0:00:51.451 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:39:39 +0000 (0:00:00.167) 0:00:51.618 *********** 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, bda7f354-014a-4209-9e7c-1c91c2db3c50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bda7f354-014a-4209-9e7c-1c91c2db3c50" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:39:39 +0000 (0:00:00.042) 0:00:51.661 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:39 +0000 (0:00:00.054) 0:00:51.715 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:39 +0000 (0:00:00.091) 0:00:51.806 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:39 +0000 (0:00:00.093) 0:00:51.900 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:39 +0000 (0:00:00.029) 0:00:51.930 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:39 +0000 (0:00:00.026) 0:00:51.957 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:40 +0000 (0:00:00.690) 0:00:52.647 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:41 +0000 (0:00:00.960) 0:00:53.608 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:41 +0000 (0:00:00.025) 0:00:53.633 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:41 +0000 (0:00:00.036) 0:00:53.669 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:41 +0000 (0:00:00.048) 0:00:53.718 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:41 +0000 (0:00:00.042) 0:00:53.760 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:41 +0000 (0:00:00.050) 0:00:53.811 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:41 +0000 (0:00:00.042) 0:00:53.853 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:41 +0000 (0:00:00.058) 0:00:53.912 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:41 +0000 (0:00:00.058) 0:00:53.971 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:41 +0000 (0:00:00.032) 0:00:54.003 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:41 +0000 (0:00:00.033) 0:00:54.037 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:41 +0000 (0:00:00.262) 0:00:54.299 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:41 +0000 (0:00:00.043) 0:00:54.342 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:41 +0000 (0:00:00.039) 0:00:54.382 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:41 +0000 (0:00:00.028) 0:00:54.410 *********** 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, bda7f354-014a-4209-9e7c-1c91c2db3c50 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:42 +0000 (0:00:00.314) 0:00:54.725 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:42 +0000 (0:00:00.060) 0:00:54.786 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bda7f354-014a-4209-9e7c-1c91c2db3c50 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:42 +0000 (0:00:00.035) 0:00:54.821 *********** 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, bda7f354-014a-4209-9e7c-1c91c2db3c50 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bda7f354-014a-4209-9e7c-1c91c2db3c50 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:42 +0000 (0:00:00.041) 0:00:54.863 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:42 +0000 (0:00:00.029) 0:00:54.893 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:39:42 +0000 (0:00:00.129) 0:00:55.022 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:42 +0000 (0:00:00.036) 0:00:55.058 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:42 +0000 (0:00:00.041) 0:00:55.099 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:42 +0000 (0:00:00.029) 0:00:55.128 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:42 +0000 (0:00:00.024) 0:00:55.153 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:42 +0000 (0:00:00.026) 0:00:55.179 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:43 +0000 (0:00:00.669) 0:00:55.849 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:44 +0000 (0:00:00.970) 0:00:56.819 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:44 +0000 (0:00:00.024) 0:00:56.844 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:44 +0000 (0:00:00.024) 0:00:56.868 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:44 +0000 (0:00:00.022) 0:00:56.890 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:44 +0000 (0:00:00.037) 0:00:56.928 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:44 +0000 (0:00:00.031) 0:00:56.959 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:44 +0000 (0:00:00.025) 0:00:56.985 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:44 +0000 (0:00:00.045) 0:00:57.031 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:44 +0000 (0:00:00.032) 0:00:57.064 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:44 +0000 (0:00:00.023) 0:00:57.087 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:44 +0000 (0:00:00.026) 0:00:57.114 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:44 +0000 (0:00:00.227) 0:00:57.342 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:44 +0000 (0:00:00.058) 0:00:57.400 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:45 +0000 (0:00:00.147) 0:00:57.548 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:45 +0000 (0:00:00.021) 0:00:57.569 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:45 +0000 (0:00:00.377) 0:00:57.947 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:45 +0000 (0:00:00.038) 0:00:57.986 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:45 +0000 (0:00:00.026) 0:00:58.012 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:45 +0000 (0:00:00.028) 0:00:58.040 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:45 +0000 (0:00:00.021) 0:00:58.062 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:39:45 +0000 (0:00:00.147) 0:00:58.209 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:39:45 +0000 (0:00:00.064) 0:00:58.273 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:39:45 +0000 (0:00:00.042) 0:00:58.316 *********** included: /WORKDIR/git-tft-testsezfn21rw/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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:39:45 +0000 (0:00:00.047) 0:00:58.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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:39:45 +0000 (0:00:00.026) 0:00:58.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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:39:45 +0000 (0:00:00.025) 0:00:58.415 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:39:45 +0000 (0:00:00.025) 0:00:58.441 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:39:46 +0000 (0:00:00.733) 0:00:59.174 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:39:47 +0000 (0:00:00.929) 0:01:00.104 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:39:47 +0000 (0:00:00.029) 0:01:00.133 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:39:47 +0000 (0:00:00.025) 0:01:00.159 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:39:47 +0000 (0:00:00.027) 0:01:00.187 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:39:47 +0000 (0:00:00.023) 0:01:00.210 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:39:47 +0000 (0:00:00.038) 0:01:00.249 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:39:47 +0000 (0:00:00.027) 0:01:00.276 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:39:47 +0000 (0:00:00.070) 0:01:00.347 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:39:47 +0000 (0:00:00.024) 0:01:00.371 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:39:47 +0000 (0:00:00.023) 0:01:00.395 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:39:47 +0000 (0:00:00.068) 0:01:00.463 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:39:48 +0000 (0:00:00.237) 0:01:00.701 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:39:48 +0000 (0:00:00.051) 0:01:00.753 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:39:48 +0000 (0:00:00.034) 0:01:00.787 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:39:48 +0000 (0:00:00.030) 0:01:00.818 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:39:48 +0000 (0:00:00.302) 0:01:01.121 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:39:48 +0000 (0:00:00.022) 0:01:01.144 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:39:48 +0000 (0:00:00.028) 0:01:01.172 *********** 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-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:39:48 +0000 (0:00:00.031) 0:01:01.204 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:39:48 +0000 (0:00:00.030) 0:01:01.234 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:39:48 +0000 (0:00:00.146) 0:01:01.381 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:39:48 +0000 (0:00:00.043) 0:01:01.425 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:39:48 +0000 (0:00:00.036) 0:01:01.462 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:39:48 +0000 (0:00:00.024) 0:01:01.486 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:39:49 +0000 (0:00:00.177) 0:01:01.664 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:39:49 +0000 (0:00:00.022) 0:01:01.686 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019726", "end": "2024-06-17 14:39:49.274198", "rc": 1, "start": "2024-06-17 14:39:49.254472" } 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-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:39:49 +0000 (0:00:00.148) 0:01:01.835 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:39:49 +0000 (0:00:00.025) 0:01:01.861 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:39:49 +0000 (0:00:00.022) 0:01:01.883 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:39:49 +0000 (0:00:00.021) 0:01:01.905 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:39:49 +0000 (0:00:00.023) 0:01:01.928 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:39:49 +0000 (0:00:00.023) 0:01:01.952 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 17 June 2024 14:39:49 +0000 (0:00:00.026) 0:01:01.978 *********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.671457", "end": "2024-06-17 14:39:50.221172", "rc": 0, "start": "2024-06-17 14:39:49.549715" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 17 June 2024 14:39:50 +0000 (0:00:00.815) 0:01:02.794 *********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 17 June 2024 14:39:50 +0000 (0:00:00.026) 0:01:02.820 *********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:39:50 +0000 (0:00:00.025) 0:01:02.846 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:39:50 +0000 (0:00:00.052) 0:01:02.899 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:39:50 +0000 (0:00:00.067) 0:01:02.966 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:39:50 +0000 (0:00:00.151) 0:01:03.117 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:39:50 +0000 (0:00:00.031) 0:01:03.149 *********** 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-tft-testsezfn21rw/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:39:50 +0000 (0:00:00.025) 0:01:03.175 *********** included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsezfn21rw/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:39:50 +0000 (0:00:00.064) 0:01:03.239 *********** 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.045641", "end": "2024-06-17 14:39:50.890079", "rc": 1, "start": "2024-06-17 14:39:50.844438" } 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-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:39:50 +0000 (0:00:00.221) 0:01:03.461 *********** 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.007618", "end": "2024-06-17 14:39:51.038372", "rc": 0, "start": "2024-06-17 14:39:51.030754" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:0d:88:4a:50:65 brd ff:ff:ff:ff:ff:ff inet 10.31.44.100/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3166sec preferred_lft 3166sec inet6 fe80::d:88ff:fe4a:5065/64 scope link valid_lft forever preferred_lft forever 28: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 52:fb:f4:ac:e5:83 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.100 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-tft-testsezfn21rw/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:39:51 +0000 (0:00:00.156) 0:01:03.617 *********** 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.620698", "end": "2024-06-17 14:39:51.835663", "rc": 0, "start": "2024-06-17 14:39:51.214965" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1399 0 --:--:-- --:--:-- --:--:-- 1405 % 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 761 0 --:--:-- --:--:-- --:--:-- 761 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=291 rescued=0 ignored=11 Monday 17 June 2024 14:39:51 +0000 (0:00:00.798) 0:01:04.416 *********** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.08s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 1.38s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Configure networking connection profiles --- 1.25s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.05s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 1.04s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-tft-testsezfn21rw/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-tft-testsezfn21rw/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. ---^---^---^---^---^---