# 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-route_typezx_04ez4/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 20:17:18 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.530) 0:00:00.542 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.022) 0:00:00.564 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:17:19 +0000 (0:00:00.273) 0:00:00.838 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.292) 0:00:01.131 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.034) 0:00:01.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.018) 0:00:01.183 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.032) 0:00:01.216 ******* 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-route_typezx_04ez4/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.207) 0:00:01.424 ******* 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-route_typezx_04ez4/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:17:20 +0000 (0:00:00.466) 0:00:01.891 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189137", "end": "2024-01-09 20:17:21.095109", "rc": 0, "start": "2024-01-09 20:17:20.905972" } 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-route_typezx_04ez4/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.326) 0:00:02.217 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.011) 0:00:02.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.016) 0:00:02.245 ******* 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-route_typezx_04ez4/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.010) 0:00:02.256 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.415) 0:00:02.672 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.010) 0:00:02.683 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.015) 0:00:02.698 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.017) 0:00:02.716 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.039) 0:00:02.755 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.036) 0:00:02.792 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:21 +0000 (0:00:00.016) 0:00:02.808 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004579", "end": "2024-01-09 20:17:22.826490", "rc": 0, "start": "2024-01-09 20:17:21.821911" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:22 +0000 (0:00:01.126) 0:00:03.934 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.011) 0:00:03.946 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.010) 0:00:03.956 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:17:22 +0000 (0:00:00.019) 0:00:03.976 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010527", "end": "2024-01-09 20:17:22.998475", "rc": 1, "start": "2024-01-09 20:17:22.987948" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.128) 0:00:04.105 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.015) 0:00:04.120 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.136) 0:00:04.257 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.024) 0:00:04.282 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.052) 0:00:04.334 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.055) 0:00:04.390 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.110) 0:00:04.501 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.014) 0:00:04.515 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.011) 0:00:04.526 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:23 +0000 (0:00:00.026) 0:00:04.553 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:24 +0000 (0:00:00.820) 0:00:05.374 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.814) 0:00:06.188 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.027) 0:00:06.216 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.027) 0:00:06.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.020) 0:00:06.264 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.043) 0:00:06.308 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.021) 0:00:06.330 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.028) 0:00:06.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.027) 0:00:06.386 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.390) 0:00:06.776 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.044) 0:00:06.821 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.044) 0:00:06.865 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:25 +0000 (0:00:00.023) 0:00:06.889 ******* 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, 6b29fb0d-7ff5-4db2-8ddb-40857b91e280 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.477) 0:00:07.366 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.043) 0:00:07.409 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b29fb0d-7ff5-4db2-8ddb-40857b91e280" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.022) 0:00:07.432 ******* 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, 6b29fb0d-7ff5-4db2-8ddb-40857b91e280\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b29fb0d-7ff5-4db2-8ddb-40857b91e280" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.084) 0:00:07.516 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.037) 0:00:07.554 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.212) 0:00:07.767 ******* 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, 6b29fb0d-7ff5-4db2-8ddb-40857b91e280\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b29fb0d-7ff5-4db2-8ddb-40857b91e280" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.046) 0:00:07.813 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.076) 0:00:07.890 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.041) 0:00:07.932 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.025) 0:00:07.958 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831446.2595112, "block_size": 4096, "blocks": 8, "ctime": 1704831446.173511, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831446.173511, "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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:26 +0000 (0:00:00.132) 0:00:08.091 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.020) 0:00:08.111 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025387", "end": "2024-01-09 20:17:27.153180", "rc": 0, "start": "2024-01-09 20:17:27.127793" } 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.163) 0:00:08.274 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.025) 0:00:08.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.022) 0:00:08.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.022) 0:00:08.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.025) 0:00:08.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.023) 0:00:08.395 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.025) 0:00:08.420 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.049) 0:00:08.470 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.027) 0:00:08.497 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.052) 0:00:08.550 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.037) 0:00:08.588 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831446.176511, "block_size": 4096, "blocks": 0, "ctime": 1704831446.175511, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17555, "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": 1704831446.175511, "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-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.167) 0:00:08.755 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.029) 0:00:08.785 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.024) 0:00:08.809 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.038) 0:00:08.848 ******* 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.082438", "end": "2024-01-09 20:17:27.944612", "rc": 1, "start": "2024-01-09 20:17:27.862174" } STDOUT: Connection 'statebr' (6b29fb0d-7ff5-4db2-8ddb-40857b91e280) successfully deleted. STDERR: (process:25705): GLib-GIO-WARNING **: 20:17:27.922: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/37 but no object proxy exists (process:25705): GLib-GIO-WARNING **: 20:17:27.923: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/54 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:17:27 +0000 (0:00:00.232) 0:00:09.080 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.079) 0:00:09.160 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.023) 0:00:09.184 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.065) 0:00:09.250 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.057) 0:00:09.308 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.038) 0:00:09.346 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-01-09 20:17:28.374321", "rc": 0, "start": "2024-01-09 20:17:28.370615" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.147) 0:00:09.494 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.025) 0:00:09.519 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.022) 0:00:09.542 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.042) 0:00:09.585 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007433", "end": "2024-01-09 20:17:28.612777", "rc": 1, "start": "2024-01-09 20:17:28.605344" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.144) 0:00:09.729 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.033) 0:00:09.763 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.142) 0:00:09.905 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.025) 0:00:09.931 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.049) 0:00:09.980 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.040) 0:00:10.020 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:28 +0000 (0:00:00.060) 0:00:10.081 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.025) 0:00:10.107 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.020) 0:00:10.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.033) 0:00:10.161 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:29 +0000 (0:00:00.757) 0:00:10.919 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.634) 0:00:11.553 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.024) 0:00:11.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.021) 0:00:11.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.021) 0:00:11.620 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.051) 0:00:11.672 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.063) 0:00:11.736 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.031) 0:00:11.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.024) 0:00:11.791 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.225) 0:00:12.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.029) 0:00:12.046 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.022) 0:00:12.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:30 +0000 (0:00:00.022) 0:00:12.091 ******* 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, f0487893-fa75-4127-86c7-a48e1e05c5ed TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.303) 0:00:12.394 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.020) 0:00:12.415 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0487893-fa75-4127-86c7-a48e1e05c5ed" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.020) 0:00:12.435 ******* 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, f0487893-fa75-4127-86c7-a48e1e05c5ed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0487893-fa75-4127-86c7-a48e1e05c5ed" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.020) 0:00:12.456 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.019) 0:00:12.476 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.125) 0:00:12.601 ******* 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, f0487893-fa75-4127-86c7-a48e1e05c5ed\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f0487893-fa75-4127-86c7-a48e1e05c5ed" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.022) 0:00:12.624 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.040) 0:00:12.665 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.067) 0:00:12.732 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.137) 0:00:12.870 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.026) 0:00:12.896 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.046) 0:00:12.942 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:31 +0000 (0:00:00.023) 0:00:12.966 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831451.2555327, "block_size": 4096, "blocks": 8, "ctime": 1704831451.2555327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831451.2555327, "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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.140) 0:00:13.106 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.023) 0:00:13.130 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022805", "end": "2024-01-09 20:17:32.166567", "rc": 0, "start": "2024-01-09 20:17:32.143762" } 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.154) 0:00:13.284 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.024) 0:00:13.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.025) 0:00:13.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.023) 0:00:13.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.031) 0:00:13.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.023) 0:00:13.413 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.027) 0:00:13.440 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.023) 0:00:13.464 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.021) 0:00:13.486 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.045) 0:00:13.531 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.024) 0:00:13.555 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.047) 0:00:13.603 ******* 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.050109", "end": "2024-01-09 20:17:32.674202", "rc": 1, "start": "2024-01-09 20:17:32.624093" } STDOUT: Connection 'statebr' (f0487893-fa75-4127-86c7-a48e1e05c5ed) 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-route_typezx_04ez4/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.192) 0:00:13.796 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.039) 0:00:13.835 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.037) 0:00:13.873 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.059) 0:00:13.933 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.036) 0:00:13.969 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:32 +0000 (0:00:00.032) 0:00:14.001 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-01-09 20:17:33.019644", "rc": 0, "start": "2024-01-09 20:17:33.016499" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.135) 0:00:14.136 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.021) 0:00:14.158 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.022) 0:00:14.181 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.065) 0:00:14.247 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.058) 0:00:14.305 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.044) 0:00:14.350 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.027) 0:00:14.377 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.024) 0:00:14.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:33 +0000 (0:00:00.033) 0:00:14.434 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.776) 0:00:15.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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.640) 0:00:15.851 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.031) 0:00:15.883 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.066) 0:00:15.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.025) 0:00:15.975 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.052) 0:00:16.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.022) 0:00:16.050 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:34 +0000 (0:00:00.028) 0:00:16.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.024) 0:00:16.103 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.241) 0:00:16.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.025) 0:00:16.371 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.020) 0:00:16.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.026) 0:00:16.418 ******* 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, 25a867fa-0013-4895-91d2-937f720c7d5d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.359) 0:00:16.777 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.021) 0:00:16.799 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a867fa-0013-4895-91d2-937f720c7d5d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.024) 0:00:16.823 ******* 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, 25a867fa-0013-4895-91d2-937f720c7d5d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a867fa-0013-4895-91d2-937f720c7d5d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.032) 0:00:16.855 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.047) 0:00:16.902 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.160) 0:00:17.063 ******* 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, 25a867fa-0013-4895-91d2-937f720c7d5d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a867fa-0013-4895-91d2-937f720c7d5d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:35 +0000 (0:00:00.021) 0:00:17.084 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.058) 0:00:17.143 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.042) 0:00:17.185 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.115) 0:00:17.301 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.037) 0:00:17.338 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.032) 0:00:17.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:36 +0000 (0:00:00.022) 0:00:17.393 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.745) 0:00:18.139 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.663) 0:00:18.803 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.056) 0:00:18.860 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.021) 0:00:18.881 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.020) 0:00:18.901 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.042) 0:00:18.944 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.020) 0:00:18.965 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.020) 0:00:18.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:37 +0000 (0:00:00.022) 0:00:19.008 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.245) 0:00:19.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.024) 0:00:19.277 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.022) 0:00:19.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.021) 0:00:19.322 ******* 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, 25a867fa-0013-4895-91d2-937f720c7d5d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.292) 0:00:19.614 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.022) 0:00:19.637 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 25a867fa-0013-4895-91d2-937f720c7d5d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.022) 0:00:19.659 ******* 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, 25a867fa-0013-4895-91d2-937f720c7d5d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 25a867fa-0013-4895-91d2-937f720c7d5d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.021) 0:00:19.680 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.020) 0:00:19.700 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.171) 0:00:19.872 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.043) 0:00:19.915 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:38 +0000 (0:00:00.038) 0:00:19.953 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831455.6045516, "block_size": 4096, "blocks": 0, "ctime": 1704831455.5945513, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17555, "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": 1704831455.5945513, "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-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.168) 0:00:20.122 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.031) 0:00:20.153 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.039) 0:00:20.192 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.030) 0:00:20.223 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831455.6545517, "block_size": 4096, "blocks": 8, "ctime": 1704831455.5925515, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831455.5925515, "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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.146) 0:00:20.369 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.057) 0:00:20.426 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024306", "end": "2024-01-09 20:17:39.504540", "rc": 0, "start": "2024-01-09 20:17:39.480234" } 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.205) 0:00:20.632 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.024) 0:00:20.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.037) 0:00:20.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.024) 0:00:20.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.022) 0:00:20.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.031) 0:00:20.772 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.052) 0:00:20.825 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.024) 0:00:20.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.025) 0:00:20.875 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.027) 0:00:20.903 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.023) 0:00:20.926 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:39 +0000 (0:00:00.071) 0:00:20.998 ******* 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.086627", "end": "2024-01-09 20:17:40.115400", "rc": 1, "start": "2024-01-09 20:17:40.028773" } STDOUT: Connection 'statebr' (25a867fa-0013-4895-91d2-937f720c7d5d) successfully deleted. STDERR: (process:26471): GLib-GIO-WARNING **: 20:17:40.089: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/38 but no object proxy exists (process:26471): GLib-GIO-WARNING **: 20:17:40.089: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/93 but no object proxy exists (process:26471): GLib-GIO-WARNING **: 20:17:40.089: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/55 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-route_typezx_04ez4/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.248) 0:00:21.246 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.049) 0:00:21.296 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.026) 0:00:21.323 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.042) 0:00:21.365 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.032) 0:00:21.398 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.033) 0:00:21.431 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003782", "end": "2024-01-09 20:17:40.451543", "rc": 0, "start": "2024-01-09 20:17:40.447761" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.142) 0:00:21.574 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.089) 0:00:21.663 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.029) 0:00:21.693 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.042) 0:00:21.736 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.036) 0:00:21.772 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.039) 0:00:21.812 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.033) 0:00:21.845 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.042) 0:00:21.888 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:40 +0000 (0:00:00.044) 0:00:21.933 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:41 +0000 (0:00:00.763) 0:00:22.696 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.731) 0:00:23.428 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.049) 0:00:23.477 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.022) 0:00:23.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.024) 0:00:23.525 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.045) 0:00:23.571 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.050) 0:00:23.621 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.023) 0:00:23.645 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.028) 0:00:23.674 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.234) 0:00:23.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.026) 0:00:23.935 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.029) 0:00:23.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:42 +0000 (0:00:00.021) 0:00:23.986 ******* 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, 2cfbae32-fb51-4702-980e-6b46ac45b071 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.363) 0:00:24.349 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.044) 0:00:24.394 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cfbae32-fb51-4702-980e-6b46ac45b071" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.026) 0:00:24.420 ******* 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, 2cfbae32-fb51-4702-980e-6b46ac45b071\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cfbae32-fb51-4702-980e-6b46ac45b071" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.030) 0:00:24.450 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.061) 0:00:24.511 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.130) 0:00:24.641 ******* 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, 2cfbae32-fb51-4702-980e-6b46ac45b071\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2cfbae32-fb51-4702-980e-6b46ac45b071" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.024) 0:00:24.666 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.037) 0:00:24.703 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.044) 0:00:24.748 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.051) 0:00:24.799 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.023) 0:00:24.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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:43 +0000 (0:00:00.038) 0:00:24.861 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:44 +0000 (0:00:00.742) 0:00:25.603 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.687) 0:00:26.290 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.026) 0:00:26.317 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.025) 0:00:26.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.019) 0:00:26.363 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.057) 0:00:26.420 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.026) 0:00:26.446 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.033) 0:00:26.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.032) 0:00:26.512 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.249) 0:00:26.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.025) 0:00:26.787 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.020) 0:00:26.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:45 +0000 (0:00:00.019) 0:00:26.828 ******* 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, 2cfbae32-fb51-4702-980e-6b46ac45b071 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.299) 0:00:27.127 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.043) 0:00:27.170 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2cfbae32-fb51-4702-980e-6b46ac45b071 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.050) 0:00:27.221 ******* 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, 2cfbae32-fb51-4702-980e-6b46ac45b071 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2cfbae32-fb51-4702-980e-6b46ac45b071 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.031) 0:00:27.252 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.064) 0:00:27.317 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.135) 0:00:27.452 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.060) 0:00:27.512 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.039) 0:00:27.552 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.041) 0:00:27.593 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.027) 0:00:27.621 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.029) 0:00:27.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:46 +0000 (0:00:00.028) 0:00:27.679 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:47 +0000 (0:00:00.782) 0:00:28.462 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.693) 0:00:29.155 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.023) 0:00:29.179 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.022) 0:00:29.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.026) 0:00:29.228 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.042) 0:00:29.270 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.021) 0:00:29.291 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.020) 0:00:29.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.024) 0:00:29.336 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.225) 0:00:29.561 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.028) 0:00:29.590 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.020) 0:00:29.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.019) 0:00:29.630 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.324) 0:00:29.955 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.022) 0:00:29.978 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.022) 0:00:30.000 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.051) 0:00:30.052 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:48 +0000 (0:00:00.033) 0:00:30.086 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.135) 0:00:30.221 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.043) 0:00:30.265 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.036) 0:00:30.302 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831463.151584, "block_size": 4096, "blocks": 0, "ctime": 1704831463.1505837, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17600, "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": 1704831463.1505837, "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-route_typezx_04ez4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.136) 0:00:30.438 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.022) 0:00:30.461 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.036) 0:00:30.497 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.021) 0:00:30.518 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.131) 0:00:30.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.020) 0:00:30.670 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024018", "end": "2024-01-09 20:17:49.709112", "rc": 1, "start": "2024-01-09 20:17:49.685094" } 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.155) 0:00:30.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.021) 0:00:30.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.020) 0:00:30.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.046) 0:00:30.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.024) 0:00:30.939 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.022) 0:00:30.961 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.024) 0:00:30.986 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.019) 0:00:31.005 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.021) 0:00:31.027 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:17:49 +0000 (0:00:00.039) 0:00:31.066 ******* 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.084693", "end": "2024-01-09 20:17:50.166030", "rc": 1, "start": "2024-01-09 20:17:50.081337" } STDOUT: Connection 'statebr' (2cfbae32-fb51-4702-980e-6b46ac45b071) successfully deleted. STDERR: (process:27141): GLib-GIO-WARNING **: 20:17:50.138: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/39 but no object proxy exists (process:27141): GLib-GIO-WARNING **: 20:17:50.139: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/95 but no object proxy exists (process:27141): GLib-GIO-WARNING **: 20:17:50.139: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/56 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-route_typezx_04ez4/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.216) 0:00:31.283 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.036) 0:00:31.320 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.023) 0:00:31.343 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.044) 0:00:31.387 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.034) 0:00:31.422 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.034) 0:00:31.456 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003668", "end": "2024-01-09 20:17:50.474938", "rc": 0, "start": "2024-01-09 20:17:50.471270" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.172) 0:00:31.629 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.027) 0:00:31.656 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.025) 0:00:31.681 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.067) 0:00:31.749 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.055) 0:00:31.804 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.048) 0:00:31.852 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.029) 0:00:31.882 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.021) 0:00:31.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:50 +0000 (0:00:00.028) 0:00:31.932 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:51 +0000 (0:00:00.742) 0:00:32.675 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.663) 0:00:33.338 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.026) 0:00:33.365 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.026) 0:00:33.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.023) 0:00:33.415 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.044) 0:00:33.459 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.022) 0:00:33.482 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.029) 0:00:33.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.025) 0:00:33.537 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.225) 0:00:33.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.028) 0:00:33.791 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.020) 0:00:33.811 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:52 +0000 (0:00:00.020) 0:00:33.832 ******* 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, 0694ef29-1f8b-4598-a81e-4057c1984f5a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.336) 0:00:34.169 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.059) 0:00:34.228 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0694ef29-1f8b-4598-a81e-4057c1984f5a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.024) 0:00:34.252 ******* 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, 0694ef29-1f8b-4598-a81e-4057c1984f5a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0694ef29-1f8b-4598-a81e-4057c1984f5a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.023) 0:00:34.276 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.020) 0:00:34.297 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.130) 0:00:34.427 ******* 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, 0694ef29-1f8b-4598-a81e-4057c1984f5a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0694ef29-1f8b-4598-a81e-4057c1984f5a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.025) 0:00:34.453 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.037) 0:00:34.491 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.053) 0:00:34.544 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.028) 0:00:34.573 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.023) 0:00:34.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:53 +0000 (0:00:00.022) 0:00:34.619 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.754) 0:00:35.374 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:54 +0000 (0:00:00.672) 0:00:36.047 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.074) 0:00:36.121 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.028) 0:00:36.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.040) 0:00:36.191 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.140) 0:00:36.331 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.039) 0:00:36.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.067) 0:00:36.438 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.072) 0:00:36.511 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.254) 0:00:36.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.030) 0:00:36.796 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.025) 0:00:36.821 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:55 +0000 (0:00:00.025) 0:00:36.847 ******* 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, 0694ef29-1f8b-4598-a81e-4057c1984f5a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.297) 0:00:37.144 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.030) 0:00:37.175 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0694ef29-1f8b-4598-a81e-4057c1984f5a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.090) 0:00:37.266 ******* 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, 0694ef29-1f8b-4598-a81e-4057c1984f5a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0694ef29-1f8b-4598-a81e-4057c1984f5a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.054) 0:00:37.320 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.022) 0:00:37.342 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.131) 0:00:37.474 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.035) 0:00:37.509 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.040) 0:00:37.550 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.027) 0:00:37.577 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.031) 0:00:37.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:56 +0000 (0:00:00.052) 0:00:37.661 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:17:57 +0000 (0:00:00.777) 0:00:38.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.663) 0:00:39.102 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.027) 0:00:39.129 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.021) 0:00:39.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.042) 0:00:39.193 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.069) 0:00:39.262 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.030) 0:00:39.292 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.038) 0:00:39.331 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.058) 0:00:39.390 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.266) 0:00:39.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.027) 0:00:39.683 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.023) 0:00:39.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.025) 0:00:39.732 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.333) 0:00:40.065 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:17:58 +0000 (0:00:00.023) 0:00:40.089 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.028) 0:00:40.118 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.039) 0:00:40.157 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.078) 0:00:40.236 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.159) 0:00:40.396 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.092) 0:00:40.488 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.074) 0:00:40.562 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.049) 0:00:40.611 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.033) 0:00:40.645 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.034) 0:00:40.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:17:59 +0000 (0:00:00.022) 0:00:40.701 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:00 +0000 (0:00:00.745) 0:00:41.447 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.697) 0:00:42.145 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.024) 0:00:42.169 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.031) 0:00:42.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.038) 0:00:42.240 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.047) 0:00:42.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.021) 0:00:42.308 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.021) 0:00:42.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.024) 0:00:42.354 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.225) 0:00:42.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.027) 0:00:42.607 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.022) 0:00:42.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.020) 0:00:42.651 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.396) 0:00:43.047 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:01 +0000 (0:00:00.032) 0:00:43.080 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.057) 0:00:43.137 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.023) 0:00:43.161 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.022) 0:00:43.183 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.132) 0:00:43.315 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.039) 0:00:43.355 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.037) 0:00:43.393 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.029) 0:00:43.422 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.134) 0:00:43.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.020) 0:00:43.577 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021963", "end": "2024-01-09 20:18:02.618883", "rc": 1, "start": "2024-01-09 20:18:02.596920" } 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.158) 0:00:43.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.023) 0:00:43.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.020) 0:00:43.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.024) 0:00:43.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.022) 0:00:43.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.023) 0:00:43.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.052) 0:00:43.902 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.041) 0:00:43.944 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:18:02 +0000 (0:00:00.036) 0:00:43.981 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.178) 0:00:44.159 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.045) 0:00:44.205 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.030) 0:00:44.235 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.042) 0:00:44.277 ******* 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.048252", "end": "2024-01-09 20:18:03.339627", "rc": 1, "start": "2024-01-09 20:18:03.291375" } 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-route_typezx_04ez4/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.179) 0:00:44.457 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.037) 0:00:44.494 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.022) 0:00:44.516 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.042) 0:00:44.559 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.033) 0:00:44.593 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.057) 0:00:44.650 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003427", "end": "2024-01-09 20:18:03.668115", "rc": 0, "start": "2024-01-09 20:18:03.664688" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.134) 0:00:44.785 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.022) 0:00:44.808 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.021) 0:00:44.829 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.042) 0:00:44.872 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.034) 0:00:44.907 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.038) 0:00:44.945 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.026) 0:00:44.971 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.020) 0:00:44.991 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:03 +0000 (0:00:00.022) 0:00:45.014 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:04 +0000 (0:00:00.739) 0:00:45.754 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.704) 0:00:46.458 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.022) 0:00:46.481 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.020) 0:00:46.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.020) 0:00:46.522 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.041) 0:00:46.564 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.020) 0:00:46.584 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.019) 0:00:46.604 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.024) 0:00:46.629 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.222) 0:00:46.851 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.026) 0:00:46.878 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.019) 0:00:46.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:05 +0000 (0:00:00.020) 0:00:46.917 ******* 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, 8e10dcb5-1751-4d73-adc3-6c4976956b88 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.386) 0:00:47.304 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.021) 0:00:47.326 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e10dcb5-1751-4d73-adc3-6c4976956b88" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.022) 0:00:47.349 ******* 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, 8e10dcb5-1751-4d73-adc3-6c4976956b88\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e10dcb5-1751-4d73-adc3-6c4976956b88" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.022) 0:00:47.372 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.021) 0:00:47.393 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.132) 0:00:47.525 ******* 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, 8e10dcb5-1751-4d73-adc3-6c4976956b88\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e10dcb5-1751-4d73-adc3-6c4976956b88" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.026) 0:00:47.552 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.036) 0:00:47.589 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.039) 0:00:47.629 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.029) 0:00:47.658 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.021) 0:00:47.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:06 +0000 (0:00:00.020) 0:00:47.701 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:07 +0000 (0:00:00.763) 0:00:48.465 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.657) 0:00:49.123 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.022) 0:00:49.145 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.022) 0:00:49.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.020) 0:00:49.188 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.053) 0:00:49.242 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.026) 0:00:49.268 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.044) 0:00:49.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.047) 0:00:49.361 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.250) 0:00:49.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.027) 0:00:49.639 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.022) 0:00:49.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.021) 0:00:49.682 ******* 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, 8e10dcb5-1751-4d73-adc3-6c4976956b88 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.304) 0:00:49.987 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.021) 0:00:50.008 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e10dcb5-1751-4d73-adc3-6c4976956b88 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.022) 0:00:50.031 ******* 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, 8e10dcb5-1751-4d73-adc3-6c4976956b88 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e10dcb5-1751-4d73-adc3-6c4976956b88 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.022) 0:00:50.053 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:08 +0000 (0:00:00.020) 0:00:50.074 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.128) 0:00:50.202 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.036) 0:00:50.239 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.041) 0:00:50.281 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.028) 0:00:50.309 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.020) 0:00:50.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:09 +0000 (0:00:00.021) 0:00:50.351 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.758) 0:00:51.110 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.632) 0:00:51.743 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.024) 0:00:51.767 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.028) 0:00:51.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.027) 0:00:51.823 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.047) 0:00:51.871 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.022) 0:00:51.893 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.024) 0:00:51.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:10 +0000 (0:00:00.025) 0:00:51.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.231) 0:00:52.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.027) 0:00:52.202 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.022) 0:00:52.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.021) 0:00:52.245 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.416) 0:00:52.662 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.028) 0:00:52.691 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.024) 0:00:52.715 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.025) 0:00:52.740 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.022) 0:00:52.763 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.154) 0:00:52.918 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.038) 0:00:52.957 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.035) 0:00:52.992 ******* included: /WORKDIR/git-route_typezx_04ez4/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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.040) 0:00:53.033 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.026) 0:00:53.059 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:18:11 +0000 (0:00:00.019) 0:00:53.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.021) 0:00:53.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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:18:12 +0000 (0:00:00.734) 0:00:53.835 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.645) 0:00:54.481 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.026) 0:00:54.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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.025) 0:00:54.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.023) 0:00:54.555 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.044) 0:00:54.600 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.020) 0:00:54.621 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.019) 0:00:54.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.023) 0:00:54.664 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.227) 0:00:54.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.025) 0:00:54.916 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.049) 0:00:54.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:18:13 +0000 (0:00:00.022) 0:00:54.988 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.310) 0:00:55.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:00:55.321 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:00:55.344 ******* 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-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.023) 0:00:55.367 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.021) 0:00:55.388 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.127) 0:00:55.516 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.042) 0:00:55.558 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.035) 0:00:55.594 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.021) 0:00:55.615 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.133) 0:00:55.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:00:55.771 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021510", "end": "2024-01-09 20:18:14.813672", "rc": 1, "start": "2024-01-09 20:18:14.792162" } 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-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.160) 0:00:55.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.049) 0:00:55.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:00:56.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.021) 0:00:56.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.023) 0:00:56.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.021) 0:00:56.069 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:18:14 +0000 (0:00:00.022) 0:00:56.091 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.399695", "end": "2024-01-09 20:18:15.504107", "rc": 0, "start": "2024-01-09 20:18:15.104412" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.530) 0:00:56.622 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.023) 0:00:56.645 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.022) 0:00:56.668 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.057) 0:00:56.725 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.040) 0:00:56.765 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.147) 0:00:56.912 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.025) 0:00:56.938 ******* 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-route_typezx_04ez4/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.023) 0:00:56.961 ******* included: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:18:15 +0000 (0:00:00.096) 0:00:57.058 ******* 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.046301", "end": "2024-01-09 20:18:16.119532", "rc": 1, "start": "2024-01-09 20:18:16.073231" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 09 January 2024 20:18:16 +0000 (0:00:00.166) 0:00:57.224 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.92s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.31s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.19s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_typezx_04ez4/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.12s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.00s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.81s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.77s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typezx_04ez4/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typezx_04ez4/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. ---^---^---^---^---^---