# 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-bond_options_rewritevfzxm_kl/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 18:48:04 +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-bond_options_rewritevfzxm_kl/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.573) 0:00:00.586 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.022) 0:00:00.608 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.232) 0:00:00.840 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.206) 0:00:01.047 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.023) 0:00:01.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.021) 0:00:01.092 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 18:48:05 +0000 (0:00:00.033) 0:00:01.125 ****** 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-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.200) 0:00:01.326 ****** 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-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.497) 0:00:01.823 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.206455", "end": "2024-02-06 18:48:06.941844", "rc": 0, "start": "2024-02-06 18:48:06.735389" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/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/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/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=$infra&content=$contentdir 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/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/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-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.349) 0:00:02.172 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.010) 0:00:02.183 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 18:48:06 +0000 (0:00:00.020) 0:00:02.204 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.029) 0:00:02.233 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.410) 0:00:02.643 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.009) 0:00:02.653 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.015) 0:00:02.669 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.010) 0:00:02.680 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.032) 0:00:02.712 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.013) 0:00:02.725 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.012) 0:00:02.738 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004035", "end": "2024-02-06 18:48:07.638396", "rc": 0, "start": "2024-02-06 18:48:07.634361" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.142) 0:00:02.880 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.023) 0:00:02.903 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.011) 0:00:02.915 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.021) 0:00:02.937 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013761", "end": "2024-02-06 18:48:07.847709", "rc": 1, "start": "2024-02-06 18:48:07.833948" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.139) 0:00:03.076 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:07 +0000 (0:00:00.015) 0:00:03.092 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.143) 0:00:03.236 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.013) 0:00:03.250 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.018) 0:00:03.268 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.034) 0:00:03.303 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.070) 0:00:03.374 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.020) 0:00:03.394 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.011) 0:00:03.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:08 +0000 (0:00:00.025) 0:00:03.431 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:09 +0000 (0:00:00.868) 0:00:04.300 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:09 +0000 (0:00:00.859) 0:00:05.159 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:09 +0000 (0:00:00.021) 0:00:05.181 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:09 +0000 (0:00:00.021) 0:00:05.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.019) 0:00:05.222 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.043) 0:00:05.265 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.026) 0:00:05.292 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.033) 0:00:05.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.062) 0:00:05.388 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.402) 0:00:05.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.042) 0:00:05.832 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.029) 0:00:05.862 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:10 +0000 (0:00:00.030) 0:00:05.892 ****** 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, 338bc1ea-cfa8-4a78-a46a-fa288f7e1746 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.584) 0:00:06.476 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.034) 0:00:06.511 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 338bc1ea-cfa8-4a78-a46a-fa288f7e1746" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.032) 0:00:06.543 ****** 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, 338bc1ea-cfa8-4a78-a46a-fa288f7e1746\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 338bc1ea-cfa8-4a78-a46a-fa288f7e1746" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.103) 0:00:06.647 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.044) 0:00:06.691 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.268) 0:00:06.960 ****** 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, 338bc1ea-cfa8-4a78-a46a-fa288f7e1746\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 338bc1ea-cfa8-4a78-a46a-fa288f7e1746" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.023) 0:00:06.983 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.067) 0:00:07.051 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.038) 0:00:07.089 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:11 +0000 (0:00:00.020) 0:00:07.110 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245291.1459963, "block_size": 4096, "blocks": 8, "ctime": 1707245291.1449964, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707245291.1449964, "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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.180) 0:00:07.291 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.039) 0:00:07.331 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027271", "end": "2024-02-06 18:48:12.257779", "rc": 0, "start": "2024-02-06 18:48:12.230508" } 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.168) 0:00:07.499 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.025) 0:00:07.524 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.023) 0:00:07.548 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.027) 0:00:07.576 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.024) 0:00:07.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.024) 0:00:07.625 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.036) 0:00:07.661 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.070) 0:00:07.732 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.023) 0:00:07.755 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.043) 0:00:07.798 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.037) 0:00:07.836 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245291.1489964, "block_size": 4096, "blocks": 0, "ctime": 1707245291.1479964, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17516, "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": 1707245291.1479964, "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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.158) 0:00:07.994 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.026) 0:00:08.021 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.023) 0:00:08.044 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:12 +0000 (0:00:00.040) 0:00:08.084 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.085222", "end": "2024-02-06 18:48:13.065868", "rc": 1, "start": "2024-02-06 18:48:12.980646" } STDOUT: Connection 'statebr' (338bc1ea-cfa8-4a78-a46a-fa288f7e1746) successfully deleted. STDERR: (process:23781): GLib-GIO-WARNING **: 18:48:13.037: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/44 but no object proxy exists (process:23781): GLib-GIO-WARNING **: 18:48:13.038: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/52 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-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.235) 0:00:08.319 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.036) 0:00:08.356 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.037) 0:00:08.393 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.045) 0:00:08.439 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.042) 0:00:08.481 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:13 +0000 (0:00:00.057) 0:00:08.539 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005283", "end": "2024-02-06 18:48:14.481577", "rc": 0, "start": "2024-02-06 18:48:13.476294" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:14 +0000 (0:00:01.230) 0:00:09.769 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.032) 0:00:09.801 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.033) 0:00:09.835 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.089) 0:00:09.925 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007906", "end": "2024-02-06 18:48:14.833830", "rc": 1, "start": "2024-02-06 18:48:14.825924" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.149) 0:00:10.074 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:14 +0000 (0:00:00.050) 0:00:10.125 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.137) 0:00:10.263 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.029) 0:00:10.292 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.040) 0:00:10.333 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.063) 0:00:10.396 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.041) 0:00:10.438 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.028) 0:00:10.466 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.025) 0:00:10.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:15 +0000 (0:00:00.024) 0:00:10.516 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.802) 0:00:11.319 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.690) 0:00:12.009 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.038) 0:00:12.048 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.060) 0:00:12.108 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:16 +0000 (0:00:00.049) 0:00:12.158 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.060) 0:00:12.218 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.033) 0:00:12.252 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.048) 0:00:12.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.036) 0:00:12.337 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.260) 0:00:12.598 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.026) 0:00:12.624 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.037) 0:00:12.662 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.029) 0:00:12.692 ****** 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, 4c45e371-000e-4e94-8803-c7fc9fc1c230 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.331) 0:00:13.024 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.067) 0:00:13.092 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c45e371-000e-4e94-8803-c7fc9fc1c230" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.034) 0:00:13.126 ****** 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, 4c45e371-000e-4e94-8803-c7fc9fc1c230\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c45e371-000e-4e94-8803-c7fc9fc1c230" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:17 +0000 (0:00:00.050) 0:00:13.176 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.052) 0:00:13.228 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.180) 0:00:13.409 ****** 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, 4c45e371-000e-4e94-8803-c7fc9fc1c230\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c45e371-000e-4e94-8803-c7fc9fc1c230" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.039) 0:00:13.448 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.101) 0:00:13.549 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.055) 0:00:13.605 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.159) 0:00:13.764 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.057) 0:00:13.821 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.120) 0:00:13.942 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.039) 0:00:13.982 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245297.7499287, "block_size": 4096, "blocks": 8, "ctime": 1707245297.7499287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707245297.7499287, "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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.168) 0:00:14.150 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:18 +0000 (0:00:00.059) 0:00:14.210 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023527", "end": "2024-02-06 18:48:19.135025", "rc": 0, "start": "2024-02-06 18:48:19.111498" } 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.199) 0:00:14.409 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.024) 0:00:14.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.030) 0:00:14.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.031) 0:00:14.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.022) 0:00:14.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.024) 0:00:14.543 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.025) 0:00:14.569 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.069) 0:00:14.638 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.022) 0:00:14.661 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.020) 0:00:14.681 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.022) 0:00:14.704 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.046) 0:00:14.750 ****** 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.052658", "end": "2024-02-06 18:48:19.701482", "rc": 1, "start": "2024-02-06 18:48:19.648824" } STDOUT: Connection 'statebr' (4c45e371-000e-4e94-8803-c7fc9fc1c230) 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-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.193) 0:00:14.943 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.052) 0:00:14.996 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.022) 0:00:15.018 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.043) 0:00:15.062 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.046) 0:00:15.108 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:19 +0000 (0:00:00.034) 0:00:15.142 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003859", "end": "2024-02-06 18:48:20.053537", "rc": 0, "start": "2024-02-06 18:48:20.049678" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.172) 0:00:15.315 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.058) 0:00:15.373 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.111) 0:00:15.485 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.080) 0:00:15.565 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.041) 0:00:15.606 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.086) 0:00:15.693 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.095) 0:00:15.789 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.048) 0:00:15.838 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:20 +0000 (0:00:00.052) 0:00:15.890 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:21 +0000 (0:00:00.846) 0:00:16.736 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.745) 0:00:17.482 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.025) 0:00:17.507 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.022) 0:00:17.530 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.020) 0:00:17.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.043) 0:00:17.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.021) 0:00:17.614 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.020) 0:00:17.635 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.024) 0:00:17.659 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.242) 0:00:17.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.024) 0:00:17.927 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.021) 0:00:17.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:22 +0000 (0:00:00.025) 0:00:17.974 ****** 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, cbef5574-bcde-4774-afc2-4797689d2268 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.390) 0:00:18.364 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.065) 0:00:18.430 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbef5574-bcde-4774-afc2-4797689d2268" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.027) 0:00:18.457 ****** 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, cbef5574-bcde-4774-afc2-4797689d2268\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbef5574-bcde-4774-afc2-4797689d2268" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.023) 0:00:18.480 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.038) 0:00:18.518 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.150) 0:00:18.668 ****** 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, cbef5574-bcde-4774-afc2-4797689d2268\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbef5574-bcde-4774-afc2-4797689d2268" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.024) 0:00:18.692 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.050) 0:00:18.743 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.040) 0:00:18.783 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.041) 0:00:18.825 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.026) 0:00:18.851 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.021) 0:00:18.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:23 +0000 (0:00:00.022) 0:00:18.896 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:24 +0000 (0:00:00.800) 0:00:19.696 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.786) 0:00:20.483 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.047) 0:00:20.530 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.032) 0:00:20.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.021) 0:00:20.585 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.051) 0:00:20.636 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.022) 0:00:20.658 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.021) 0:00:20.680 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.036) 0:00:20.717 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.274) 0:00:20.991 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.026) 0:00:21.018 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.022) 0:00:21.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:25 +0000 (0:00:00.034) 0:00:21.074 ****** 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, cbef5574-bcde-4774-afc2-4797689d2268 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.308) 0:00:21.383 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.032) 0:00:21.415 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cbef5574-bcde-4774-afc2-4797689d2268 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.023) 0:00:21.439 ****** 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, cbef5574-bcde-4774-afc2-4797689d2268 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cbef5574-bcde-4774-afc2-4797689d2268 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.049) 0:00:21.488 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.125) 0:00:21.613 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.178) 0:00:21.792 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.087) 0:00:21.879 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.086) 0:00:21.965 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245303.0468743, "block_size": 4096, "blocks": 0, "ctime": 1707245303.0378745, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17516, "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": 1707245303.0378745, "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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:48:26 +0000 (0:00:00.203) 0:00:22.169 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.050) 0:00:22.220 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.081) 0:00:22.301 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.042) 0:00:22.344 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245303.0358746, "block_size": 4096, "blocks": 8, "ctime": 1707245303.0348744, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707245303.0348744, "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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.203) 0:00:22.547 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.040) 0:00:22.587 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023553", "end": "2024-02-06 18:48:27.508976", "rc": 0, "start": "2024-02-06 18:48:27.485423" } 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.183) 0:00:22.771 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.063) 0:00:22.835 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.068) 0:00:22.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.030) 0:00:22.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.038) 0:00:22.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.098) 0:00:23.071 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.042) 0:00:23.113 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.038) 0:00:23.152 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:27 +0000 (0:00:00.054) 0:00:23.207 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.045) 0:00:23.253 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.046) 0:00:23.299 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.101) 0:00:23.401 ****** 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.082709", "end": "2024-02-06 18:48:28.453714", "rc": 1, "start": "2024-02-06 18:48:28.371005" } STDOUT: Connection 'statebr' (cbef5574-bcde-4774-afc2-4797689d2268) 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-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.295) 0:00:23.697 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.039) 0:00:23.737 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.064) 0:00:23.801 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.069) 0:00:23.871 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.057) 0:00:23.928 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:28 +0000 (0:00:00.076) 0:00:24.005 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005432", "end": "2024-02-06 18:48:29.924899", "rc": 0, "start": "2024-02-06 18:48:28.919467" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:29 +0000 (0:00:01.161) 0:00:25.166 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.025) 0:00:25.192 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:29 +0000 (0:00:00.021) 0:00:25.213 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.039) 0:00:25.253 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.037) 0:00:25.290 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.042) 0:00:25.333 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.035) 0:00:25.368 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.021) 0:00:25.390 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:30 +0000 (0:00:00.039) 0:00:25.429 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.805) 0:00:26.235 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.656) 0:00:26.892 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.023) 0:00:26.915 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.039) 0:00:26.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.026) 0:00:26.981 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.097) 0:00:27.079 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.023) 0:00:27.103 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.022) 0:00:27.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:31 +0000 (0:00:00.034) 0:00:27.160 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.288) 0:00:27.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.047) 0:00:27.495 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.044) 0:00:27.540 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.071) 0:00:27.612 ****** 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, 9ca71618-daef-42b8-8699-e91f4c679ad4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.405) 0:00:28.018 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.032) 0:00:28.051 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ca71618-daef-42b8-8699-e91f4c679ad4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.029) 0:00:28.080 ****** 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, 9ca71618-daef-42b8-8699-e91f4c679ad4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ca71618-daef-42b8-8699-e91f4c679ad4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.042) 0:00:28.123 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:32 +0000 (0:00:00.049) 0:00:28.172 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.221) 0:00:28.393 ****** 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, 9ca71618-daef-42b8-8699-e91f4c679ad4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ca71618-daef-42b8-8699-e91f4c679ad4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.051) 0:00:28.445 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.042) 0:00:28.488 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.064) 0:00:28.552 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.042) 0:00:28.595 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.025) 0:00:28.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:33 +0000 (0:00:00.023) 0:00:28.644 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.791) 0:00:29.436 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.709) 0:00:30.145 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.022) 0:00:30.168 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.021) 0:00:30.190 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:34 +0000 (0:00:00.022) 0:00:30.213 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.042) 0:00:30.255 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.020) 0:00:30.275 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.020) 0:00:30.296 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.026) 0:00:30.322 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.240) 0:00:30.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.025) 0:00:30.588 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.020) 0:00:30.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.025) 0:00:30.634 ****** 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, 9ca71618-daef-42b8-8699-e91f4c679ad4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.380) 0:00:31.015 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.028) 0:00:31.044 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ca71618-daef-42b8-8699-e91f4c679ad4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.051) 0:00:31.096 ****** 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, 9ca71618-daef-42b8-8699-e91f4c679ad4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ca71618-daef-42b8-8699-e91f4c679ad4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.038) 0:00:31.134 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:35 +0000 (0:00:00.022) 0:00:31.157 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.137) 0:00:31.295 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.039) 0:00:31.335 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.040) 0:00:31.375 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.038) 0:00:31.413 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.025) 0:00:31.438 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.019) 0:00:31.458 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:36 +0000 (0:00:00.021) 0:00:31.480 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.809) 0:00:32.290 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.660) 0:00:32.950 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.040) 0:00:32.990 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.048) 0:00:33.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.023) 0:00:33.061 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.056) 0:00:33.118 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.024) 0:00:33.143 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.022) 0:00:33.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:37 +0000 (0:00:00.024) 0:00:33.190 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.266) 0:00:33.456 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.030) 0:00:33.487 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.025) 0:00:33.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.020) 0:00:33.533 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.357) 0:00:33.891 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.020) 0:00:33.911 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.023) 0:00:33.934 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.023) 0:00:33.958 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.021) 0:00:33.980 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.135) 0:00:34.115 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.043) 0:00:34.159 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:38 +0000 (0:00:00.038) 0:00:34.198 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707245312.709776, "block_size": 4096, "blocks": 0, "ctime": 1707245312.708776, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17518, "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": 1707245312.708776, "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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.144) 0:00:34.342 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.040) 0:00:34.383 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.043) 0:00:34.427 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.036) 0:00:34.463 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.178) 0:00:34.642 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.050) 0:00:34.692 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023682", "end": "2024-02-06 18:48:39.615044", "rc": 1, "start": "2024-02-06 18:48:39.591362" } 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.173) 0:00:34.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.031) 0:00:34.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.038) 0:00:34.935 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.022) 0:00:34.957 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.031) 0:00:34.989 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.023) 0:00:35.013 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.023) 0:00:35.036 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.019) 0:00:35.055 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.020) 0:00:35.076 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:39 +0000 (0:00:00.039) 0:00:35.115 ****** 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.086275", "end": "2024-02-06 18:48:40.100209", "rc": 1, "start": "2024-02-06 18:48:40.013934" } STDOUT: Connection 'statebr' (9ca71618-daef-42b8-8699-e91f4c679ad4) successfully deleted. STDERR: (process:25216): GLib-GIO-WARNING **: 18:48:40.071: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/46 but no object proxy exists (process:25216): GLib-GIO-WARNING **: 18:48:40.073: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/54 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.224) 0:00:35.340 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.037) 0:00:35.378 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.031) 0:00:35.409 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.053) 0:00:35.463 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.072) 0:00:35.535 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.042) 0:00:35.578 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004149", "end": "2024-02-06 18:48:40.484572", "rc": 0, "start": "2024-02-06 18:48:40.480423" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.166) 0:00:35.744 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.030) 0:00:35.774 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.020) 0:00:35.795 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.043) 0:00:35.839 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.056) 0:00:35.895 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.088) 0:00:35.983 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.054) 0:00:36.038 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.028) 0:00:36.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:40 +0000 (0:00:00.049) 0:00:36.117 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:41 +0000 (0:00:00.838) 0:00:36.955 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.660) 0:00:37.615 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.022) 0:00:37.638 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.027) 0:00:37.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.034) 0:00:37.699 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.046) 0:00:37.746 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.023) 0:00:37.770 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.022) 0:00:37.792 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.025) 0:00:37.818 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.247) 0:00:38.065 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.031) 0:00:38.096 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.029) 0:00:38.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:42 +0000 (0:00:00.039) 0:00:38.166 ****** 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, a25cb9ba-a57a-4f2c-83e2-1851e35591cc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.401) 0:00:38.567 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.024) 0:00:38.591 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a25cb9ba-a57a-4f2c-83e2-1851e35591cc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.045) 0:00:38.637 ****** 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, a25cb9ba-a57a-4f2c-83e2-1851e35591cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a25cb9ba-a57a-4f2c-83e2-1851e35591cc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.039) 0:00:38.676 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.035) 0:00:38.712 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.152) 0:00:38.865 ****** 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, a25cb9ba-a57a-4f2c-83e2-1851e35591cc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a25cb9ba-a57a-4f2c-83e2-1851e35591cc" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.028) 0:00:38.894 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.035) 0:00:38.929 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.040) 0:00:38.970 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.026) 0:00:38.996 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.022) 0:00:39.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:43 +0000 (0:00:00.020) 0:00:39.039 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:44 +0000 (0:00:00.827) 0:00:39.866 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.668) 0:00:40.535 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.021) 0:00:40.556 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.019) 0:00:40.576 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.020) 0:00:40.596 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.042) 0:00:40.638 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.025) 0:00:40.664 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.023) 0:00:40.687 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.026) 0:00:40.714 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.247) 0:00:40.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.027) 0:00:40.988 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.031) 0:00:41.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:45 +0000 (0:00:00.023) 0:00:41.043 ****** 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, a25cb9ba-a57a-4f2c-83e2-1851e35591cc skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.390) 0:00:41.434 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.035) 0:00:41.469 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a25cb9ba-a57a-4f2c-83e2-1851e35591cc skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.038) 0:00:41.507 ****** 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, a25cb9ba-a57a-4f2c-83e2-1851e35591cc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a25cb9ba-a57a-4f2c-83e2-1851e35591cc skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.024) 0:00:41.532 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.024) 0:00:41.556 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.138) 0:00:41.694 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.041) 0:00:41.736 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.062) 0:00:41.799 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.058) 0:00:41.857 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.025) 0:00:41.882 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:46 +0000 (0:00:00.021) 0:00:41.903 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:47 +0000 (0:00:00.781) 0:00:42.685 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.685) 0:00:43.370 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.022) 0:00:43.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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.022) 0:00:43.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.022) 0:00:43.438 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.045) 0:00:43.483 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.022) 0:00:43.505 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.020) 0:00:43.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.024) 0:00:43.551 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.236) 0:00:43.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.024) 0:00:43.812 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.021) 0:00:43.834 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:48 +0000 (0:00:00.019) 0:00:43.854 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.388) 0:00:44.242 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.023) 0:00:44.266 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.034) 0:00:44.301 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.034) 0:00:44.336 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.041) 0:00:44.377 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.141) 0:00:44.519 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.054) 0:00:44.574 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.052) 0:00:44.626 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.044) 0:00:44.671 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.035) 0:00:44.707 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.023) 0:00:44.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:49 +0000 (0:00:00.020) 0:00:44.751 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:50 +0000 (0:00:00.811) 0:00:45.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.716) 0:00:46.279 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.045) 0:00:46.325 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.038) 0:00:46.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.029) 0:00:46.393 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.057) 0:00:46.450 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.032) 0:00:46.483 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.026) 0:00:46.510 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.082) 0:00:46.592 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.337) 0:00:46.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.032) 0:00:46.962 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.037) 0:00:47.000 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:51 +0000 (0:00:00.035) 0:00:47.035 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.496) 0:00:47.532 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.023) 0:00:47.556 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.036) 0:00:47.592 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.067) 0:00:47.659 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.040) 0:00:47.700 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.182) 0:00:47.883 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.078) 0:00:47.962 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.097) 0:00:48.059 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:48:52 +0000 (0:00:00.058) 0:00:48.117 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.179) 0:00:48.297 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.034) 0:00:48.331 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022924", "end": "2024-02-06 18:48:53.277403", "rc": 1, "start": "2024-02-06 18:48:53.254479" } 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.195) 0:00:48.527 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.031) 0:00:48.558 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.028) 0:00:48.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.021) 0:00:48.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.022) 0:00:48.630 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.089) 0:00:48.719 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.053) 0:00:48.773 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.046) 0:00:48.819 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.035) 0:00:48.855 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.139) 0:00:48.994 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.029) 0:00:49.024 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.025) 0:00:49.049 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:48:53 +0000 (0:00:00.042) 0:00:49.092 ****** 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.048275", "end": "2024-02-06 18:48:54.044111", "rc": 1, "start": "2024-02-06 18:48:53.995836" } 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-bond_options_rewritevfzxm_kl/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.190) 0:00:49.282 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.035) 0:00:49.318 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.022) 0:00:49.340 ****** 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" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.058) 0:00:49.399 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.091) 0:00:49.491 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.034) 0:00:49.525 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003968", "end": "2024-02-06 18:48:54.427629", "rc": 0, "start": "2024-02-06 18:48:54.423661" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.156) 0:00:49.682 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.067) 0:00:49.749 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.034) 0:00:49.784 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.060) 0:00:49.845 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.050) 0:00:49.895 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.046) 0:00:49.942 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.028) 0:00:49.971 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.034) 0:00:50.006 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:54 +0000 (0:00:00.028) 0:00:50.034 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:55 +0000 (0:00:00.873) 0:00:50.907 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.695) 0:00:51.602 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.024) 0:00:51.626 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.024) 0:00:51.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.026) 0:00:51.677 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.049) 0:00:51.726 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.028) 0:00:51.755 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.026) 0:00:51.781 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.033) 0:00:51.815 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.262) 0:00:52.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.025) 0:00:52.103 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.034) 0:00:52.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:48:56 +0000 (0:00:00.048) 0:00:52.186 ****** 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, a079d640-d977-40a7-a70e-256e3c1fd541 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.583) 0:00:52.769 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.025) 0:00:52.795 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a079d640-d977-40a7-a70e-256e3c1fd541" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.025) 0:00:52.820 ****** 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, a079d640-d977-40a7-a70e-256e3c1fd541\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a079d640-d977-40a7-a70e-256e3c1fd541" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.029) 0:00:52.850 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.032) 0:00:52.882 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.213) 0:00:53.096 ****** 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, a079d640-d977-40a7-a70e-256e3c1fd541\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a079d640-d977-40a7-a70e-256e3c1fd541" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.051) 0:00:53.148 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:48:57 +0000 (0:00:00.049) 0:00:53.197 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.050) 0:00:53.248 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.053) 0:00:53.302 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.036) 0:00:53.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.032) 0:00:53.370 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:48:58 +0000 (0:00:00.786) 0:00:54.157 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.728) 0:00:54.886 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.035) 0:00:54.921 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.028) 0:00:54.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.030) 0:00:54.981 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.057) 0:00:55.039 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.025) 0:00:55.065 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.021) 0:00:55.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:48:59 +0000 (0:00:00.037) 0:00:55.124 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.262) 0:00:55.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.030) 0:00:55.416 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.023) 0:00:55.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.023) 0:00:55.463 ****** 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, a079d640-d977-40a7-a70e-256e3c1fd541 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.391) 0:00:55.855 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.022) 0:00:55.877 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a079d640-d977-40a7-a70e-256e3c1fd541 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.024) 0:00:55.902 ****** 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, a079d640-d977-40a7-a70e-256e3c1fd541 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a079d640-d977-40a7-a70e-256e3c1fd541 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.049) 0:00:55.951 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.023) 0:00:55.975 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:49:00 +0000 (0:00:00.184) 0:00:56.160 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.078) 0:00:56.238 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.058) 0:00:56.296 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.048) 0:00:56.345 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.036) 0:00:56.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:49:01 +0000 (0:00:00.026) 0:00:56.407 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.862) 0:00:57.270 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.702) 0:00:57.972 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.023) 0:00:57.995 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.022) 0:00:58.018 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.031) 0:00:58.050 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.053) 0:00:58.104 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.025) 0:00:58.129 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.024) 0:00:58.154 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:49:02 +0000 (0:00:00.029) 0:00:58.183 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.245) 0:00:58.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.024) 0:00:58.453 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.020) 0:00:58.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.022) 0:00:58.496 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.493) 0:00:58.989 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.023) 0:00:59.013 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.037) 0:00:59.051 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.029) 0:00:59.080 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:49:03 +0000 (0:00:00.028) 0:00:59.108 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.152) 0:00:59.261 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.052) 0:00:59.313 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.048) 0:00:59.362 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.057) 0:00:59.419 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.034) 0:00:59.454 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.063) 0:00:59.517 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 18:49:04 +0000 (0:00:00.041) 0:00:59.559 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.824) 0:01:00.384 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.667) 0:01:01.051 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.043) 0:01:01.094 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.032) 0:01:01.127 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 18:49:05 +0000 (0:00:00.041) 0:01:01.169 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.051) 0:01:01.220 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.032) 0:01:01.253 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.043) 0:01:01.297 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.035) 0:01:01.333 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.285) 0:01:01.619 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.052) 0:01:01.671 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.050) 0:01:01.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.021) 0:01:01.743 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.394) 0:01:02.138 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 18:49:06 +0000 (0:00:00.053) 0:01:02.192 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.036) 0:01:02.228 ****** 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-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.037) 0:01:02.266 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.031) 0:01:02.298 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.139) 0:01:02.438 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.042) 0:01:02.480 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.037) 0:01:02.517 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.023) 0:01:02.540 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.147) 0:01:02.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.022) 0:01:02.710 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023052", "end": "2024-02-06 18:49:07.631099", "rc": 1, "start": "2024-02-06 18:49:07.608047" } 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.161) 0:01:02.871 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.023) 0:01:02.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.024) 0:01:02.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.020) 0:01:02.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.046) 0:01:02.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.023) 0:01:03.010 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 18:49:07 +0000 (0:00:00.021) 0:01:03.032 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.416069", "end": "2024-02-06 18:49:08.344624", "rc": 0, "start": "2024-02-06 18:49:07.928555" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.552) 0:01:03.584 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.021) 0:01:03.606 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.021) 0:01:03.627 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.041) 0:01:03.669 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.035) 0:01:03.704 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.136) 0:01:03.840 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.023) 0:01:03.864 ****** 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-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.022) 0:01:03.886 ****** included: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.041) 0:01:03.928 ****** 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.077295", "end": "2024-02-06 18:49:08.900906", "rc": 1, "start": "2024-02-06 18:49:08.823611" } 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 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 06 February 2024 18:49:08 +0000 (0:00:00.199) 0:01:04.127 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.36s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.47s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.44s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.23s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.02s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Re-test connectivity ----------------------- 1.01s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-bond_options_rewritevfzxm_kl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---