# 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_typeof58zhgg/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 16:47:30 +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_typeof58zhgg/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.556) 0:00:00.569 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.021) 0:00:00.591 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.235) 0:00:00.826 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:47:31 +0000 (0:00:00.195) 0:00:01.022 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:47:31 +0000 (0:00:00.020) 0:00:01.042 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:47:31 +0000 (0:00:00.016) 0:00:01.058 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:47:31 +0000 (0:00:00.030) 0:00:01.089 ******* 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_typeof58zhgg/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:47:31 +0000 (0:00:00.194) 0:00:01.284 ******* 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_typeof58zhgg/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:47:31 +0000 (0:00:00.486) 0:00:01.771 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.208702", "end": "2024-01-09 16:47:32.239338", "rc": 0, "start": "2024-01-09 16:47:32.030636" } 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_typeof58zhgg/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.339) 0:00:02.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.010) 0:00:02.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.011) 0:00:02.133 ******* 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_typeof58zhgg/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.029) 0:00:02.162 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.413) 0:00:02.575 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.011) 0:00:02.587 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.015) 0:00:02.603 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.010) 0:00:02.613 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.031) 0:00:02.645 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.013) 0:00:02.659 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.012) 0:00:02.671 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003893", "end": "2024-01-09 16:47:32.933390", "rc": 0, "start": "2024-01-09 16:47:32.929497" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.133) 0:00:02.805 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.010) 0:00:02.815 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.010) 0:00:02.826 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.021) 0:00:02.848 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012632", "end": "2024-01-09 16:47:33.123054", "rc": 1, "start": "2024-01-09 16:47:33.110422" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.145) 0:00:02.993 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.015) 0:00:03.008 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.129) 0:00:03.138 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.012) 0:00:03.150 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.017) 0:00:03.167 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.031) 0:00:03.199 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.070) 0:00:03.270 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.012) 0:00:03.282 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.010) 0:00:03.292 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:33 +0000 (0:00:00.009) 0:00:03.302 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:34 +0000 (0:00:00.892) 0:00:04.195 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.818) 0:00:05.013 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.021) 0:00:05.035 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.020) 0:00:05.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.020) 0:00:05.075 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.043) 0:00:05.118 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.021) 0:00:05.140 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.020) 0:00:05.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.022) 0:00:05.183 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.379) 0:00:05.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.024) 0:00:05.587 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.019) 0:00:05.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.019) 0:00:05.626 ******* 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, 190bd743-7a4d-4a8b-ba65-6a18f6d2cfe0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.485) 0:00:06.112 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.021) 0:00:06.133 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 190bd743-7a4d-4a8b-ba65-6a18f6d2cfe0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.021) 0:00:06.155 ******* 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, 190bd743-7a4d-4a8b-ba65-6a18f6d2cfe0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 190bd743-7a4d-4a8b-ba65-6a18f6d2cfe0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.045) 0:00:06.201 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.021) 0:00:06.222 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.199) 0:00:06.422 ******* 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, 190bd743-7a4d-4a8b-ba65-6a18f6d2cfe0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 190bd743-7a4d-4a8b-ba65-6a18f6d2cfe0" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.025) 0:00:06.447 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.060) 0:00:06.508 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.046) 0:00:06.555 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.023) 0:00:06.579 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818856.146221, "block_size": 4096, "blocks": 8, "ctime": 1704818856.1452208, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818856.1452208, "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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.143) 0:00:06.722 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.024) 0:00:06.747 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027101", "end": "2024-01-09 16:47:37.035923", "rc": 0, "start": "2024-01-09 16:47:37.008822" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.179) 0:00:06.926 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.036) 0:00:06.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.030) 0:00:06.993 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.025) 0:00:07.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.023) 0:00:07.042 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.023) 0:00:07.066 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.052) 0:00:07.119 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.026) 0:00:07.145 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.025) 0:00:07.170 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.049) 0:00:07.220 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.038) 0:00:07.258 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818856.1492207, "block_size": 4096, "blocks": 0, "ctime": 1704818856.1482208, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17480, "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": 1704818856.1482208, "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_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.172) 0:00:07.431 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.035) 0:00:07.466 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.023) 0:00:07.489 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.043) 0:00:07.533 ******* 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.090944", "end": "2024-01-09 16:47:37.888808", "rc": 1, "start": "2024-01-09 16:47:37.797864" } STDOUT: Connection 'statebr' (190bd743-7a4d-4a8b-ba65-6a18f6d2cfe0) successfully deleted. STDERR: (process:12832): GLib-GIO-WARNING **: 16:47:37.861: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 but no object proxy exists (process:12832): GLib-GIO-WARNING **: 16:47:37.862: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/23 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_typeof58zhgg/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.238) 0:00:07.772 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.037) 0:00:07.809 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.029) 0:00:07.839 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.052) 0:00:07.891 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.072) 0:00:07.964 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.036) 0:00:08.000 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004310", "end": "2024-01-09 16:47:38.264470", "rc": 0, "start": "2024-01-09 16:47:38.260160" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.146) 0:00:08.147 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.025) 0:00:08.172 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.024) 0:00:08.196 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.046) 0:00:08.243 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008029", "end": "2024-01-09 16:47:38.513421", "rc": 1, "start": "2024-01-09 16:47:38.505392" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.150) 0:00:08.394 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.035) 0:00:08.429 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.160) 0:00:08.590 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.023) 0:00:08.613 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.038) 0:00:08.652 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.067) 0:00:08.720 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.041) 0:00:08.761 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.026) 0:00:08.788 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.022) 0:00:08.810 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.021) 0:00:08.831 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.816) 0:00:09.648 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.670) 0:00:10.318 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.020) 0:00:10.338 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.041) 0:00:10.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.021) 0:00:10.401 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.044) 0:00:10.445 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.022) 0:00:10.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.021) 0:00:10.489 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.026) 0:00:10.515 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.252) 0:00:10.768 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.026) 0:00:10.795 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.025) 0:00:10.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.019) 0:00:10.840 ******* 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, b9606b9c-f862-4f56-bb32-1fa5c95d4b82 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.310) 0:00:11.150 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.019) 0:00:11.170 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9606b9c-f862-4f56-bb32-1fa5c95d4b82" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.022) 0:00:11.193 ******* 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, b9606b9c-f862-4f56-bb32-1fa5c95d4b82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9606b9c-f862-4f56-bb32-1fa5c95d4b82" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.022) 0:00:11.215 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.025) 0:00:11.241 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.136) 0:00:11.378 ******* 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, b9606b9c-f862-4f56-bb32-1fa5c95d4b82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9606b9c-f862-4f56-bb32-1fa5c95d4b82" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.049) 0:00:11.427 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.042) 0:00:11.470 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.033) 0:00:11.503 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.149) 0:00:11.653 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.022) 0:00:11.676 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.035) 0:00:11.711 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.020) 0:00:11.732 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818861.2500298, "block_size": 4096, "blocks": 8, "ctime": 1704818861.2490299, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818861.2490299, "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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.138) 0:00:11.871 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.022) 0:00:11.893 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023809", "end": "2024-01-09 16:47:42.176981", "rc": 0, "start": "2024-01-09 16:47:42.153172" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.166) 0:00:12.060 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.026) 0:00:12.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.025) 0:00:12.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.023) 0:00:12.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.024) 0:00:12.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.023) 0:00:12.184 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.069) 0:00:12.254 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.024) 0:00:12.278 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.048) 0:00:12.327 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.024) 0:00:12.351 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.052) 0:00:12.403 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.078) 0:00:12.481 ******* 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.050537", "end": "2024-01-09 16:47:42.795197", "rc": 1, "start": "2024-01-09 16:47:42.744660" } STDOUT: Connection 'statebr' (b9606b9c-f862-4f56-bb32-1fa5c95d4b82) 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_typeof58zhgg/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.194) 0:00:12.676 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.035) 0:00:12.712 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.022) 0:00:12.734 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.049) 0:00:12.784 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.051) 0:00:12.835 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.033) 0:00:12.869 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003924", "end": "2024-01-09 16:47:43.142947", "rc": 0, "start": "2024-01-09 16:47:43.139023" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.154) 0:00:13.024 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.048) 0:00:13.073 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.022) 0:00:13.095 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.035) 0:00:13.131 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.036) 0:00:13.167 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.064) 0:00:13.231 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.026) 0:00:13.257 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.019) 0:00:13.277 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.021) 0:00:13.298 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.820) 0:00:14.119 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.714) 0:00:14.833 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.021) 0:00:14.855 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.021) 0:00:14.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.021) 0:00:14.898 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.042) 0:00:14.941 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.020) 0:00:14.961 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.019) 0:00:14.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.024) 0:00:15.005 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.248) 0:00:15.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.026) 0:00:15.280 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.022) 0:00:15.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.019) 0:00:15.322 ******* 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, a96259ac-8e58-442a-99e0-0ad0fb616b4e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.357) 0:00:15.680 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.020) 0:00:15.701 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a96259ac-8e58-442a-99e0-0ad0fb616b4e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.057) 0:00:15.758 ******* 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, a96259ac-8e58-442a-99e0-0ad0fb616b4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a96259ac-8e58-442a-99e0-0ad0fb616b4e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.025) 0:00:15.784 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.023) 0:00:15.808 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.142) 0:00:15.950 ******* 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, a96259ac-8e58-442a-99e0-0ad0fb616b4e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a96259ac-8e58-442a-99e0-0ad0fb616b4e" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.021) 0:00:15.972 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.035) 0:00:16.007 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.037) 0:00:16.045 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.037) 0:00:16.082 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.025) 0:00:16.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.019) 0:00:16.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.019) 0:00:16.146 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.857) 0:00:17.004 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.667) 0:00:17.672 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.022) 0:00:17.694 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.021) 0:00:17.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.022) 0:00:17.739 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.047) 0:00:17.787 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.021) 0:00:17.808 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.021) 0:00:17.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.023) 0:00:17.853 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.251) 0:00:18.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.024) 0:00:18.129 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.019) 0:00:18.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.043) 0:00:18.191 ******* 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, a96259ac-8e58-442a-99e0-0ad0fb616b4e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.313) 0:00:18.505 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.032) 0:00:18.537 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a96259ac-8e58-442a-99e0-0ad0fb616b4e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.028) 0:00:18.566 ******* 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, a96259ac-8e58-442a-99e0-0ad0fb616b4e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a96259ac-8e58-442a-99e0-0ad0fb616b4e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.023) 0:00:18.589 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.020) 0:00:18.610 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.148) 0:00:18.758 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.042) 0:00:18.800 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.034) 0:00:18.835 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818865.729862, "block_size": 4096, "blocks": 0, "ctime": 1704818865.728862, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17480, "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": 1704818865.728862, "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_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.161) 0:00:18.997 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.040) 0:00:19.037 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.038) 0:00:19.075 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.024) 0:00:19.100 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818865.7278621, "block_size": 4096, "blocks": 8, "ctime": 1704818865.7268622, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818865.7268622, "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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.209) 0:00:19.310 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.037) 0:00:19.347 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024115", "end": "2024-01-09 16:47:49.634092", "rc": 0, "start": "2024-01-09 16:47:49.609977" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.168) 0:00:19.516 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.026) 0:00:19.542 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.024) 0:00:19.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.025) 0:00:19.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.025) 0:00:19.617 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.024) 0:00:19.641 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.023) 0:00:19.665 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.023) 0:00:19.688 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.023) 0:00:19.712 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.020) 0:00:19.733 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.028) 0:00:19.761 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.061) 0:00:19.823 ******* 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.087943", "end": "2024-01-09 16:47:50.190103", "rc": 1, "start": "2024-01-09 16:47:50.102160" } STDOUT: Connection 'statebr' (a96259ac-8e58-442a-99e0-0ad0fb616b4e) successfully deleted. STDERR: (process:13597): GLib-GIO-WARNING **: 16:47:50.164: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/22 but no object proxy exists (process:13597): GLib-GIO-WARNING **: 16:47:50.164: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/24 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_typeof58zhgg/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.250) 0:00:20.074 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.036) 0:00:20.110 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.062) 0:00:20.172 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.058) 0:00:20.231 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.044) 0:00:20.275 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.035) 0:00:20.311 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004195", "end": "2024-01-09 16:47:50.626622", "rc": 0, "start": "2024-01-09 16:47:50.622427" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.199) 0:00:20.510 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.034) 0:00:20.545 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.023) 0:00:20.569 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.042) 0:00:20.611 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.037) 0:00:20.648 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.056) 0:00:20.705 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.041) 0:00:20.746 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.021) 0:00:20.768 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.049) 0:00:20.818 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:51 +0000 (0:00:00.886) 0:00:21.705 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.670) 0:00:22.376 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.022) 0:00:22.398 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.022) 0:00:22.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.030) 0:00:22.451 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.046) 0:00:22.498 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.026) 0:00:22.525 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.034) 0:00:22.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.025) 0:00:22.585 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.261) 0:00:22.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.025) 0:00:22.871 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.019) 0:00:22.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.021) 0:00:22.912 ******* 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, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.349) 0:00:23.262 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.022) 0:00:23.285 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.022) 0:00:23.307 ******* 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, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.023) 0:00:23.330 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.019) 0:00:23.350 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.137) 0:00:23.487 ******* 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, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.031) 0:00:23.519 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.038) 0:00:23.557 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.039) 0:00:23.596 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.025) 0:00:23.622 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.060) 0:00:23.682 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.021) 0:00:23.703 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:54 +0000 (0:00:00.802) 0:00:24.505 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.672) 0:00:25.178 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.026) 0:00:25.205 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.039) 0:00:25.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.047) 0:00:25.291 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.087) 0:00:25.379 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.034) 0:00:25.413 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.026) 0:00:25.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.052) 0:00:25.493 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.252) 0:00:25.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.024) 0:00:25.769 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.021) 0:00:25.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.019) 0:00:25.811 ******* 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, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.291) 0:00:26.102 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.021) 0:00:26.123 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.026) 0:00:26.150 ******* 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, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 09cfc19a-5fbd-4e9d-bd63-48d22a67e252 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.021) 0:00:26.172 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.020) 0:00:26.192 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.132) 0:00:26.324 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.037) 0:00:26.362 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.039) 0:00:26.401 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.066) 0:00:26.467 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.026) 0:00:26.494 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.022) 0:00:26.516 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.022) 0:00:26.538 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:57 +0000 (0:00:00.750) 0:00:27.289 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.650) 0:00:27.940 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.021) 0:00:27.961 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.019) 0:00:27.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.022) 0:00:28.003 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.044) 0:00:28.047 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.048) 0:00:28.096 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.021) 0:00:28.117 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.029) 0:00:28.146 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.234) 0:00:28.381 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.024) 0:00:28.406 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.021) 0:00:28.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.020) 0:00:28.448 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.329) 0:00:28.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.021) 0:00:28.798 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.021) 0:00:28.820 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.022) 0:00:28.842 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.024) 0:00:28.867 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.133) 0:00:29.000 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.043) 0:00:29.044 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.057) 0:00:29.102 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818873.3335774, "block_size": 4096, "blocks": 0, "ctime": 1704818873.323578, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17482, "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": 1704818873.323578, "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_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.141) 0:00:29.243 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.023) 0:00:29.267 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.034) 0:00:29.301 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.020) 0:00:29.322 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.136) 0:00:29.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.022) 0:00:29.481 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023292", "end": "2024-01-09 16:47:59.760058", "rc": 1, "start": "2024-01-09 16:47:59.736766" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.159) 0:00:29.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.024) 0:00:29.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.035) 0:00:29.701 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.034) 0:00:29.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.024) 0:00:29.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.022) 0:00:29.782 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.025) 0:00:29.807 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.022) 0:00:29.829 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.024) 0:00:29.854 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.075) 0:00:29.929 ******* 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.083374", "end": "2024-01-09 16:48:00.269718", "rc": 1, "start": "2024-01-09 16:48:00.186344" } STDOUT: Connection 'statebr' (09cfc19a-5fbd-4e9d-bd63-48d22a67e252) successfully deleted. STDERR: (process:14266): GLib-GIO-WARNING **: 16:48:00.247: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/23 but no object proxy exists (process:14266): GLib-GIO-WARNING **: 16:48:00.248: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/25 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_typeof58zhgg/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.220) 0:00:30.150 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.037) 0:00:30.187 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.021) 0:00:30.209 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.044) 0:00:30.254 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.032) 0:00:30.287 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.031) 0:00:30.318 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004598", "end": "2024-01-09 16:48:01.580550", "rc": 0, "start": "2024-01-09 16:48:00.575952" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:48:01 +0000 (0:00:01.144) 0:00:31.463 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.022) 0:00:31.485 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.042) 0:00:31.527 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.043) 0:00:31.571 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.033) 0:00:31.605 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.037) 0:00:31.642 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.025) 0:00:31.667 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.020) 0:00:31.687 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.020) 0:00:31.708 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:02 +0000 (0:00:00.806) 0:00:32.515 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.732) 0:00:33.247 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.021) 0:00:33.269 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.020) 0:00:33.289 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.019) 0:00:33.309 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.042) 0:00:33.351 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.019) 0:00:33.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.019) 0:00:33.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.023) 0:00:33.414 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.245) 0:00:33.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.024) 0:00:33.684 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.021) 0:00:33.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.021) 0:00:33.727 ******* 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, 9ffd463f-29c5-410c-a6c5-0bd8138d699f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.341) 0:00:34.068 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.021) 0:00:34.089 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ffd463f-29c5-410c-a6c5-0bd8138d699f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.046) 0:00:34.135 ******* 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, 9ffd463f-29c5-410c-a6c5-0bd8138d699f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ffd463f-29c5-410c-a6c5-0bd8138d699f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.024) 0:00:34.160 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.022) 0:00:34.183 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.139) 0:00:34.323 ******* 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, 9ffd463f-29c5-410c-a6c5-0bd8138d699f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9ffd463f-29c5-410c-a6c5-0bd8138d699f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.022) 0:00:34.345 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.033) 0:00:34.379 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.038) 0:00:34.417 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.025) 0:00:34.443 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.020) 0:00:34.463 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.021) 0:00:34.485 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.802) 0:00:35.287 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.679) 0:00:35.967 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.022) 0:00:35.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.020) 0:00:36.010 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.020) 0:00:36.031 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.043) 0:00:36.075 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.023) 0:00:36.098 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.021) 0:00:36.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.022) 0:00:36.143 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.237) 0:00:36.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.025) 0:00:36.406 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.020) 0:00:36.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.019) 0:00:36.446 ******* 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, 9ffd463f-29c5-410c-a6c5-0bd8138d699f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.359) 0:00:36.806 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.025) 0:00:36.832 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ffd463f-29c5-410c-a6c5-0bd8138d699f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.023) 0:00:36.855 ******* 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, 9ffd463f-29c5-410c-a6c5-0bd8138d699f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9ffd463f-29c5-410c-a6c5-0bd8138d699f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.022) 0:00:36.877 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.020) 0:00:36.897 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.140) 0:00:37.038 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.045) 0:00:37.083 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.043) 0:00:37.126 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.027) 0:00:37.154 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.020) 0:00:37.175 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.020) 0:00:37.196 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.801) 0:00:37.997 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.697) 0:00:38.695 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.028) 0:00:38.724 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.037) 0:00:38.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.043) 0:00:38.806 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.075) 0:00:38.881 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.022) 0:00:38.903 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.021) 0:00:38.925 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.028) 0:00:38.953 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.239) 0:00:39.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.024) 0:00:39.217 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.020) 0:00:39.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.020) 0:00:39.259 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.375) 0:00:39.635 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.026) 0:00:39.661 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.022) 0:00:39.684 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.023) 0:00:39.708 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.021) 0:00:39.729 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.166) 0:00:39.895 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.042) 0:00:39.938 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.052) 0:00:39.991 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.054) 0:00:40.045 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.027) 0:00:40.073 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.020) 0:00:40.094 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.020) 0:00:40.115 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.762) 0:00:40.878 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.665) 0:00:41.544 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.031) 0:00:41.575 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.028) 0:00:41.604 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.023) 0:00:41.627 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.043) 0:00:41.671 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.022) 0:00:41.693 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.022) 0:00:41.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.026) 0:00:41.743 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.232) 0:00:41.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.025) 0:00:42.000 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.020) 0:00:42.021 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.043) 0:00:42.065 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.377) 0:00:42.443 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.021) 0:00:42.465 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.022) 0:00:42.487 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.021) 0:00:42.509 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.020) 0:00:42.530 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.144) 0:00:42.675 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.039) 0:00:42.714 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.036) 0:00:42.751 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.022) 0:00:42.773 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.164) 0:00:42.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.025) 0:00:42.963 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024676", "end": "2024-01-09 16:48:13.245237", "rc": 1, "start": "2024-01-09 16:48:13.220561" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.162) 0:00:43.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.029) 0:00:43.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.057) 0:00:43.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.023) 0:00:43.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.022) 0:00:43.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.023) 0:00:43.282 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.023) 0:00:43.306 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.045) 0:00:43.351 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.074) 0:00:43.426 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.147) 0:00:43.574 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.025) 0:00:43.599 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.023) 0:00:43.623 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.040) 0:00:43.663 ******* 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.048576", "end": "2024-01-09 16:48:13.967914", "rc": 1, "start": "2024-01-09 16:48:13.919338" } 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_typeof58zhgg/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.186) 0:00:43.849 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.036) 0:00:43.886 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.053) 0:00:43.939 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.045) 0:00:43.985 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.040) 0:00:44.026 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.035) 0:00:44.061 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003849", "end": "2024-01-09 16:48:14.324260", "rc": 0, "start": "2024-01-09 16:48:14.320411" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.143) 0:00:44.205 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.021) 0:00:44.227 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.021) 0:00:44.249 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.041) 0:00:44.291 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.035) 0:00:44.326 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.039) 0:00:44.366 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.025) 0:00:44.391 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.022) 0:00:44.414 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.021) 0:00:44.435 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.815) 0:00:45.251 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.664) 0:00:45.915 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.021) 0:00:45.937 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.020) 0:00:45.957 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.020) 0:00:45.978 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.042) 0:00:46.020 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.020) 0:00:46.040 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.019) 0:00:46.060 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.024) 0:00:46.084 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.260) 0:00:46.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.026) 0:00:46.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.020) 0:00:46.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.021) 0:00:46.413 ******* 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, d1754018-16b2-4a68-aaf6-48e2a53bed92 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.343) 0:00:46.757 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.022) 0:00:46.780 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1754018-16b2-4a68-aaf6-48e2a53bed92" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.023) 0:00:46.803 ******* 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, d1754018-16b2-4a68-aaf6-48e2a53bed92\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1754018-16b2-4a68-aaf6-48e2a53bed92" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.023) 0:00:46.826 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.020) 0:00:46.847 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.138) 0:00:46.986 ******* 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, d1754018-16b2-4a68-aaf6-48e2a53bed92\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1754018-16b2-4a68-aaf6-48e2a53bed92" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.027) 0:00:47.013 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.036) 0:00:47.049 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.053) 0:00:47.103 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.027) 0:00:47.130 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.062) 0:00:47.192 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.034) 0:00:47.227 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.784) 0:00:48.011 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.653) 0:00:48.665 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.020) 0:00:48.686 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.023) 0:00:48.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.019) 0:00:48.729 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.042) 0:00:48.771 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.020) 0:00:48.792 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.020) 0:00:48.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.046) 0:00:48.859 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.231) 0:00:49.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.024) 0:00:49.115 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.022) 0:00:49.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.020) 0:00:49.159 ******* 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, d1754018-16b2-4a68-aaf6-48e2a53bed92 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.289) 0:00:49.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.021) 0:00:49.470 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1754018-16b2-4a68-aaf6-48e2a53bed92 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.022) 0:00:49.492 ******* 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, d1754018-16b2-4a68-aaf6-48e2a53bed92 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1754018-16b2-4a68-aaf6-48e2a53bed92 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.021) 0:00:49.514 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.021) 0:00:49.535 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.137) 0:00:49.673 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.034) 0:00:49.708 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.037) 0:00:49.746 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.027) 0:00:49.774 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.050) 0:00:49.824 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.022) 0:00:49.847 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.764) 0:00:50.611 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.659) 0:00:51.271 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.023) 0:00:51.294 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.022) 0:00:51.317 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.021) 0:00:51.338 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.044) 0:00:51.383 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.020) 0:00:51.404 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.028) 0:00:51.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.057) 0:00:51.490 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.238) 0:00:51.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.026) 0:00:51.755 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.020) 0:00:51.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.019) 0:00:51.795 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.390) 0:00:52.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.021) 0:00:52.207 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.021) 0:00:52.229 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.022) 0:00:52.251 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.019) 0:00:52.271 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.135) 0:00:52.406 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.039) 0:00:52.445 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.034) 0:00:52.480 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.066) 0:00:52.546 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.026) 0:00:52.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.020) 0:00:52.594 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.022) 0:00:52.616 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.772) 0:00:53.388 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.657) 0:00:54.046 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.022) 0:00:54.069 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.027) 0:00:54.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.022) 0:00:54.119 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.071) 0:00:54.190 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.021) 0:00:54.212 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.020) 0:00:54.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.022) 0:00:54.254 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.234) 0:00:54.489 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.024) 0:00:54.513 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.020) 0:00:54.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.019) 0:00:54.553 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.307) 0:00:54.860 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.022) 0:00:54.883 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.023) 0:00:54.907 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.026) 0:00:54.933 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.032) 0:00:54.965 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.137) 0:00:55.103 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.043) 0:00:55.147 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.073) 0:00:55.220 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.021) 0:00:55.241 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.135) 0:00:55.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.019) 0:00:55.396 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021053", "end": "2024-01-09 16:48:25.671521", "rc": 1, "start": "2024-01-09 16:48:25.650468" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.153) 0:00:55.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.023) 0:00:55.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.023) 0:00:55.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.023) 0:00:55.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.023) 0:00:55.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.027) 0:00:55.672 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.026) 0:00:55.698 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.414876", "end": "2024-01-09 16:48:26.370139", "rc": 0, "start": "2024-01-09 16:48:25.955263" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.554) 0:00:56.252 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.021) 0:00:56.273 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.021) 0:00:56.295 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.075) 0:00:56.371 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.037) 0:00:56.408 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.136) 0:00:56.545 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.025) 0:00:56.570 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.023) 0:00:56.594 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.044) 0:00:56.638 ******* 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.047590", "end": "2024-01-09 16:48:26.940526", "rc": 1, "start": "2024-01-09 16:48:26.892936" } 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 16:48:26 +0000 (0:00:00.170) 0:00:56.809 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.88s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.40s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.25s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.08s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.97s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/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. ---^---^---^---^---^---