# 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_rewrite_cbveasl/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_rewrite_cbveasl/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 17:19:51 +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_rewrite_cbveasl/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.675) 0:00:00.687 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.022) 0:00:00.710 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:19:52 +0000 (0:00:00.222) 0:00:00.932 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:19:53 +0000 (0:00:00.203) 0:00:01.136 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:19:53 +0000 (0:00:00.021) 0:00:01.157 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:19:53 +0000 (0:00:00.021) 0:00:01.178 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:19:53 +0000 (0:00:00.032) 0:00:01.211 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:19:53 +0000 (0:00:00.193) 0:00:01.404 **** 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_rewrite_cbveasl/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:19:53 +0000 (0:00:00.473) 0:00:01.877 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.204498", "end": "2024-02-14 17:19:54.164546", "rc": 0, "start": "2024-02-14 17:19:53.960048" } 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_rewrite_cbveasl/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.330) 0:00:02.208 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.010) 0:00:02.219 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.011) 0:00:02.230 **** 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.011) 0:00:02.241 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.391) 0:00:02.632 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.012) 0:00:02.645 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.029) 0:00:02.675 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.015) 0:00:02.690 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.038) 0:00:02.728 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.014) 0:00:02.742 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.012) 0:00:02.755 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2024-02-14 17:19:54.837417", "rc": 0, "start": "2024-02-14 17:19:54.833775" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.133) 0:00:02.889 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.016) 0:00:02.906 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.027) 0:00:02.933 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:19:54 +0000 (0:00:00.038) 0:00:02.971 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012066", "end": "2024-02-14 17:19:55.086028", "rc": 1, "start": "2024-02-14 17:19:55.073962" } 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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.162) 0:00:03.134 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.019) 0:00:03.153 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.130) 0:00:03.284 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.031) 0:00:03.315 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.038) 0:00:03.354 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.077) 0:00:03.432 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.159) 0:00:03.591 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.042) 0:00:03.633 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.043) 0:00:03.677 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:19:55 +0000 (0:00:00.024) 0:00:03.701 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:19:56 +0000 (0:00:00.854) 0:00:04.555 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.855) 0:00:05.411 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.026) 0:00:05.438 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.023) 0:00:05.462 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.024) 0:00:05.487 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.046) 0:00:05.534 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.022) 0:00:05.556 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.023) 0:00:05.579 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.028) 0:00:05.608 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:19:57 +0000 (0:00:00.410) 0:00:06.018 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.060) 0:00:06.078 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.065) 0:00:06.144 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.021) 0:00:06.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, 33fd9e61-2a72-4ddb-8dcf-51b803d0871f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.625) 0:00:06.791 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.026) 0:00:06.818 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33fd9e61-2a72-4ddb-8dcf-51b803d0871f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.030) 0:00:06.848 **** 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, 33fd9e61-2a72-4ddb-8dcf-51b803d0871f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33fd9e61-2a72-4ddb-8dcf-51b803d0871f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.046) 0:00:06.894 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:19:58 +0000 (0:00:00.050) 0:00:06.945 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.322) 0:00:07.267 **** 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, 33fd9e61-2a72-4ddb-8dcf-51b803d0871f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 33fd9e61-2a72-4ddb-8dcf-51b803d0871f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.024) 0:00:07.292 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.044) 0:00:07.336 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.037) 0:00:07.374 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.023) 0:00:07.398 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931198.72264, "block_size": 4096, "blocks": 8, "ctime": 1707931198.6336432, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931198.6336432, "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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.177) 0:00:07.575 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.033) 0:00:07.609 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025316", "end": "2024-02-14 17:19:59.735949", "rc": 0, "start": "2024-02-14 17:19:59.710633" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.203) 0:00:07.812 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.065) 0:00:07.877 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.040) 0:00:07.918 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.037) 0:00:07.955 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:19:59 +0000 (0:00:00.065) 0:00:08.021 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.079) 0:00:08.101 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.035) 0:00:08.137 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.036) 0:00:08.174 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.036) 0:00:08.210 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.084) 0:00:08.295 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.045) 0:00:08.340 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931198.6366432, "block_size": 4096, "blocks": 0, "ctime": 1707931198.6356432, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17485, "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": 1707931198.6356432, "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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.151) 0:00:08.492 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.034) 0:00:08.526 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.024) 0:00:08.551 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.049) 0:00:08.601 **** 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.082134", "end": "2024-02-14 17:20:00.779589", "rc": 1, "start": "2024-02-14 17:20:00.697455" } STDOUT: Connection 'statebr' (33fd9e61-2a72-4ddb-8dcf-51b803d0871f) successfully deleted. STDERR: (process:22069): GLib-GIO-WARNING **: 17:20:00.758: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:22069): GLib-GIO-WARNING **: 17:20:00.758: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/38 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.253) 0:00:08.855 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.037) 0:00:08.892 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.025) 0:00:08.917 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:00 +0000 (0:00:00.059) 0:00:08.977 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.060) 0:00:09.038 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:01 +0000 (0:00:00.044) 0:00:09.082 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004974", "end": "2024-02-14 17:20:02.167137", "rc": 0, "start": "2024-02-14 17:20:01.162163" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:02 +0000 (0:00:01.145) 0:00:10.228 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.026) 0:00:10.254 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.025) 0:00:10.280 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.048) 0:00:10.328 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007491", "end": "2024-02-14 17:20:02.418339", "rc": 1, "start": "2024-02-14 17:20:02.410848" } 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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.140) 0:00:10.469 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.036) 0:00:10.505 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.140) 0:00:10.646 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.026) 0:00:10.672 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.055) 0:00:10.728 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.049) 0:00:10.777 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.085) 0:00:10.863 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.036) 0:00:10.900 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.039) 0:00:10.939 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:02 +0000 (0:00:00.032) 0:00:10.971 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:03 +0000 (0:00:00.781) 0:00:11.752 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.701) 0:00:12.454 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.050) 0:00:12.505 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.027) 0:00:12.533 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.022) 0:00:12.556 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.047) 0:00:12.603 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.055) 0:00:12.659 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.026) 0:00:12.685 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.027) 0:00:12.712 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.243) 0:00:12.956 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:04 +0000 (0:00:00.036) 0:00:12.992 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.052) 0:00:13.044 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.073) 0:00:13.118 **** 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, 6991b8bc-dd6c-472c-9965-2eaa76e78b73 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.351) 0:00:13.470 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.051) 0:00:13.521 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6991b8bc-dd6c-472c-9965-2eaa76e78b73" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.047) 0:00:13.569 **** 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, 6991b8bc-dd6c-472c-9965-2eaa76e78b73\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6991b8bc-dd6c-472c-9965-2eaa76e78b73" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.028) 0:00:13.598 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.023) 0:00:13.622 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.131) 0:00:13.753 **** 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, 6991b8bc-dd6c-472c-9965-2eaa76e78b73\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6991b8bc-dd6c-472c-9965-2eaa76e78b73" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.023) 0:00:13.777 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.043) 0:00:13.821 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.036) 0:00:13.858 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:05 +0000 (0:00:00.168) 0:00:14.027 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.040) 0:00:14.067 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.055) 0:00:14.122 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.026) 0:00:14.149 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931205.397395, "block_size": 4096, "blocks": 8, "ctime": 1707931205.397395, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931205.397395, "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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.152) 0:00:14.301 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.022) 0:00:14.323 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021600", "end": "2024-02-14 17:20:06.424373", "rc": 0, "start": "2024-02-14 17:20:06.402773" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.168) 0:00:14.491 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.034) 0:00:14.526 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.039) 0:00:14.565 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.046) 0:00:14.611 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.037) 0:00:14.649 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.038) 0:00:14.687 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.031) 0:00:14.719 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.037) 0:00:14.756 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.025) 0:00:14.782 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.030) 0:00:14.812 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.066) 0:00:14.879 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:06 +0000 (0:00:00.056) 0:00:14.936 **** 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.049078", "end": "2024-02-14 17:20:07.076867", "rc": 1, "start": "2024-02-14 17:20:07.027789" } STDOUT: Connection 'statebr' (6991b8bc-dd6c-472c-9965-2eaa76e78b73) 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.215) 0:00:15.151 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.079) 0:00:15.230 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.046) 0:00:15.277 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.055) 0:00:15.332 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.052) 0:00:15.385 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:07 +0000 (0:00:00.042) 0:00:15.427 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004779", "end": "2024-02-14 17:20:08.520927", "rc": 0, "start": "2024-02-14 17:20:07.516148" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:08 +0000 (0:00:01.182) 0:00:16.610 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.048) 0:00:16.658 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.074) 0:00:16.732 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.040) 0:00:16.773 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.042) 0:00:16.816 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.057) 0:00:16.874 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.033) 0:00:16.908 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.033) 0:00:16.941 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:08 +0000 (0:00:00.030) 0:00:16.971 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:09 +0000 (0:00:00.778) 0:00:17.750 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.729) 0:00:18.479 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.029) 0:00:18.509 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.026) 0:00:18.536 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.045) 0:00:18.582 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.049) 0:00:18.631 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.038) 0:00:18.669 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.041) 0:00:18.711 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.026) 0:00:18.737 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.231) 0:00:18.969 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:10 +0000 (0:00:00.055) 0:00:19.025 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.025) 0:00:19.050 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.023) 0:00:19.074 **** 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, 01cea40b-4a34-4887-a3cc-505c9e7180f4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.370) 0:00:19.445 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.036) 0:00:19.481 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01cea40b-4a34-4887-a3cc-505c9e7180f4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.042) 0:00:19.523 **** 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, 01cea40b-4a34-4887-a3cc-505c9e7180f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01cea40b-4a34-4887-a3cc-505c9e7180f4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.035) 0:00:19.558 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.022) 0:00:19.581 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.146) 0:00:19.727 **** 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, 01cea40b-4a34-4887-a3cc-505c9e7180f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 01cea40b-4a34-4887-a3cc-505c9e7180f4" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.072) 0:00:19.799 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.043) 0:00:19.842 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.043) 0:00:19.885 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.055) 0:00:19.941 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:11 +0000 (0:00:00.058) 0:00:19.999 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.036) 0:00:20.036 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.025) 0:00:20.062 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:12 +0000 (0:00:00.767) 0:00:20.830 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.691) 0:00:21.522 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.037) 0:00:21.559 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.025) 0:00:21.585 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.026) 0:00:21.611 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.056) 0:00:21.668 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.022) 0:00:21.690 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.024) 0:00:21.715 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.026) 0:00:21.741 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.232) 0:00:21.974 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:13 +0000 (0:00:00.027) 0:00:22.002 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.029) 0:00:22.031 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.077) 0:00:22.109 **** 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, 01cea40b-4a34-4887-a3cc-505c9e7180f4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.357) 0:00:22.467 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.044) 0:00:22.511 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01cea40b-4a34-4887-a3cc-505c9e7180f4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.042) 0:00:22.554 **** 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, 01cea40b-4a34-4887-a3cc-505c9e7180f4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 01cea40b-4a34-4887-a3cc-505c9e7180f4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.035) 0:00:22.589 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.026) 0:00:22.616 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.129) 0:00:22.746 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.072) 0:00:22.819 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:14 +0000 (0:00:00.066) 0:00:22.885 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931211.3231773, "block_size": 4096, "blocks": 0, "ctime": 1707931211.3131776, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17485, "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": 1707931211.3131776, "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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.164) 0:00:23.050 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.040) 0:00:23.091 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.048) 0:00:23.140 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.023) 0:00:23.164 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931211.3121777, "block_size": 4096, "blocks": 8, "ctime": 1707931211.3111777, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931211.3111777, "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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.139) 0:00:23.304 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.024) 0:00:23.328 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023375", "end": "2024-02-14 17:20:15.436809", "rc": 0, "start": "2024-02-14 17:20:15.413434" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.222) 0:00:23.551 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.044) 0:00:23.595 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.030) 0:00:23.626 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.026) 0:00:23.652 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.024) 0:00:23.676 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.080) 0:00:23.757 **** 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_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.032) 0:00:23.789 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.078) 0:00:23.868 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.029) 0:00:23.898 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.028) 0:00:23.927 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.030) 0:00:23.957 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:15 +0000 (0:00:00.045) 0:00:24.003 **** 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.080147", "end": "2024-02-14 17:20:16.182138", "rc": 1, "start": "2024-02-14 17:20:16.101991" } STDOUT: Connection 'statebr' (01cea40b-4a34-4887-a3cc-505c9e7180f4) successfully deleted. STDERR: (process:22839): GLib-GIO-WARNING **: 17:20:16.157: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:22839): GLib-GIO-WARNING **: 17:20:16.157: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/39 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.239) 0:00:24.243 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.043) 0:00:24.286 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.023) 0:00:24.309 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.049) 0:00:24.358 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.035) 0:00:24.394 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.034) 0:00:24.428 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003389", "end": "2024-02-14 17:20:16.512778", "rc": 0, "start": "2024-02-14 17:20:16.509389" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.168) 0:00:24.597 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.023) 0:00:24.620 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.024) 0:00:24.644 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.062) 0:00:24.707 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.073) 0:00:24.780 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.045) 0:00:24.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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.028) 0:00:24.854 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.041) 0:00:24.895 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:16 +0000 (0:00:00.024) 0:00:24.919 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:17 +0000 (0:00:00.781) 0:00:25.701 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.841) 0:00:26.542 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.035) 0:00:26.577 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.022) 0:00:26.600 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.024) 0:00:26.625 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.048) 0:00:26.673 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.034) 0:00:26.708 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.025) 0:00:26.733 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.030) 0:00:26.764 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:18 +0000 (0:00:00.254) 0:00:27.018 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.035) 0:00:27.054 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.034) 0:00:27.088 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.040) 0:00:27.129 **** 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, 971bdaba-fc07-4d16-bb43-757ff2d5c244 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.374) 0:00:27.503 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.046) 0:00:27.550 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 971bdaba-fc07-4d16-bb43-757ff2d5c244" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.038) 0:00:27.588 **** 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, 971bdaba-fc07-4d16-bb43-757ff2d5c244\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 971bdaba-fc07-4d16-bb43-757ff2d5c244" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.054) 0:00:27.642 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.092) 0:00:27.735 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.168) 0:00:27.903 **** 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, 971bdaba-fc07-4d16-bb43-757ff2d5c244\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 971bdaba-fc07-4d16-bb43-757ff2d5c244" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.048) 0:00:27.952 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:19 +0000 (0:00:00.049) 0:00:28.002 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.060) 0:00:28.062 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.048) 0:00:28.111 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.024) 0:00:28.135 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.022) 0:00:28.158 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:20 +0000 (0:00:00.779) 0:00:28.937 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.730) 0:00:29.668 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.031) 0:00:29.699 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.030) 0:00:29.729 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.038) 0:00:29.768 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.078) 0:00:29.846 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.028) 0:00:29.874 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.031) 0:00:29.905 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:21 +0000 (0:00:00.033) 0:00:29.939 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.272) 0:00:30.212 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.037) 0:00:30.249 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.037) 0:00:30.286 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.040) 0:00:30.327 **** 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, 971bdaba-fc07-4d16-bb43-757ff2d5c244 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.436) 0:00:30.763 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.043) 0:00:30.807 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 971bdaba-fc07-4d16-bb43-757ff2d5c244 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.030) 0:00:30.838 **** 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, 971bdaba-fc07-4d16-bb43-757ff2d5c244 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 971bdaba-fc07-4d16-bb43-757ff2d5c244 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.038) 0:00:30.876 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:22 +0000 (0:00:00.023) 0:00:30.899 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.168) 0:00:31.068 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.103) 0:00:31.172 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.044) 0:00:31.217 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.041) 0:00:31.259 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.027) 0:00:31.286 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.022) 0:00:31.309 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:23 +0000 (0:00:00.026) 0:00:31.336 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.776) 0:00:32.113 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.716) 0:00:32.830 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.070) 0:00:32.900 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.064) 0:00:32.964 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:24 +0000 (0:00:00.026) 0:00:32.990 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.051) 0:00:33.041 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.036) 0:00:33.078 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.027) 0:00:33.106 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.045) 0:00:33.151 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.233) 0:00:33.384 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.030) 0:00:33.415 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.032) 0:00:33.447 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.031) 0:00:33.478 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.333) 0:00:33.812 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.023) 0:00:33.836 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.048) 0:00:33.884 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.048) 0:00:33.932 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:25 +0000 (0:00:00.047) 0:00:33.980 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.183) 0:00:34.163 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.064) 0:00:34.227 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.087) 0:00:34.314 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931219.3728817, "block_size": 4096, "blocks": 0, "ctime": 1707931219.363882, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17487, "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": 1707931219.363882, "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_rewrite_cbveasl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.176) 0:00:34.491 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.063) 0:00:34.554 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.078) 0:00:34.633 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.025) 0:00:34.658 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.224) 0:00:34.882 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:26 +0000 (0:00:00.067) 0:00:34.949 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022032", "end": "2024-02-14 17:20:27.070059", "rc": 1, "start": "2024-02-14 17:20:27.048027" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.190) 0:00:35.139 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.023) 0:00:35.163 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.024) 0:00:35.188 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.027) 0:00:35.215 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.023) 0:00:35.238 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.027) 0:00:35.265 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.027) 0:00:35.293 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.030) 0:00:35.323 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.025) 0:00:35.348 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.097) 0:00:35.446 **** 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.081087", "end": "2024-02-14 17:20:27.626612", "rc": 1, "start": "2024-02-14 17:20:27.545525" } STDOUT: Connection 'statebr' (971bdaba-fc07-4d16-bb43-757ff2d5c244) successfully deleted. STDERR: (process:23509): GLib-GIO-WARNING **: 17:20:27.601: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 but no object proxy exists (process:23509): GLib-GIO-WARNING **: 17:20:27.601: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/40 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.233) 0:00:35.680 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.040) 0:00:35.720 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.025) 0:00:35.746 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.072) 0:00:35.818 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.052) 0:00:35.871 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:27 +0000 (0:00:00.039) 0:00:35.911 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003847", "end": "2024-02-14 17:20:28.003158", "rc": 0, "start": "2024-02-14 17:20:27.999311" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.156) 0:00:36.068 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.050) 0:00:36.118 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.028) 0:00:36.146 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.071) 0:00:36.217 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.180) 0:00:36.398 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.049) 0:00:36.447 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.052) 0:00:36.499 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.037) 0:00:36.537 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:28 +0000 (0:00:00.063) 0:00:36.600 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:29 +0000 (0:00:00.803) 0:00:37.403 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.671) 0:00:38.074 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.031) 0:00:38.106 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.030) 0:00:38.137 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.040) 0:00:38.178 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.088) 0:00:38.266 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.033) 0:00:38.299 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.022) 0:00:38.322 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.029) 0:00:38.352 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.276) 0:00:38.629 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.027) 0:00:38.657 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.021) 0:00:38.678 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:30 +0000 (0:00:00.021) 0:00:38.699 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a20b7c35-cdc6-4d04-bb50-a1468867c75b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.352) 0:00:39.052 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.034) 0:00:39.087 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a20b7c35-cdc6-4d04-bb50-a1468867c75b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.046) 0:00:39.133 **** 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, a20b7c35-cdc6-4d04-bb50-a1468867c75b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a20b7c35-cdc6-4d04-bb50-a1468867c75b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.035) 0:00:39.169 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.082) 0:00:39.251 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.147) 0:00:39.399 **** 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, a20b7c35-cdc6-4d04-bb50-a1468867c75b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a20b7c35-cdc6-4d04-bb50-a1468867c75b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.025) 0:00:39.425 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.043) 0:00:39.468 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.202) 0:00:39.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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.058) 0:00:39.729 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.024) 0:00:39.754 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:31 +0000 (0:00:00.022) 0:00:39.776 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:32 +0000 (0:00:00.769) 0:00:40.546 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.677) 0:00:41.223 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.025) 0:00:41.248 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.023) 0:00:41.272 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.035) 0:00:41.307 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.055) 0:00:41.362 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.036) 0:00:41.399 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.076) 0:00:41.475 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.025) 0:00:41.501 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.267) 0:00:41.768 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.065) 0:00:41.833 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.047) 0:00:41.881 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:33 +0000 (0:00:00.027) 0:00:41.908 **** 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, a20b7c35-cdc6-4d04-bb50-a1468867c75b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.283) 0:00:42.192 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.024) 0:00:42.217 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a20b7c35-cdc6-4d04-bb50-a1468867c75b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.033) 0:00:42.250 **** 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, a20b7c35-cdc6-4d04-bb50-a1468867c75b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a20b7c35-cdc6-4d04-bb50-a1468867c75b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.047) 0:00:42.298 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.023) 0:00:42.321 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.130) 0:00:42.451 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.035) 0:00:42.487 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.039) 0:00:42.526 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.070) 0:00:42.597 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.022) 0:00:42.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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:34 +0000 (0:00:00.033) 0:00:42.653 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:35 +0000 (0:00:00.767) 0:00:43.421 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.660) 0:00:44.081 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.033) 0:00:44.114 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.023) 0:00:44.138 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.024) 0:00:44.162 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.049) 0:00:44.212 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.039) 0:00:44.251 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.026) 0:00:44.278 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.065) 0:00:44.343 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.286) 0:00:44.630 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.033) 0:00:44.663 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.021) 0:00:44.684 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:36 +0000 (0:00:00.021) 0:00:44.706 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.328) 0:00:45.034 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.022) 0:00:45.056 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.023) 0:00:45.080 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.022) 0:00:45.103 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.022) 0:00:45.125 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.172) 0:00:45.297 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.082) 0:00:45.379 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.064) 0:00:45.444 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.161) 0:00:45.605 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.046) 0:00:45.652 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.056) 0:00:45.708 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:37 +0000 (0:00:00.047) 0:00:45.756 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:38 +0000 (0:00:00.779) 0:00:46.535 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.663) 0:00:47.199 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.043) 0:00:47.243 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.067) 0:00:47.310 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.033) 0:00:47.343 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.042) 0:00:47.386 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.022) 0:00:47.408 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.021) 0:00:47.430 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.070) 0:00:47.501 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.246) 0:00:47.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.032) 0:00:47.779 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.033) 0:00:47.813 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:39 +0000 (0:00:00.023) 0:00:47.836 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.418) 0:00:48.255 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.022) 0:00:48.277 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.033) 0:00:48.311 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.027) 0:00:48.339 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.065) 0:00:48.404 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.160) 0:00:48.564 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.061) 0:00:48.626 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.042) 0:00:48.668 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.027) 0:00:48.696 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.132) 0:00:48.828 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:40 +0000 (0:00:00.077) 0:00:48.906 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021371", "end": "2024-02-14 17:20:41.011304", "rc": 1, "start": "2024-02-14 17:20:40.989933" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.169) 0:00:49.075 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.033) 0:00:49.109 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.031) 0:00:49.141 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.028) 0:00:49.170 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.031) 0:00:49.201 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.027) 0:00:49.229 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.036) 0:00:49.266 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.079) 0:00:49.345 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.050) 0:00:49.395 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.174) 0:00:49.570 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.056) 0:00:49.627 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.023) 0:00:49.651 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.056) 0:00:49.707 **** 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.045466", "end": "2024-02-14 17:20:41.835996", "rc": 1, "start": "2024-02-14 17:20:41.790530" } 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_rewrite_cbveasl/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.186) 0:00:49.893 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:20:41 +0000 (0:00:00.099) 0:00:49.993 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.039) 0:00:50.033 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.068) 0:00:50.101 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.043) 0:00:50.145 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.048) 0:00:50.193 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003701", "end": "2024-02-14 17:20:42.280119", "rc": 0, "start": "2024-02-14 17:20:42.276418" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.139) 0:00:50.333 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.024) 0:00:50.357 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.023) 0:00:50.381 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.049) 0:00:50.431 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.039) 0:00:50.470 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.080) 0:00:50.550 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.037) 0:00:50.587 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.072) 0:00:50.660 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:42 +0000 (0:00:00.033) 0:00:50.694 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:43 +0000 (0:00:00.781) 0:00:51.476 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.659) 0:00:52.135 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.026) 0:00:52.162 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.024) 0:00:52.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.021) 0:00:52.208 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.044) 0:00:52.253 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.022) 0:00:52.276 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.034) 0:00:52.310 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.028) 0:00:52.338 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.276) 0:00:52.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.039) 0:00:52.654 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.040) 0:00:52.695 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:44 +0000 (0:00:00.045) 0:00:52.740 **** 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, 5b02144d-658a-41ae-821e-119c8b3e3fa8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.344) 0:00:53.084 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.021) 0:00:53.106 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b02144d-658a-41ae-821e-119c8b3e3fa8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.023) 0:00:53.130 **** 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, 5b02144d-658a-41ae-821e-119c8b3e3fa8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b02144d-658a-41ae-821e-119c8b3e3fa8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.023) 0:00:53.153 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.044) 0:00:53.197 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.191) 0:00:53.389 **** 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, 5b02144d-658a-41ae-821e-119c8b3e3fa8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b02144d-658a-41ae-821e-119c8b3e3fa8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.045) 0:00:53.434 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.051) 0:00:53.486 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.089) 0:00:53.575 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.041) 0:00:53.616 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.079) 0:00:53.695 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:45 +0000 (0:00:00.055) 0:00:53.750 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:46 +0000 (0:00:00.827) 0:00:54.578 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.691) 0:00:55.270 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.033) 0:00:55.303 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.064) 0:00:55.367 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.064) 0:00:55.431 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.077) 0:00:55.509 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.052) 0:00:55.562 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.066) 0:00:55.628 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.041) 0:00:55.670 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.234) 0:00:55.904 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.067) 0:00:55.971 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.022) 0:00:55.993 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:47 +0000 (0:00:00.033) 0:00:56.027 **** 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, 5b02144d-658a-41ae-821e-119c8b3e3fa8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.335) 0:00:56.363 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.069) 0:00:56.433 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5b02144d-658a-41ae-821e-119c8b3e3fa8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.040) 0:00:56.473 **** 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, 5b02144d-658a-41ae-821e-119c8b3e3fa8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5b02144d-658a-41ae-821e-119c8b3e3fa8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.040) 0:00:56.514 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.031) 0:00:56.545 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.140) 0:00:56.686 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.048) 0:00:56.735 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.047) 0:00:56.783 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.032) 0:00:56.815 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.036) 0:00:56.852 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:48 +0000 (0:00:00.026) 0:00:56.879 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:49 +0000 (0:00:00.778) 0:00:57.657 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.670) 0:00:58.327 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.023) 0:00:58.350 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.022) 0:00:58.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.025) 0:00:58.398 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.045) 0:00:58.443 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.024) 0:00:58.467 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.032) 0:00:58.499 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.029) 0:00:58.529 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.241) 0:00:58.771 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.031) 0:00:58.802 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.023) 0:00:58.825 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:50 +0000 (0:00:00.028) 0:00:58.854 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.444) 0:00:59.298 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.048) 0:00:59.347 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.063) 0:00:59.411 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.032) 0:00:59.443 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.022) 0:00:59.466 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.139) 0:00:59.606 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.062) 0:00:59.668 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.038) 0:00:59.707 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.058) 0:00:59.765 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.051) 0:00:59.817 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.028) 0:00:59.845 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:20:51 +0000 (0:00:00.024) 0:00:59.870 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:20:52 +0000 (0:00:00.818) 0:01:00.688 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.699) 0:01:01.387 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.038) 0:01:01.425 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.034) 0:01:01.460 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.024) 0:01:01.484 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.050) 0:01:01.534 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.021) 0:01:01.556 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.023) 0:01:01.580 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.025) 0:01:01.606 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.226) 0:01:01.832 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.026) 0:01:01.859 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.037) 0:01:01.896 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:20:53 +0000 (0:00:00.038) 0:01:01.935 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.420) 0:01:02.356 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.022) 0:01:02.378 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.034) 0:01:02.413 **** 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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.036) 0:01:02.450 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.055) 0:01:02.505 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.157) 0:01:02.663 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.063) 0:01:02.727 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.039) 0:01:02.767 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.037) 0:01:02.804 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.145) 0:01:02.950 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:20:54 +0000 (0:00:00.026) 0:01:02.976 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020923", "end": "2024-02-14 17:20:55.077295", "rc": 1, "start": "2024-02-14 17:20:55.056372" } 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.161) 0:01:03.137 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.027) 0:01:03.165 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.026) 0:01:03.191 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.057) 0:01:03.249 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.026) 0:01:03.276 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.024) 0:01:03.300 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.026) 0:01:03.327 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.408688", "end": "2024-02-14 17:20:55.817198", "rc": 0, "start": "2024-02-14 17:20:55.408510" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.545) 0:01:03.873 **** 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_rewrite_cbveasl/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.030) 0:01:03.903 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.047) 0:01:03.951 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:20:55 +0000 (0:00:00.063) 0:01:04.015 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.086) 0:01:04.101 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.161) 0:01:04.262 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.055) 0:01:04.317 **** 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_rewrite_cbveasl/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.042) 0:01:04.360 **** included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.055) 0:01:04.416 **** 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.045161", "end": "2024-02-14 17:20:56.551154", "rc": 1, "start": "2024-02-14 17:20:56.505993" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.211) 0:01:04.627 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008146", "end": "2024-02-14 17:20:56.742943", "rc": 0, "start": "2024-02-14 17:20:56.734797" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:f9:9f:df:dd:23 brd ff:ff:ff:ff:ff:ff inet 10.31.8.89/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3183sec preferred_lft 3183sec inet6 fe80::10f9:9fff:fedf:dd23/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.89 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.237) 0:01:04.864 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Wednesday 14 February 2024 17:20:56 +0000 (0:00:00.034) 0:01:04.898 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.07s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.45s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.41s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.28s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.18s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.01s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Re-test connectivity ----------------------- 0.98s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewrite_cbveasl/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_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewrite_cbveasl/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewrite_cbveasl/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. ---^---^---^---^---^---