# 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-wifi_fix592usdno/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/tests_states_nm.yml:5 Friday 22 December 2023 00:17:47 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/tests_states_nm.yml:9 Friday 22 December 2023 00:17:47 +0000 (0:00:00.518) 0:00:00.529 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:3 Friday 22 December 2023 00:17:47 +0000 (0:00:00.021) 0:00:00.551 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:19 Friday 22 December 2023 00:17:47 +0000 (0:00:00.228) 0:00:00.780 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:24 Friday 22 December 2023 00:17:48 +0000 (0:00:00.184) 0:00:00.964 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:28 Friday 22 December 2023 00:17:48 +0000 (0:00:00.020) 0:00:00.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:53 Friday 22 December 2023 00:17:48 +0000 (0:00:00.017) 0:00:01.001 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/enable_epel.yml:8 Friday 22 December 2023 00:17:48 +0000 (0:00:00.031) 0:00:01.033 ******* 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-wifi_fix592usdno/tests/tasks/enable_epel.yml:24 Friday 22 December 2023 00:17:48 +0000 (0:00:00.185) 0:00:01.218 ******* 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-wifi_fix592usdno/tests/tasks/enable_epel.yml:30 Friday 22 December 2023 00:17:48 +0000 (0:00:00.441) 0:00:01.660 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191022", "end": "2023-12-22 00:17:49.120554", "rc": 0, "start": "2023-12-22 00:17:48.929532" } 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-wifi_fix592usdno/tests/tasks/enable_epel.yml:35 Friday 22 December 2023 00:17:49 +0000 (0:00:00.314) 0:00:01.974 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/enable_epel.yml:40 Friday 22 December 2023 00:17:49 +0000 (0:00:00.010) 0:00:01.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tests_states_nm.yml:11 Friday 22 December 2023 00:17:49 +0000 (0:00:00.009) 0:00:01.994 ******* 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-wifi_fix592usdno/tests/playbooks/tests_states.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.012) 0:00:02.006 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:11 Friday 22 December 2023 00:17:49 +0000 (0:00:00.396) 0:00:02.403 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:22 Friday 22 December 2023 00:17:49 +0000 (0:00:00.011) 0:00:02.414 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:17:49 +0000 (0:00:00.020) 0:00:02.435 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:17:49 +0000 (0:00:00.010) 0:00:02.446 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:17:49 +0000 (0:00:00.032) 0:00:02.478 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.014) 0:00:02.493 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.013) 0:00:02.507 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003311", "end": "2023-12-22 00:17:49.782955", "rc": 0, "start": "2023-12-22 00:17:49.779644" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:17:49 +0000 (0:00:00.129) 0:00:02.636 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:17:49 +0000 (0:00:00.017) 0:00:02.654 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:17:49 +0000 (0:00:00.012) 0:00:02.666 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.022) 0:00:02.688 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010481", "end": "2023-12-22 00:17:49.974891", "rc": 1, "start": "2023-12-22 00:17:49.964410" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.138) 0:00:02.827 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:50 +0000 (0:00:00.016) 0:00:02.843 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:17:50 +0000 (0:00:00.125) 0:00:02.969 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:17:50 +0000 (0:00:00.011) 0:00:02.981 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:17:50 +0000 (0:00:00.017) 0:00:02.999 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:50 +0000 (0:00:00.032) 0:00:03.031 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:50 +0000 (0:00:00.068) 0:00:03.100 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:17:50 +0000 (0:00:00.012) 0:00:03.112 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:17:50 +0000 (0:00:00.009) 0:00:03.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:17:50 +0000 (0:00:00.009) 0:00:03.131 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:17:51 +0000 (0:00:00.811) 0:00:03.943 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:17:51 +0000 (0:00:00.783) 0:00:04.726 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:17:51 +0000 (0:00:00.020) 0:00:04.746 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:17:51 +0000 (0:00:00.019) 0:00:04.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:17:51 +0000 (0:00:00.018) 0:00:04.784 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:17:51 +0000 (0:00:00.040) 0:00:04.825 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:17:52 +0000 (0:00:00.019) 0:00:04.844 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:17:52 +0000 (0:00:00.018) 0:00:04.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:17:52 +0000 (0:00:00.022) 0:00:04.886 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:17:52 +0000 (0:00:00.345) 0:00:05.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:17:52 +0000 (0:00:00.024) 0:00:05.256 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:17:52 +0000 (0:00:00.018) 0:00:05.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:17:52 +0000 (0:00:00.020) 0:00:05.295 ******* 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, b13cf443-8ac1-4c76-8df5-8e9de011d118 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:17:52 +0000 (0:00:00.422) 0:00:05.717 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:17:52 +0000 (0:00:00.019) 0:00:05.737 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b13cf443-8ac1-4c76-8df5-8e9de011d118" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:17:52 +0000 (0:00:00.038) 0:00:05.776 ******* 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, b13cf443-8ac1-4c76-8df5-8e9de011d118\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b13cf443-8ac1-4c76-8df5-8e9de011d118" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:17:52 +0000 (0:00:00.021) 0:00:05.797 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:17:52 +0000 (0:00:00.019) 0:00:05.817 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:17:53 +0000 (0:00:00.176) 0:00:05.993 ******* 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, b13cf443-8ac1-4c76-8df5-8e9de011d118\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b13cf443-8ac1-4c76-8df5-8e9de011d118" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:17:53 +0000 (0:00:00.021) 0:00:06.014 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:17:53 +0000 (0:00:00.036) 0:00:06.051 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:17:53 +0000 (0:00:00.034) 0:00:06.085 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:17:53 +0000 (0:00:00.019) 0:00:06.105 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204272.8031347, "block_size": 4096, "blocks": 8, "ctime": 1703204272.8021348, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703204272.8021348, "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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:17:53 +0000 (0:00:00.132) 0:00:06.238 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:17:53 +0000 (0:00:00.021) 0:00:06.259 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023666", "end": "2023-12-22 00:17:53.549742", "rc": 0, "start": "2023-12-22 00:17:53.526076" } 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:17:53 +0000 (0:00:00.153) 0:00:06.412 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:17:53 +0000 (0:00:00.022) 0:00:06.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:17:53 +0000 (0:00:00.023) 0:00:06.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:17:53 +0000 (0:00:00.022) 0:00:06.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:17:53 +0000 (0:00:00.020) 0:00:06.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:17:53 +0000 (0:00:00.044) 0:00:06.546 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:17:53 +0000 (0:00:00.024) 0:00:06.571 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:17:53 +0000 (0:00:00.023) 0:00:06.594 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:17:53 +0000 (0:00:00.021) 0:00:06.616 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:17:53 +0000 (0:00:00.042) 0:00:06.658 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:53 +0000 (0:00:00.034) 0:00:06.692 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204272.8141344, "block_size": 4096, "blocks": 0, "ctime": 1703204272.8051345, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17489, "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": 1703204272.8051345, "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-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:17:53 +0000 (0:00:00.134) 0:00:06.827 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:17:54 +0000 (0:00:00.024) 0:00:06.851 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:17:54 +0000 (0:00:00.021) 0:00:06.873 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:17:54 +0000 (0:00:00.038) 0:00:06.912 ******* 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.077527", "end": "2023-12-22 00:17:54.257292", "rc": 1, "start": "2023-12-22 00:17:54.179765" } STDOUT: Connection 'statebr' (b13cf443-8ac1-4c76-8df5-8e9de011d118) successfully deleted. STDERR: (process:12377): GLib-GIO-WARNING **: 00:17:54.235: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/12 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-wifi_fix592usdno/tests/playbooks/tests_states.yml:45 Friday 22 December 2023 00:17:54 +0000 (0:00:00.206) 0:00:07.119 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:17:54 +0000 (0:00:00.033) 0:00:07.153 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:17:54 +0000 (0:00:00.020) 0:00:07.173 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:17:54 +0000 (0:00:00.064) 0:00:07.237 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:17:54 +0000 (0:00:00.033) 0:00:07.270 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:17:54 +0000 (0:00:00.032) 0:00:07.302 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003697", "end": "2023-12-22 00:17:54.578850", "rc": 0, "start": "2023-12-22 00:17:54.575153" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:17:54 +0000 (0:00:00.140) 0:00:07.443 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:17:54 +0000 (0:00:00.022) 0:00:07.465 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:17:54 +0000 (0:00:00.020) 0:00:07.486 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:17:54 +0000 (0:00:00.041) 0:00:07.527 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007473", "end": "2023-12-22 00:17:54.812501", "rc": 1, "start": "2023-12-22 00:17:54.805028" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:17:54 +0000 (0:00:00.147) 0:00:07.675 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:54 +0000 (0:00:00.034) 0:00:07.709 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:17:55 +0000 (0:00:00.132) 0:00:07.842 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:17:55 +0000 (0:00:00.028) 0:00:07.871 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 22 December 2023 00:17:55 +0000 (0:00:00.036) 0:00:07.907 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:55 +0000 (0:00:00.064) 0:00:07.972 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:55 +0000 (0:00:00.041) 0:00:08.013 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:17:55 +0000 (0:00:00.028) 0:00:08.042 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:17:55 +0000 (0:00:00.031) 0:00:08.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:17:55 +0000 (0:00:00.027) 0:00:08.101 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:17:56 +0000 (0:00:00.755) 0:00:08.856 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:17:56 +0000 (0:00:00.629) 0:00:09.485 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:17:56 +0000 (0:00:00.021) 0:00:09.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:17:56 +0000 (0:00:00.041) 0:00:09.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:17:56 +0000 (0:00:00.021) 0:00:09.570 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:17:56 +0000 (0:00:00.045) 0:00:09.616 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:17:56 +0000 (0:00:00.023) 0:00:09.639 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:17:56 +0000 (0:00:00.024) 0:00:09.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:17:56 +0000 (0:00:00.026) 0:00:09.690 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:17:57 +0000 (0:00:00.224) 0:00:09.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:17:57 +0000 (0:00:00.024) 0:00:09.940 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:17:57 +0000 (0:00:00.020) 0:00:09.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:17:57 +0000 (0:00:00.019) 0:00:09.981 ******* 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, e061f431-7e7c-4935-b13f-79124b2b45bc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:17:57 +0000 (0:00:00.287) 0:00:10.268 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:17:57 +0000 (0:00:00.020) 0:00:10.289 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e061f431-7e7c-4935-b13f-79124b2b45bc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:17:57 +0000 (0:00:00.021) 0:00:10.311 ******* 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, e061f431-7e7c-4935-b13f-79124b2b45bc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e061f431-7e7c-4935-b13f-79124b2b45bc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:17:57 +0000 (0:00:00.022) 0:00:10.333 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:17:57 +0000 (0:00:00.020) 0:00:10.354 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 22 December 2023 00:17:57 +0000 (0:00:00.129) 0:00:10.483 ******* 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, e061f431-7e7c-4935-b13f-79124b2b45bc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e061f431-7e7c-4935-b13f-79124b2b45bc" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:17:57 +0000 (0:00:00.047) 0:00:10.531 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:17:57 +0000 (0:00:00.041) 0:00:10.572 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:57 +0000 (0:00:00.033) 0:00:10.606 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:17:57 +0000 (0:00:00.130) 0:00:10.736 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:17:57 +0000 (0:00:00.021) 0:00:10.757 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:17:57 +0000 (0:00:00.036) 0:00:10.793 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:17:57 +0000 (0:00:00.021) 0:00:10.815 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204277.3880496, "block_size": 4096, "blocks": 8, "ctime": 1703204277.3880496, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703204277.3880496, "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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:17:58 +0000 (0:00:00.131) 0:00:10.946 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:17:58 +0000 (0:00:00.022) 0:00:10.969 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021185", "end": "2023-12-22 00:17:58.258450", "rc": 0, "start": "2023-12-22 00:17:58.237265" } 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:17:58 +0000 (0:00:00.152) 0:00:11.122 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:17:58 +0000 (0:00:00.023) 0:00:11.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:17:58 +0000 (0:00:00.021) 0:00:11.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:17:58 +0000 (0:00:00.020) 0:00:11.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:17:58 +0000 (0:00:00.021) 0:00:11.209 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:17:58 +0000 (0:00:00.022) 0:00:11.232 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:17:58 +0000 (0:00:00.049) 0:00:11.281 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:17:58 +0000 (0:00:00.023) 0:00:11.305 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:17:58 +0000 (0:00:00.021) 0:00:11.327 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:17:58 +0000 (0:00:00.019) 0:00:11.346 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:17:58 +0000 (0:00:00.020) 0:00:11.367 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:17:58 +0000 (0:00:00.037) 0:00:11.404 ******* 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.046686", "end": "2023-12-22 00:17:58.717678", "rc": 1, "start": "2023-12-22 00:17:58.670992" } STDOUT: Connection 'statebr' (e061f431-7e7c-4935-b13f-79124b2b45bc) 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-wifi_fix592usdno/tests/playbooks/tests_states.yml:65 Friday 22 December 2023 00:17:58 +0000 (0:00:00.175) 0:00:11.580 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:17:58 +0000 (0:00:00.034) 0:00:11.614 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:17:58 +0000 (0:00:00.021) 0:00:11.636 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:17:58 +0000 (0:00:00.043) 0:00:11.680 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:17:58 +0000 (0:00:00.032) 0:00:11.712 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:17:58 +0000 (0:00:00.030) 0:00:11.743 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003370", "end": "2023-12-22 00:17:59.013370", "rc": 0, "start": "2023-12-22 00:17:59.010000" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:17:59 +0000 (0:00:00.132) 0:00:11.875 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:17:59 +0000 (0:00:00.050) 0:00:11.926 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:17:59 +0000 (0:00:00.022) 0:00:11.948 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:17:59 +0000 (0:00:00.047) 0:00:11.996 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:59 +0000 (0:00:00.037) 0:00:12.033 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:59 +0000 (0:00:00.039) 0:00:12.073 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:17:59 +0000 (0:00:00.025) 0:00:12.099 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:17:59 +0000 (0:00:00.020) 0:00:12.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:17:59 +0000 (0:00:00.022) 0:00:12.141 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:00 +0000 (0:00:00.734) 0:00:12.876 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:00 +0000 (0:00:00.659) 0:00:13.536 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:00 +0000 (0:00:00.021) 0:00:13.557 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:00 +0000 (0:00:00.020) 0:00:13.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:00 +0000 (0:00:00.020) 0:00:13.598 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:00 +0000 (0:00:00.040) 0:00:13.639 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:00 +0000 (0:00:00.020) 0:00:13.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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:00 +0000 (0:00:00.021) 0:00:13.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:00 +0000 (0:00:00.027) 0:00:13.708 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:01 +0000 (0:00:00.222) 0:00:13.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:01 +0000 (0:00:00.027) 0:00:13.958 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:01 +0000 (0:00:00.019) 0:00:13.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:01 +0000 (0:00:00.019) 0:00:13.998 ******* 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, 9c8fca75-78df-4383-86a6-5b6dc03c2884 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:01 +0000 (0:00:00.343) 0:00:14.341 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:01 +0000 (0:00:00.022) 0:00:14.364 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c8fca75-78df-4383-86a6-5b6dc03c2884" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:01 +0000 (0:00:00.021) 0:00:14.385 ******* 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, 9c8fca75-78df-4383-86a6-5b6dc03c2884\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c8fca75-78df-4383-86a6-5b6dc03c2884" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:01 +0000 (0:00:00.055) 0:00:14.441 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:01 +0000 (0:00:00.020) 0:00:14.462 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:18:01 +0000 (0:00:00.129) 0:00:14.592 ******* 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, 9c8fca75-78df-4383-86a6-5b6dc03c2884\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c8fca75-78df-4383-86a6-5b6dc03c2884" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:18:01 +0000 (0:00:00.032) 0:00:14.625 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:18:01 +0000 (0:00:00.037) 0:00:14.663 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:01 +0000 (0:00:00.039) 0:00:14.702 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:01 +0000 (0:00:00.038) 0:00:14.741 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:01 +0000 (0:00:00.025) 0:00:14.766 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:01 +0000 (0:00:00.019) 0:00:14.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:01 +0000 (0:00:00.019) 0:00:14.805 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:02 +0000 (0:00:00.752) 0:00:15.558 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:03 +0000 (0:00:00.654) 0:00:16.212 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:03 +0000 (0:00:00.020) 0:00:16.233 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:03 +0000 (0:00:00.021) 0:00:16.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:03 +0000 (0:00:00.021) 0:00:16.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:03 +0000 (0:00:00.041) 0:00:16.317 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:03 +0000 (0:00:00.028) 0:00:16.346 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:03 +0000 (0:00:00.019) 0:00:16.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:03 +0000 (0:00:00.025) 0:00:16.391 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:03 +0000 (0:00:00.226) 0:00:16.617 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:03 +0000 (0:00:00.025) 0:00:16.642 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:03 +0000 (0:00:00.020) 0:00:16.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:03 +0000 (0:00:00.020) 0:00:16.683 ******* 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, 9c8fca75-78df-4383-86a6-5b6dc03c2884 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:04 +0000 (0:00:00.310) 0:00:16.993 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:17.015 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c8fca75-78df-4383-86a6-5b6dc03c2884 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:04 +0000 (0:00:00.022) 0:00:17.037 ******* 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, 9c8fca75-78df-4383-86a6-5b6dc03c2884 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c8fca75-78df-4383-86a6-5b6dc03c2884 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:04 +0000 (0:00:00.022) 0:00:17.060 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:04 +0000 (0:00:00.020) 0:00:17.081 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:18:04 +0000 (0:00:00.134) 0:00:17.215 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:18:04 +0000 (0:00:00.042) 0:00:17.258 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:18:04 +0000 (0:00:00.033) 0:00:17.291 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204281.419975, "block_size": 4096, "blocks": 0, "ctime": 1703204281.4109752, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17489, "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": 1703204281.4109752, "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-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:18:04 +0000 (0:00:00.134) 0:00:17.425 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:17.447 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:18:04 +0000 (0:00:00.034) 0:00:17.481 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:17.502 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204281.409975, "block_size": 4096, "blocks": 8, "ctime": 1703204281.4089751, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427527, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703204281.4089751, "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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:18:04 +0000 (0:00:00.141) 0:00:17.644 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:17.665 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021454", "end": "2023-12-22 00:18:04.962963", "rc": 0, "start": "2023-12-22 00:18:04.941509" } 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:18:04 +0000 (0:00:00.158) 0:00:17.824 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:18:05 +0000 (0:00:00.023) 0:00:17.848 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:18:05 +0000 (0:00:00.021) 0:00:17.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:18:05 +0000 (0:00:00.021) 0:00:17.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:18:05 +0000 (0:00:00.022) 0:00:17.913 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:18:05 +0000 (0:00:00.021) 0:00:17.935 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:18:05 +0000 (0:00:00.022) 0:00:17.958 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:18:05 +0000 (0:00:00.021) 0:00:17.980 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:18:05 +0000 (0:00:00.021) 0:00:18.001 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:18:05 +0000 (0:00:00.018) 0:00:18.020 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:18:05 +0000 (0:00:00.020) 0:00:18.041 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:18:05 +0000 (0:00:00.037) 0:00:18.078 ******* 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.076003", "end": "2023-12-22 00:18:05.426922", "rc": 1, "start": "2023-12-22 00:18:05.350919" } STDOUT: Connection 'statebr' (9c8fca75-78df-4383-86a6-5b6dc03c2884) 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-wifi_fix592usdno/tests/playbooks/tests_states.yml:83 Friday 22 December 2023 00:18:05 +0000 (0:00:00.212) 0:00:18.290 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:18:05 +0000 (0:00:00.035) 0:00:18.325 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:18:05 +0000 (0:00:00.020) 0:00:18.346 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:18:05 +0000 (0:00:00.066) 0:00:18.412 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:18:05 +0000 (0:00:00.033) 0:00:18.446 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:18:05 +0000 (0:00:00.036) 0:00:18.482 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004556", "end": "2023-12-22 00:18:06.765372", "rc": 0, "start": "2023-12-22 00:18:05.760816" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:18:06 +0000 (0:00:01.146) 0:00:19.629 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:18:06 +0000 (0:00:00.022) 0:00:19.651 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:18:06 +0000 (0:00:00.020) 0:00:19.672 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:18:06 +0000 (0:00:00.038) 0:00:19.710 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:06 +0000 (0:00:00.033) 0:00:19.744 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:06 +0000 (0:00:00.059) 0:00:19.804 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:06 +0000 (0:00:00.025) 0:00:19.829 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:07 +0000 (0:00:00.019) 0:00:19.849 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:07 +0000 (0:00:00.019) 0:00:19.868 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:07 +0000 (0:00:00.739) 0:00:20.607 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:08 +0000 (0:00:00.630) 0:00:21.238 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:08 +0000 (0:00:00.020) 0:00:21.259 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:08 +0000 (0:00:00.021) 0:00:21.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:08 +0000 (0:00:00.020) 0:00:21.301 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:08 +0000 (0:00:00.041) 0:00:21.342 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:08 +0000 (0:00:00.050) 0:00:21.393 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:08 +0000 (0:00:00.024) 0:00:21.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:08 +0000 (0:00:00.024) 0:00:21.442 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:08 +0000 (0:00:00.224) 0:00:21.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:08 +0000 (0:00:00.024) 0:00:21.691 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:08 +0000 (0:00:00.020) 0:00:21.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:08 +0000 (0:00:00.019) 0:00:21.731 ******* 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, 95830ac4-3362-4c80-9e4e-8c5580b95e26 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:09 +0000 (0:00:00.329) 0:00:22.060 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:09 +0000 (0:00:00.021) 0:00:22.082 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95830ac4-3362-4c80-9e4e-8c5580b95e26" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:09 +0000 (0:00:00.023) 0:00:22.105 ******* 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, 95830ac4-3362-4c80-9e4e-8c5580b95e26\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95830ac4-3362-4c80-9e4e-8c5580b95e26" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:09 +0000 (0:00:00.022) 0:00:22.127 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:09 +0000 (0:00:00.020) 0:00:22.148 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:18:09 +0000 (0:00:00.127) 0:00:22.276 ******* 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, 95830ac4-3362-4c80-9e4e-8c5580b95e26\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95830ac4-3362-4c80-9e4e-8c5580b95e26" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:18:09 +0000 (0:00:00.022) 0:00:22.298 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:09 +0000 (0:00:00.034) 0:00:22.332 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:09 +0000 (0:00:00.068) 0:00:22.401 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:09 +0000 (0:00:00.030) 0:00:22.431 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:09 +0000 (0:00:00.022) 0:00:22.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:09 +0000 (0:00:00.021) 0:00:22.475 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:10 +0000 (0:00:00.747) 0:00:23.222 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:11 +0000 (0:00:00.631) 0:00:23.854 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:11 +0000 (0:00:00.020) 0:00:23.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:11 +0000 (0:00:00.019) 0:00:23.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:11 +0000 (0:00:00.019) 0:00:23.913 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:11 +0000 (0:00:00.064) 0:00:23.978 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:11 +0000 (0:00:00.020) 0:00:23.998 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:11 +0000 (0:00:00.019) 0:00:24.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:11 +0000 (0:00:00.022) 0:00:24.040 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:11 +0000 (0:00:00.225) 0:00:24.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:11 +0000 (0:00:00.024) 0:00:24.291 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:11 +0000 (0:00:00.022) 0:00:24.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:11 +0000 (0:00:00.021) 0:00:24.334 ******* 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, 95830ac4-3362-4c80-9e4e-8c5580b95e26 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:11 +0000 (0:00:00.277) 0:00:24.611 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:11 +0000 (0:00:00.019) 0:00:24.631 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95830ac4-3362-4c80-9e4e-8c5580b95e26 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:11 +0000 (0:00:00.023) 0:00:24.655 ******* 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, 95830ac4-3362-4c80-9e4e-8c5580b95e26 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95830ac4-3362-4c80-9e4e-8c5580b95e26 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:11 +0000 (0:00:00.021) 0:00:24.677 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:11 +0000 (0:00:00.020) 0:00:24.697 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:18:11 +0000 (0:00:00.126) 0:00:24.824 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:18:12 +0000 (0:00:00.036) 0:00:24.861 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:12 +0000 (0:00:00.062) 0:00:24.923 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:12 +0000 (0:00:00.038) 0:00:24.962 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:12 +0000 (0:00:00.025) 0:00:24.987 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:12 +0000 (0:00:00.020) 0:00:25.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:12 +0000 (0:00:00.020) 0:00:25.028 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:12 +0000 (0:00:00.734) 0:00:25.762 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:13 +0000 (0:00:00.631) 0:00:26.394 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:13 +0000 (0:00:00.020) 0:00:26.414 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:13 +0000 (0:00:00.040) 0:00:26.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:13 +0000 (0:00:00.019) 0:00:26.474 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:13 +0000 (0:00:00.040) 0:00:26.515 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:13 +0000 (0:00:00.019) 0:00:26.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:13 +0000 (0:00:00.019) 0:00:26.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:13 +0000 (0:00:00.022) 0:00:26.576 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:13 +0000 (0:00:00.223) 0:00:26.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:13 +0000 (0:00:00.023) 0:00:26.824 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:14 +0000 (0:00:00.020) 0:00:26.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:14 +0000 (0:00:00.019) 0:00:26.863 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:14 +0000 (0:00:00.308) 0:00:27.172 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:14 +0000 (0:00:00.019) 0:00:27.191 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:14 +0000 (0:00:00.020) 0:00:27.212 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:14 +0000 (0:00:00.020) 0:00:27.232 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:14 +0000 (0:00:00.019) 0:00:27.251 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:18:14 +0000 (0:00:00.124) 0:00:27.376 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:18:14 +0000 (0:00:00.063) 0:00:27.439 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:18:14 +0000 (0:00:00.034) 0:00:27.473 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204289.1408317, "block_size": 4096, "blocks": 0, "ctime": 1703204289.1398318, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17491, "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": 1703204289.1398318, "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-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:18:14 +0000 (0:00:00.136) 0:00:27.610 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:18:14 +0000 (0:00:00.022) 0:00:27.632 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:18:14 +0000 (0:00:00.033) 0:00:27.666 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:18:14 +0000 (0:00:00.020) 0:00:27.687 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:18:14 +0000 (0:00:00.131) 0:00:27.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:18:14 +0000 (0:00:00.019) 0:00:27.837 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022728", "end": "2023-12-22 00:18:15.130213", "rc": 1, "start": "2023-12-22 00:18:15.107485" } 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:18:15 +0000 (0:00:00.156) 0:00:27.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:18:15 +0000 (0:00:00.021) 0:00:28.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:18:15 +0000 (0:00:00.022) 0:00:28.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:18:15 +0000 (0:00:00.023) 0:00:28.062 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:18:15 +0000 (0:00:00.020) 0:00:28.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:18:15 +0000 (0:00:00.022) 0:00:28.105 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:18:15 +0000 (0:00:00.022) 0:00:28.128 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:18:15 +0000 (0:00:00.046) 0:00:28.175 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:18:15 +0000 (0:00:00.022) 0:00:28.197 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:18:15 +0000 (0:00:00.042) 0:00:28.240 ******* 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.083361", "end": "2023-12-22 00:18:15.591517", "rc": 1, "start": "2023-12-22 00:18:15.508156" } STDOUT: Connection 'statebr' (95830ac4-3362-4c80-9e4e-8c5580b95e26) successfully deleted. STDERR: (process:13813): GLib-GIO-WARNING **: 00:18:15.564: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/14 but no object proxy exists (process:13813): GLib-GIO-WARNING **: 00:18:15.564: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/46 but no object proxy exists (process:13813): GLib-GIO-WARNING **: 00:18:15.564: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:103 Friday 22 December 2023 00:18:15 +0000 (0:00:00.214) 0:00:28.454 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:18:15 +0000 (0:00:00.033) 0:00:28.488 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:18:15 +0000 (0:00:00.020) 0:00:28.509 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:18:15 +0000 (0:00:00.041) 0:00:28.550 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:18:15 +0000 (0:00:00.032) 0:00:28.582 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:18:15 +0000 (0:00:00.031) 0:00:28.613 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004490", "end": "2023-12-22 00:18:16.885048", "rc": 0, "start": "2023-12-22 00:18:15.880558" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:18:16 +0000 (0:00:01.152) 0:00:29.766 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:18:16 +0000 (0:00:00.023) 0:00:29.790 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:18:16 +0000 (0:00:00.022) 0:00:29.812 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:18:17 +0000 (0:00:00.063) 0:00:29.876 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:17 +0000 (0:00:00.041) 0:00:29.918 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:17 +0000 (0:00:00.040) 0:00:29.958 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:17 +0000 (0:00:00.026) 0:00:29.985 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:17 +0000 (0:00:00.021) 0:00:30.006 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:17 +0000 (0:00:00.021) 0:00:30.028 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:17 +0000 (0:00:00.738) 0:00:30.767 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:18 +0000 (0:00:00.657) 0:00:31.424 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:18 +0000 (0:00:00.021) 0:00:31.446 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:18 +0000 (0:00:00.021) 0:00:31.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:18 +0000 (0:00:00.020) 0:00:31.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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:18 +0000 (0:00:00.041) 0:00:31.529 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:18 +0000 (0:00:00.019) 0:00:31.548 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:18 +0000 (0:00:00.020) 0:00:31.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:18 +0000 (0:00:00.022) 0:00:31.591 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:18 +0000 (0:00:00.221) 0:00:31.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:18 +0000 (0:00:00.024) 0:00:31.837 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:19 +0000 (0:00:00.019) 0:00:31.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:19 +0000 (0:00:00.019) 0:00:31.876 ******* 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, efcf417b-964c-426b-b5ef-1d573dcd0595 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:19 +0000 (0:00:00.380) 0:00:32.256 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:19 +0000 (0:00:00.020) 0:00:32.277 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efcf417b-964c-426b-b5ef-1d573dcd0595" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:19 +0000 (0:00:00.021) 0:00:32.298 ******* 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, efcf417b-964c-426b-b5ef-1d573dcd0595\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efcf417b-964c-426b-b5ef-1d573dcd0595" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:19 +0000 (0:00:00.021) 0:00:32.319 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:19 +0000 (0:00:00.019) 0:00:32.339 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:18:19 +0000 (0:00:00.133) 0:00:32.472 ******* 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, efcf417b-964c-426b-b5ef-1d573dcd0595\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, efcf417b-964c-426b-b5ef-1d573dcd0595" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:18:19 +0000 (0:00:00.021) 0:00:32.494 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:19 +0000 (0:00:00.037) 0:00:32.532 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:19 +0000 (0:00:00.043) 0:00:32.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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:19 +0000 (0:00:00.035) 0:00:32.610 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:19 +0000 (0:00:00.023) 0:00:32.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:19 +0000 (0:00:00.020) 0:00:32.654 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:20 +0000 (0:00:00.747) 0:00:33.402 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:21 +0000 (0:00:00.659) 0:00:34.061 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:21 +0000 (0:00:00.022) 0:00:34.084 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:21 +0000 (0:00:00.021) 0:00:34.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:21 +0000 (0:00:00.021) 0:00:34.127 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:21 +0000 (0:00:00.051) 0:00:34.179 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:21 +0000 (0:00:00.038) 0:00:34.218 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:21 +0000 (0:00:00.022) 0:00:34.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:21 +0000 (0:00:00.023) 0:00:34.263 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:21 +0000 (0:00:00.220) 0:00:34.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:21 +0000 (0:00:00.024) 0:00:34.508 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:21 +0000 (0:00:00.019) 0:00:34.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:21 +0000 (0:00:00.019) 0:00:34.547 ******* 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, efcf417b-964c-426b-b5ef-1d573dcd0595 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:22 +0000 (0:00:00.301) 0:00:34.848 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:22 +0000 (0:00:00.021) 0:00:34.869 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efcf417b-964c-426b-b5ef-1d573dcd0595 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:22 +0000 (0:00:00.029) 0:00:34.899 ******* 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, efcf417b-964c-426b-b5ef-1d573dcd0595 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, efcf417b-964c-426b-b5ef-1d573dcd0595 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:22 +0000 (0:00:00.026) 0:00:34.925 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:22 +0000 (0:00:00.022) 0:00:34.948 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:18:22 +0000 (0:00:00.152) 0:00:35.100 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:22 +0000 (0:00:00.039) 0:00:35.139 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:22 +0000 (0:00:00.041) 0:00:35.180 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:22 +0000 (0:00:00.027) 0:00:35.208 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:22 +0000 (0:00:00.021) 0:00:35.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:22 +0000 (0:00:00.020) 0:00:35.249 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:23 +0000 (0:00:00.727) 0:00:35.977 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:23 +0000 (0:00:00.665) 0:00:36.642 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:23 +0000 (0:00:00.021) 0:00:36.664 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:23 +0000 (0:00:00.020) 0:00:36.685 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:23 +0000 (0:00:00.021) 0:00:36.706 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:23 +0000 (0:00:00.041) 0:00:36.748 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:23 +0000 (0:00:00.020) 0:00:36.768 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:23 +0000 (0:00:00.023) 0:00:36.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:23 +0000 (0:00:00.024) 0:00:36.817 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:24 +0000 (0:00:00.222) 0:00:37.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:24 +0000 (0:00:00.027) 0:00:37.066 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:24 +0000 (0:00:00.020) 0:00:37.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:24 +0000 (0:00:00.020) 0:00:37.107 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:24 +0000 (0:00:00.336) 0:00:37.444 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:24 +0000 (0:00:00.019) 0:00:37.464 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:24 +0000 (0:00:00.021) 0:00:37.485 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:24 +0000 (0:00:00.022) 0:00:37.508 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:24 +0000 (0:00:00.023) 0:00:37.532 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:18:24 +0000 (0:00:00.125) 0:00:37.657 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:18:24 +0000 (0:00:00.038) 0:00:37.696 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:24 +0000 (0:00:00.040) 0:00:37.736 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:24 +0000 (0:00:00.038) 0:00:37.775 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:24 +0000 (0:00:00.027) 0:00:37.802 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:24 +0000 (0:00:00.020) 0:00:37.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:25 +0000 (0:00:00.019) 0:00:37.842 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:25 +0000 (0:00:00.728) 0:00:38.570 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:26 +0000 (0:00:00.635) 0:00:39.205 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:39.226 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:26 +0000 (0:00:00.019) 0:00:39.246 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:26 +0000 (0:00:00.019) 0:00:39.265 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:26 +0000 (0:00:00.041) 0:00:39.306 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:39.328 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:39.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:26 +0000 (0:00:00.022) 0:00:39.373 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:26 +0000 (0:00:00.222) 0:00:39.595 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:26 +0000 (0:00:00.025) 0:00:39.620 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:26 +0000 (0:00:00.047) 0:00:39.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:39.689 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:27 +0000 (0:00:00.363) 0:00:40.053 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:27 +0000 (0:00:00.021) 0:00:40.074 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:27 +0000 (0:00:00.022) 0:00:40.096 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:27 +0000 (0:00:00.021) 0:00:40.117 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:27 +0000 (0:00:00.020) 0:00:40.138 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:18:27 +0000 (0:00:00.127) 0:00:40.265 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:18:27 +0000 (0:00:00.037) 0:00:40.302 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:18:27 +0000 (0:00:00.034) 0:00:40.337 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:18:27 +0000 (0:00:00.020) 0:00:40.358 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:18:27 +0000 (0:00:00.128) 0:00:40.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:18:27 +0000 (0:00:00.021) 0:00:40.508 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020680", "end": "2023-12-22 00:18:27.798993", "rc": 1, "start": "2023-12-22 00:18:27.778313" } 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:18:27 +0000 (0:00:00.152) 0:00:40.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:18:27 +0000 (0:00:00.053) 0:00:40.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:18:27 +0000 (0:00:00.024) 0:00:40.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:18:27 +0000 (0:00:00.026) 0:00:40.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:18:27 +0000 (0:00:00.026) 0:00:40.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:18:27 +0000 (0:00:00.027) 0:00:40.819 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:18:28 +0000 (0:00:00.024) 0:00:40.844 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:18:28 +0000 (0:00:00.052) 0:00:40.896 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:18:28 +0000 (0:00:00.036) 0:00:40.933 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:18:28 +0000 (0:00:00.132) 0:00:41.065 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:18:28 +0000 (0:00:00.023) 0:00:41.088 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:18:28 +0000 (0:00:00.021) 0:00:41.109 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:18:28 +0000 (0:00:00.038) 0:00:41.148 ******* 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.043534", "end": "2023-12-22 00:18:28.460148", "rc": 1, "start": "2023-12-22 00:18:28.416614" } 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-wifi_fix592usdno/tests/playbooks/tests_states.yml:126 Friday 22 December 2023 00:18:28 +0000 (0:00:00.173) 0:00:41.322 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:18:28 +0000 (0:00:00.034) 0:00:41.356 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:18:28 +0000 (0:00:00.045) 0:00:41.402 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:18:28 +0000 (0:00:00.044) 0:00:41.446 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:18:28 +0000 (0:00:00.032) 0:00:41.479 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:18:28 +0000 (0:00:00.032) 0:00:41.512 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003528", "end": "2023-12-22 00:18:28.783546", "rc": 0, "start": "2023-12-22 00:18:28.780018" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:18:28 +0000 (0:00:00.138) 0:00:41.650 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:18:28 +0000 (0:00:00.022) 0:00:41.673 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:18:28 +0000 (0:00:00.021) 0:00:41.695 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:18:28 +0000 (0:00:00.042) 0:00:41.737 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:28 +0000 (0:00:00.034) 0:00:41.771 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:28 +0000 (0:00:00.036) 0:00:41.808 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:28 +0000 (0:00:00.023) 0:00:41.831 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:29 +0000 (0:00:00.019) 0:00:41.851 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:29 +0000 (0:00:00.043) 0:00:41.894 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:29 +0000 (0:00:00.740) 0:00:42.634 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:30 +0000 (0:00:00.634) 0:00:43.269 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:30 +0000 (0:00:00.021) 0:00:43.290 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:30 +0000 (0:00:00.020) 0:00:43.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:30 +0000 (0:00:00.021) 0:00:43.333 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:30 +0000 (0:00:00.041) 0:00:43.375 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:30 +0000 (0:00:00.020) 0:00:43.395 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:30 +0000 (0:00:00.019) 0:00:43.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:30 +0000 (0:00:00.023) 0:00:43.438 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:30 +0000 (0:00:00.244) 0:00:43.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:30 +0000 (0:00:00.024) 0:00:43.707 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:30 +0000 (0:00:00.019) 0:00:43.726 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:30 +0000 (0:00:00.019) 0:00:43.746 ******* 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, b981ab2d-137f-4cc2-a580-4c515a627d81 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:31 +0000 (0:00:00.323) 0:00:44.070 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:31 +0000 (0:00:00.020) 0:00:44.090 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b981ab2d-137f-4cc2-a580-4c515a627d81" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:31 +0000 (0:00:00.020) 0:00:44.110 ******* 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, b981ab2d-137f-4cc2-a580-4c515a627d81\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b981ab2d-137f-4cc2-a580-4c515a627d81" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:31 +0000 (0:00:00.020) 0:00:44.131 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:31 +0000 (0:00:00.019) 0:00:44.150 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:18:31 +0000 (0:00:00.126) 0:00:44.277 ******* 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, b981ab2d-137f-4cc2-a580-4c515a627d81\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b981ab2d-137f-4cc2-a580-4c515a627d81" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:18:31 +0000 (0:00:00.021) 0:00:44.299 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:31 +0000 (0:00:00.033) 0:00:44.333 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:31 +0000 (0:00:00.037) 0:00:44.370 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:31 +0000 (0:00:00.026) 0:00:44.397 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:31 +0000 (0:00:00.054) 0:00:44.451 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:31 +0000 (0:00:00.020) 0:00:44.472 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:32 +0000 (0:00:00.739) 0:00:45.211 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:33 +0000 (0:00:00.633) 0:00:45.845 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:33 +0000 (0:00:00.022) 0:00:45.867 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:33 +0000 (0:00:00.021) 0:00:45.888 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:33 +0000 (0:00:00.020) 0:00:45.909 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:33 +0000 (0:00:00.051) 0:00:45.961 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:33 +0000 (0:00:00.021) 0:00:45.982 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:33 +0000 (0:00:00.021) 0:00:46.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:33 +0000 (0:00:00.025) 0:00:46.029 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:33 +0000 (0:00:00.260) 0:00:46.289 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:33 +0000 (0:00:00.024) 0:00:46.314 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:33 +0000 (0:00:00.021) 0:00:46.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:33 +0000 (0:00:00.020) 0:00:46.357 ******* 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, b981ab2d-137f-4cc2-a580-4c515a627d81 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:33 +0000 (0:00:00.275) 0:00:46.632 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:33 +0000 (0:00:00.019) 0:00:46.652 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b981ab2d-137f-4cc2-a580-4c515a627d81 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:33 +0000 (0:00:00.022) 0:00:46.675 ******* 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, b981ab2d-137f-4cc2-a580-4c515a627d81 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b981ab2d-137f-4cc2-a580-4c515a627d81 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:33 +0000 (0:00:00.021) 0:00:46.697 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:33 +0000 (0:00:00.020) 0:00:46.717 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:18:34 +0000 (0:00:00.130) 0:00:46.848 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:34 +0000 (0:00:00.035) 0:00:46.884 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:34 +0000 (0:00:00.038) 0:00:46.922 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:34 +0000 (0:00:00.025) 0:00:46.947 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:34 +0000 (0:00:00.018) 0:00:46.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:34 +0000 (0:00:00.044) 0:00:47.010 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:34 +0000 (0:00:00.733) 0:00:47.743 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:35 +0000 (0:00:00.630) 0:00:48.374 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:35 +0000 (0:00:00.021) 0:00:48.395 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:35 +0000 (0:00:00.019) 0:00:48.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:35 +0000 (0:00:00.019) 0:00:48.434 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:35 +0000 (0:00:00.041) 0:00:48.476 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:35 +0000 (0:00:00.019) 0:00:48.496 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:35 +0000 (0:00:00.020) 0:00:48.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:35 +0000 (0:00:00.022) 0:00:48.538 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:35 +0000 (0:00:00.222) 0:00:48.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:35 +0000 (0:00:00.024) 0:00:48.786 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:35 +0000 (0:00:00.019) 0:00:48.805 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:35 +0000 (0:00:00.019) 0:00:48.825 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:36 +0000 (0:00:00.367) 0:00:49.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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:36 +0000 (0:00:00.019) 0:00:49.212 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:36 +0000 (0:00:00.022) 0:00:49.235 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:36 +0000 (0:00:00.021) 0:00:49.257 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:36 +0000 (0:00:00.021) 0:00:49.278 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:18:36 +0000 (0:00:00.130) 0:00:49.408 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:18:36 +0000 (0:00:00.037) 0:00:49.445 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:36 +0000 (0:00:00.032) 0:00:49.478 ******* included: /WORKDIR/git-wifi_fix592usdno/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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:36 +0000 (0:00:00.036) 0:00:49.515 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:36 +0000 (0:00:00.069) 0:00:49.585 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:36 +0000 (0:00:00.021) 0:00:49.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:36 +0000 (0:00:00.019) 0:00:49.625 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:37 +0000 (0:00:00.733) 0:00:50.359 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:38 +0000 (0:00:00.634) 0:00:50.994 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:38 +0000 (0:00:00.023) 0:00:51.018 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:38 +0000 (0:00:00.021) 0:00:51.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:38 +0000 (0:00:00.038) 0:00:51.078 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:38 +0000 (0:00:00.054) 0:00:51.132 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:38 +0000 (0:00:00.057) 0:00:51.190 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:38 +0000 (0:00:00.021) 0:00:51.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:38 +0000 (0:00:00.023) 0:00:51.235 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:38 +0000 (0:00:00.222) 0:00:51.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:38 +0000 (0:00:00.023) 0:00:51.481 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:38 +0000 (0:00:00.019) 0:00:51.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:38 +0000 (0:00:00.019) 0:00:51.521 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:38 +0000 (0:00:00.291) 0:00:51.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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:38 +0000 (0:00:00.019) 0:00:51.832 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:39 +0000 (0:00:00.021) 0:00:51.853 ******* 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-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:39 +0000 (0:00:00.022) 0:00:51.876 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:39 +0000 (0:00:00.019) 0:00:51.895 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:18:39 +0000 (0:00:00.127) 0:00:52.023 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:18:39 +0000 (0:00:00.040) 0:00:52.063 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:18:39 +0000 (0:00:00.033) 0:00:52.097 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:18:39 +0000 (0:00:00.044) 0:00:52.141 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:18:39 +0000 (0:00:00.132) 0:00:52.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:18:39 +0000 (0:00:00.019) 0:00:52.293 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020277", "end": "2023-12-22 00:18:39.580533", "rc": 1, "start": "2023-12-22 00:18:39.560256" } 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-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:18:39 +0000 (0:00:00.149) 0:00:52.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:18:39 +0000 (0:00:00.021) 0:00:52.464 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:18:39 +0000 (0:00:00.021) 0:00:52.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:18:39 +0000 (0:00:00.020) 0:00:52.505 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:18:39 +0000 (0:00:00.021) 0:00:52.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:18:39 +0000 (0:00:00.020) 0:00:52.547 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 22 December 2023 00:18:39 +0000 (0:00:00.022) 0:00:52.569 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.401022", "end": "2023-12-22 00:18:40.240468", "rc": 0, "start": "2023-12-22 00:18:39.839446" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 22 December 2023 00:18:40 +0000 (0:00:00.535) 0:00:53.104 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 22 December 2023 00:18:40 +0000 (0:00:00.021) 0:00:53.125 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:18:40 +0000 (0:00:00.021) 0:00:53.147 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:18:40 +0000 (0:00:00.042) 0:00:53.189 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:18:40 +0000 (0:00:00.057) 0:00:53.247 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:18:40 +0000 (0:00:00.131) 0:00:53.378 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:18:40 +0000 (0:00:00.024) 0:00:53.403 ******* 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-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:18:40 +0000 (0:00:00.022) 0:00:53.425 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:18:40 +0000 (0:00:00.042) 0:00:53.467 ******* 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.043544", "end": "2023-12-22 00:18:40.783350", "rc": 1, "start": "2023-12-22 00:18:40.739806" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Friday 22 December 2023 00:18:40 +0000 (0:00:00.166) 0:00:53.633 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.80s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.26s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.16s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.02s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.93s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.78s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-wifi_fix592usdno/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. ---^---^---^---^---^---