# 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_type76gtcf1q/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/tests_states_nm.yml:6 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.027) 0:00:00.027 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/tests_states_nm.yml:9 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.614) 0:00:00.641 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.038) 0:00:00.680 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.230) 0:00:00.910 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.207) 0:00:01.118 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.024) 0:00:01.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.017) 0:00:01.160 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.038) 0:00:01.199 ****** 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_type76gtcf1q/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.207) 0:00:01.407 ****** 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_type76gtcf1q/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.486) 0:00:01.894 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.198849", "end": "2024-01-11 00:24:06.096591", "rc": 0, "start": "2024-01-11 00:24:05.897742" } 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_type76gtcf1q/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.332) 0:00:02.226 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.012) 0:00:02.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tests_states_nm.yml:11 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.011) 0:00:02.250 ****** 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_type76gtcf1q/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.009) 0:00:02.260 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.402) 0:00:02.662 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.009) 0:00:02.672 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.015) 0:00:02.687 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.010) 0:00:02.697 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.030) 0:00:02.728 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.013) 0:00:02.742 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.012) 0:00:02.754 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004731", "end": "2024-01-11 00:24:07.751561", "rc": 0, "start": "2024-01-11 00:24:06.746830" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:07 +0000 (0:00:01.127) 0:00:03.881 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.010) 0:00:03.892 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.010) 0:00:03.903 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.019) 0:00:03.923 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011038", "end": "2024-01-11 00:24:07.964691", "rc": 1, "start": "2024-01-11 00:24:07.953653" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.173) 0:00:04.096 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.037) 0:00:04.133 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.128) 0:00:04.262 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.012) 0:00:04.274 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.020) 0:00:04.294 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.034) 0:00:04.329 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.071) 0:00:04.400 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.017) 0:00:04.418 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.010) 0:00:04.429 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.017) 0:00:04.446 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.842) 0:00:05.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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.905) 0:00:06.194 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.052) 0:00:06.247 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.029) 0:00:06.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.024) 0:00:06.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.055) 0:00:06.356 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.024) 0:00:06.381 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.039) 0:00:06.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.033) 0:00:06.454 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.434) 0:00:06.888 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.026) 0:00:06.915 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.023) 0:00:06.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.019) 0:00:06.959 ****** 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, e148d623-bae7-463a-89ee-14a521acedf5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.442) 0:00:07.401 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.036) 0:00:07.438 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e148d623-bae7-463a-89ee-14a521acedf5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.034) 0:00:07.472 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e148d623-bae7-463a-89ee-14a521acedf5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e148d623-bae7-463a-89ee-14a521acedf5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.056) 0:00:07.528 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.028) 0:00:07.557 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.187) 0:00:07.744 ****** 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, e148d623-bae7-463a-89ee-14a521acedf5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e148d623-bae7-463a-89ee-14a521acedf5" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.022) 0:00:07.766 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.037) 0:00:07.804 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.036) 0:00:07.841 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.021) 0:00:07.862 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932651.1943061, "block_size": 4096, "blocks": 8, "ctime": 1704932651.1933062, "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": 1704932651.1933062, "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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.144) 0:00:08.007 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.024) 0:00:08.031 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023675", "end": "2024-01-11 00:24:12.049811", "rc": 0, "start": "2024-01-11 00:24:12.026136" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.160) 0:00:08.192 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.027) 0:00:08.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.029) 0:00:08.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.022) 0:00:08.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.022) 0:00:08.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.022) 0:00:08.316 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.041) 0:00:08.357 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.023) 0:00:08.381 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.025) 0:00:08.406 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.048) 0:00:08.454 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.038) 0:00:08.493 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932651.2093062, "block_size": 4096, "blocks": 0, "ctime": 1704932651.1963062, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17488, "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": 1704932651.1963062, "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_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.141) 0:00:08.634 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.030) 0:00:08.665 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.026) 0:00:08.692 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.039) 0:00:08.732 ****** 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.083077", "end": "2024-01-11 00:24:12.812144", "rc": 1, "start": "2024-01-11 00:24:12.729067" } STDOUT: Connection 'statebr' (e148d623-bae7-463a-89ee-14a521acedf5) successfully deleted. STDERR: (process:28183): GLib-GIO-WARNING **: 00:24:12.789: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/30 but no object proxy exists (process:28183): GLib-GIO-WARNING **: 00:24:12.791: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/83 but no object proxy exists (process:28183): GLib-GIO-WARNING **: 00:24:12.791: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/50 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_type76gtcf1q/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.220) 0:00:08.952 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.048) 0:00:09.001 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.024) 0:00:09.026 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.048) 0:00:09.074 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.066) 0:00:09.141 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.038) 0:00:09.179 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-01-11 00:24:13.187294", "rc": 0, "start": "2024-01-11 00:24:13.183774" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.148) 0:00:09.328 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.020) 0:00:09.349 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.021) 0:00:09.370 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.046) 0:00:09.417 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007422", "end": "2024-01-11 00:24:13.422322", "rc": 1, "start": "2024-01-11 00:24:13.414900" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.156) 0:00:09.574 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.035) 0:00:09.609 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.135) 0:00:09.744 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.025) 0:00:09.769 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.052) 0:00:09.822 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.076) 0:00:09.898 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.042) 0:00:09.941 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.041) 0:00:09.982 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.036) 0:00:10.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.038) 0:00:10.057 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.793) 0:00:10.851 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.678) 0:00:11.529 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.020) 0:00:11.550 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.019) 0:00:11.570 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.042) 0:00:11.612 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.051) 0:00:11.663 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.031) 0:00:11.695 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.035) 0:00:11.731 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.030) 0:00:11.762 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.248) 0:00:12.010 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.039) 0:00:12.050 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.029) 0:00:12.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.019) 0:00:12.099 ****** 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, 3091a6cb-3d43-4a7a-8e49-090d79cf416e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.295) 0:00:12.395 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.021) 0:00:12.417 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3091a6cb-3d43-4a7a-8e49-090d79cf416e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.026) 0:00:12.443 ****** 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, 3091a6cb-3d43-4a7a-8e49-090d79cf416e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3091a6cb-3d43-4a7a-8e49-090d79cf416e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.035) 0:00:12.478 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.030) 0:00:12.509 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.134) 0:00:12.643 ****** 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, 3091a6cb-3d43-4a7a-8e49-090d79cf416e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3091a6cb-3d43-4a7a-8e49-090d79cf416e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.028) 0:00:12.672 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.095) 0:00:12.767 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.047) 0:00:12.814 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.149) 0:00:12.964 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.023) 0:00:12.988 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.035) 0:00:13.023 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.022) 0:00:13.046 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932656.2373147, "block_size": 4096, "blocks": 8, "ctime": 1704932656.2373147, "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": 1704932656.2373147, "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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.143) 0:00:13.190 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.023) 0:00:13.214 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022415", "end": "2024-01-11 00:24:17.252403", "rc": 0, "start": "2024-01-11 00:24:17.229988" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.178) 0:00:13.392 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.022) 0:00:13.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.021) 0:00:13.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.024) 0:00:13.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.034) 0:00:13.495 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.068) 0:00:13.563 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.083) 0:00:13.647 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.028) 0:00:13.676 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.037) 0:00:13.713 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.024) 0:00:13.738 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.026) 0:00:13.764 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.082) 0:00:13.846 ****** 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.048673", "end": "2024-01-11 00:24:17.897016", "rc": 1, "start": "2024-01-11 00:24:17.848343" } STDOUT: Connection 'statebr' (3091a6cb-3d43-4a7a-8e49-090d79cf416e) 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_type76gtcf1q/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.190) 0:00:14.037 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.036) 0:00:14.074 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.021) 0:00:14.095 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.048) 0:00:14.144 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.033) 0:00:14.177 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.034) 0:00:14.211 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003619", "end": "2024-01-11 00:24:18.212558", "rc": 0, "start": "2024-01-11 00:24:18.208939" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.141) 0:00:14.352 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.021) 0:00:14.374 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.046) 0:00:14.420 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.037) 0:00:14.458 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.041) 0:00:14.500 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.044) 0:00:14.544 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.025) 0:00:14.570 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.025) 0:00:14.595 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.031) 0:00:14.627 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.777) 0:00:15.404 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.668) 0:00:16.073 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.020) 0:00:16.093 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.019) 0:00:16.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.018) 0:00:16.132 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.041) 0:00:16.174 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.021) 0:00:16.195 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.021) 0:00:16.217 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.031) 0:00:16.248 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.242) 0:00:16.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.023) 0:00:16.515 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.019) 0:00:16.535 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.019) 0:00:16.554 ****** 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, 04dda8b1-a52d-4006-8e4b-1fd8267e6184 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.336) 0:00:16.890 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.019) 0:00:16.910 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04dda8b1-a52d-4006-8e4b-1fd8267e6184" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.021) 0:00:16.931 ****** 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, 04dda8b1-a52d-4006-8e4b-1fd8267e6184\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04dda8b1-a52d-4006-8e4b-1fd8267e6184" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.022) 0:00:16.953 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.046) 0:00:16.999 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.156) 0:00:17.156 ****** 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, 04dda8b1-a52d-4006-8e4b-1fd8267e6184\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04dda8b1-a52d-4006-8e4b-1fd8267e6184" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.041) 0:00:17.197 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.039) 0:00:17.237 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.041) 0:00:17.278 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.040) 0:00:17.319 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.029) 0:00:17.349 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.027) 0:00:17.377 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.048) 0:00:17.425 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.803) 0:00:18.229 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.664) 0:00:18.894 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.020) 0:00:18.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.020) 0:00:18.935 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.021) 0:00:18.956 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.042) 0:00:18.999 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.019) 0:00:19.019 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.021) 0:00:19.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.024) 0:00:19.065 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.230) 0:00:19.295 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.023) 0:00:19.319 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.020) 0:00:19.339 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.021) 0:00:19.360 ****** 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, 04dda8b1-a52d-4006-8e4b-1fd8267e6184 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.311) 0:00:19.672 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.043) 0:00:19.715 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04dda8b1-a52d-4006-8e4b-1fd8267e6184 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.022) 0:00:19.737 ****** 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, 04dda8b1-a52d-4006-8e4b-1fd8267e6184 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04dda8b1-a52d-4006-8e4b-1fd8267e6184 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.020) 0:00:19.758 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.020) 0:00:19.778 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.138) 0:00:19.916 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.039) 0:00:19.956 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.032) 0:00:19.989 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932660.7003226, "block_size": 4096, "blocks": 0, "ctime": 1704932660.6913226, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17488, "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": 1704932660.6913226, "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_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.153) 0:00:20.142 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.046) 0:00:20.189 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.046) 0:00:20.236 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.021) 0:00:20.257 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932660.7553227, "block_size": 4096, "blocks": 8, "ctime": 1704932660.6893227, "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": 1704932660.6893227, "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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.150) 0:00:20.407 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.032) 0:00:20.440 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023299", "end": "2024-01-11 00:24:24.459853", "rc": 0, "start": "2024-01-11 00:24:24.436554" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.182) 0:00:20.623 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.023) 0:00:20.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.023) 0:00:20.669 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.029) 0:00:20.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.023) 0:00:20.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.024) 0:00:20.746 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.037) 0:00:20.784 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.024) 0:00:20.808 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.021) 0:00:20.830 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.019) 0:00:20.849 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.020) 0:00:20.870 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.037) 0:00:20.907 ****** 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.080718", "end": "2024-01-11 00:24:24.984670", "rc": 1, "start": "2024-01-11 00:24:24.903952" } STDOUT: Connection 'statebr' (04dda8b1-a52d-4006-8e4b-1fd8267e6184) successfully deleted. STDERR: (process:28949): GLib-GIO-WARNING **: 00:24:24.962: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/31 but no object proxy exists (process:28949): GLib-GIO-WARNING **: 00:24:24.963: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/85 but no object proxy exists (process:28949): GLib-GIO-WARNING **: 00:24:24.963: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/51 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_type76gtcf1q/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.224) 0:00:21.132 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.035) 0:00:21.167 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.022) 0:00:21.190 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.042) 0:00:21.233 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.061) 0:00:21.295 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.034) 0:00:21.329 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-01-11 00:24:25.328123", "rc": 0, "start": "2024-01-11 00:24:25.324417" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.140) 0:00:21.469 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.022) 0:00:21.492 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.024) 0:00:21.516 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.047) 0:00:21.564 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.050) 0:00:21.614 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.054) 0:00:21.669 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.033) 0:00:21.703 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.035) 0:00:21.739 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.040) 0:00:21.780 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:26 +0000 (0:00:00.821) 0:00:22.601 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.654) 0:00:23.255 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.024) 0:00:23.280 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.024) 0:00:23.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.020) 0:00:23.325 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.043) 0:00:23.368 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.021) 0:00:23.389 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.020) 0:00:23.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.030) 0:00:23.440 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.260) 0:00:23.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.031) 0:00:23.731 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.021) 0:00:23.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.040) 0:00:23.794 ****** 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, 0e0d7b05-68aa-4277-9c66-638848b7158a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.409) 0:00:24.203 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.021) 0:00:24.225 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0e0d7b05-68aa-4277-9c66-638848b7158a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.023) 0:00:24.248 ****** 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, 0e0d7b05-68aa-4277-9c66-638848b7158a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0e0d7b05-68aa-4277-9c66-638848b7158a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.025) 0:00:24.274 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.032) 0:00:24.306 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.143) 0:00:24.450 ****** 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, 0e0d7b05-68aa-4277-9c66-638848b7158a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0e0d7b05-68aa-4277-9c66-638848b7158a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.021) 0:00:24.471 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.033) 0:00:24.505 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.039) 0:00:24.545 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.025) 0:00:24.570 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.020) 0:00:24.590 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.019) 0:00:24.610 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.793) 0:00:25.404 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.678) 0:00:26.082 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.038) 0:00:26.120 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.037) 0:00:26.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.027) 0:00:26.185 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.081) 0:00:26.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.028) 0:00:26.295 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.022) 0:00:26.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.024) 0:00:26.343 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.233) 0:00:26.576 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.031) 0:00:26.608 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.038) 0:00:26.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.022) 0:00:26.669 ****** 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, 0e0d7b05-68aa-4277-9c66-638848b7158a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.375) 0:00:27.045 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.023) 0:00:27.068 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0e0d7b05-68aa-4277-9c66-638848b7158a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.021) 0:00:27.090 ****** 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, 0e0d7b05-68aa-4277-9c66-638848b7158a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0e0d7b05-68aa-4277-9c66-638848b7158a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.021) 0:00:27.111 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.019) 0:00:27.130 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.128) 0:00:27.259 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.038) 0:00:27.297 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.037) 0:00:27.335 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.037) 0:00:27.372 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.023) 0:00:27.396 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.018) 0:00:27.415 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.019) 0:00:27.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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.749) 0:00:28.184 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.659) 0:00:28.844 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.022) 0:00:28.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.030) 0:00:28.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.022) 0:00:28.919 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.044) 0:00:28.964 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.021) 0:00:28.985 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.019) 0:00:29.005 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.023) 0:00:29.028 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.231) 0:00:29.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.038) 0:00:29.298 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.022) 0:00:29.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.077) 0:00:29.397 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.334) 0:00:29.732 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.026) 0:00:29.758 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.067) 0:00:29.825 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.023) 0:00:29.848 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.027) 0:00:29.876 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.139) 0:00:30.015 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.064) 0:00:30.080 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.041) 0:00:30.122 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932668.0073357, "block_size": 4096, "blocks": 0, "ctime": 1704932668.0063357, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1704932668.0063357, "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_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.142) 0:00:30.265 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.024) 0:00:30.290 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.036) 0:00:30.326 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.023) 0:00:30.349 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.147) 0:00:30.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.047) 0:00:30.544 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023573", "end": "2024-01-11 00:24:34.589283", "rc": 1, "start": "2024-01-11 00:24:34.565710" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.185) 0:00:30.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.020) 0:00:30.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.023) 0:00:30.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.022) 0:00:30.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.021) 0:00:30.819 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.022) 0:00:30.841 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.021) 0:00:30.863 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.019) 0:00:30.883 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.022) 0:00:30.906 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.037) 0:00:30.943 ****** 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.083045", "end": "2024-01-11 00:24:35.021269", "rc": 1, "start": "2024-01-11 00:24:34.938224" } STDOUT: Connection 'statebr' (0e0d7b05-68aa-4277-9c66-638848b7158a) successfully deleted. STDERR: (process:29618): GLib-GIO-WARNING **: 00:24:34.999: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 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_type76gtcf1q/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.216) 0:00:31.160 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.036) 0:00:31.197 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.021) 0:00:31.218 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.042) 0:00:31.260 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.059) 0:00:31.319 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.042) 0:00:31.361 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003584", "end": "2024-01-11 00:24:35.361525", "rc": 0, "start": "2024-01-11 00:24:35.357941" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.159) 0:00:31.521 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.026) 0:00:31.548 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.021) 0:00:31.569 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.043) 0:00:31.613 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.038) 0:00:31.651 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.053) 0:00:31.704 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.066) 0:00:31.771 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.041) 0:00:31.812 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.022) 0:00:31.835 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.774) 0:00:32.609 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.668) 0:00:33.278 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.021) 0:00:33.300 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.020) 0:00:33.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.020) 0:00:33.341 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.046) 0:00:33.388 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.021) 0:00:33.410 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.022) 0:00:33.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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.025) 0:00:33.457 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.228) 0:00:33.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.026) 0:00:33.712 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.026) 0:00:33.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.057) 0:00:33.796 ****** 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, dc4804ae-f855-4b4d-94f4-f8db65c6324c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.345) 0:00:34.141 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.021) 0:00:34.162 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc4804ae-f855-4b4d-94f4-f8db65c6324c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.021) 0:00:34.184 ****** 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, dc4804ae-f855-4b4d-94f4-f8db65c6324c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc4804ae-f855-4b4d-94f4-f8db65c6324c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.022) 0:00:34.206 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.019) 0:00:34.226 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.129) 0:00:34.356 ****** 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, dc4804ae-f855-4b4d-94f4-f8db65c6324c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc4804ae-f855-4b4d-94f4-f8db65c6324c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.028) 0:00:34.385 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.038) 0:00:34.423 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.039) 0:00:34.463 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.026) 0:00:34.489 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.033) 0:00:34.522 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.028) 0:00:34.551 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.786) 0:00:35.337 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.650) 0:00:35.987 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.022) 0:00:36.010 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.023) 0:00:36.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.031) 0:00:36.066 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.042) 0:00:36.108 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.019) 0:00:36.128 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.019) 0:00:36.147 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.023) 0:00:36.170 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.230) 0:00:36.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.024) 0:00:36.426 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.020) 0:00:36.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.043) 0:00:36.489 ****** 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, dc4804ae-f855-4b4d-94f4-f8db65c6324c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.312) 0:00:36.802 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.023) 0:00:36.825 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dc4804ae-f855-4b4d-94f4-f8db65c6324c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.023) 0:00:36.849 ****** 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, dc4804ae-f855-4b4d-94f4-f8db65c6324c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dc4804ae-f855-4b4d-94f4-f8db65c6324c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.024) 0:00:36.874 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.021) 0:00:36.895 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.131) 0:00:37.026 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.034) 0:00:37.060 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.037) 0:00:37.098 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.023) 0:00:37.122 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.019) 0:00:37.141 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.020) 0:00:37.162 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.804) 0:00:37.966 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.648) 0:00:38.614 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.030) 0:00:38.645 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.033) 0:00:38.678 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.021) 0:00:38.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.050) 0:00:38.750 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.023) 0:00:38.773 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.024) 0:00:38.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.025) 0:00:38.823 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.238) 0:00:39.062 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.037) 0:00:39.100 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.022) 0:00:39.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.023) 0:00:39.146 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.364) 0:00:39.510 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.038) 0:00:39.548 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.022) 0:00:39.571 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.022) 0:00:39.593 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.020) 0:00:39.614 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.138) 0:00:39.752 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.068) 0:00:39.821 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.065) 0:00:39.886 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.051) 0:00:39.937 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.030) 0:00:39.968 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.021) 0:00:39.990 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.024) 0:00:40.014 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:44 +0000 (0:00:00.753) 0:00:40.768 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.638) 0:00:41.406 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.021) 0:00:41.427 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.019) 0:00:41.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.019) 0:00:41.466 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.041) 0:00:41.507 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.019) 0:00:41.527 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.019) 0:00:41.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.022) 0:00:41.569 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.227) 0:00:41.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.025) 0:00:41.822 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.021) 0:00:41.843 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.048) 0:00:41.892 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.378) 0:00:42.271 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.021) 0:00:42.292 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.020) 0:00:42.312 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.021) 0:00:42.334 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.021) 0:00:42.356 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.130) 0:00:42.486 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.040) 0:00:42.526 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.035) 0:00:42.562 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.022) 0:00:42.585 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.133) 0:00:42.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.019) 0:00:42.738 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022301", "end": "2024-01-11 00:24:46.755606", "rc": 1, "start": "2024-01-11 00:24:46.733305" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.158) 0:00:42.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.034) 0:00:42.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.057) 0:00:42.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.048) 0:00:43.036 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.036) 0:00:43.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.049) 0:00:43.122 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.055) 0:00:43.177 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.066) 0:00:43.243 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.062) 0:00:43.306 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.165) 0:00:43.471 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.029) 0:00:43.500 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.022) 0:00:43.522 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.039) 0:00:43.561 ****** 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.045957", "end": "2024-01-11 00:24:47.604504", "rc": 1, "start": "2024-01-11 00:24:47.558547" } 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_type76gtcf1q/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.185) 0:00:43.747 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.052) 0:00:43.800 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.056) 0:00:43.857 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.043) 0:00:43.900 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.032) 0:00:43.933 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.033) 0:00:43.967 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003643", "end": "2024-01-11 00:24:47.967029", "rc": 0, "start": "2024-01-11 00:24:47.963386" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.140) 0:00:44.107 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.032) 0:00:44.140 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.032) 0:00:44.172 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.057) 0:00:44.230 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.055) 0:00:44.285 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.041) 0:00:44.327 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.045) 0:00:44.372 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.021) 0:00:44.394 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.020) 0:00:44.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.798) 0:00:45.213 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.652) 0:00:45.865 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.020) 0:00:45.886 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.019) 0:00:45.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.020) 0:00:45.927 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.042) 0:00:45.970 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.021) 0:00:45.991 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.020) 0:00:46.011 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.028) 0:00:46.040 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.267) 0:00:46.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.025) 0:00:46.332 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.022) 0:00:46.355 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.021) 0:00:46.377 ****** 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, 3856742c-b173-4042-b33b-70a376b9eea2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.341) 0:00:46.718 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.019) 0:00:46.738 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3856742c-b173-4042-b33b-70a376b9eea2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.021) 0:00:46.759 ****** 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, 3856742c-b173-4042-b33b-70a376b9eea2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3856742c-b173-4042-b33b-70a376b9eea2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.022) 0:00:46.781 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.019) 0:00:46.801 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.133) 0:00:46.935 ****** 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, 3856742c-b173-4042-b33b-70a376b9eea2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3856742c-b173-4042-b33b-70a376b9eea2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.021) 0:00:46.957 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.033) 0:00:46.990 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.038) 0:00:47.029 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.029) 0:00:47.058 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.022) 0:00:47.081 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:51 +0000 (0:00:00.045) 0:00:47.127 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:51 +0000 (0:00:00.765) 0:00:47.892 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.663) 0:00:48.556 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.023) 0:00:48.579 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.021) 0:00:48.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.021) 0:00:48.622 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.042) 0:00:48.664 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.021) 0:00:48.686 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.022) 0:00:48.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.023) 0:00:48.731 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.287) 0:00:49.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.033) 0:00:49.052 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.022) 0:00:49.075 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.020) 0:00:49.095 ****** 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, 3856742c-b173-4042-b33b-70a376b9eea2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.287) 0:00:49.382 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.035) 0:00:49.418 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3856742c-b173-4042-b33b-70a376b9eea2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.027) 0:00:49.445 ****** 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, 3856742c-b173-4042-b33b-70a376b9eea2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3856742c-b173-4042-b33b-70a376b9eea2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.025) 0:00:49.471 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.022) 0:00:49.493 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.132) 0:00:49.625 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.035) 0:00:49.661 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.046) 0:00:49.707 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.025) 0:00:49.733 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.030) 0:00:49.763 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.029) 0:00:49.793 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.867) 0:00:50.660 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.668) 0:00:51.328 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.020) 0:00:51.349 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.021) 0:00:51.371 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.021) 0:00:51.392 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.044) 0:00:51.436 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.020) 0:00:51.457 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.019) 0:00:51.476 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.023) 0:00:51.500 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.249) 0:00:51.749 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.024) 0:00:51.773 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.021) 0:00:51.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.020) 0:00:51.815 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.384) 0:00:52.199 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.020) 0:00:52.220 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.022) 0:00:52.242 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.022) 0:00:52.264 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.019) 0:00:52.283 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.128) 0:00:52.412 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.037) 0:00:52.450 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.033) 0:00:52.483 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.036) 0:00:52.520 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.055) 0:00:52.575 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.021) 0:00:52.597 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.022) 0:00:52.620 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.770) 0:00:53.390 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.646) 0:00:54.036 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.047) 0:00:54.083 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.027) 0:00:54.111 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.039) 0:00:54.150 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.063) 0:00:54.213 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.049) 0:00:54.262 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.030) 0:00:54.292 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.048) 0:00:54.341 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.233) 0:00:54.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.025) 0:00:54.599 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.022) 0:00:54.622 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.022) 0:00:54.645 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.308) 0:00:54.954 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.020) 0:00:54.974 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.020) 0:00:54.994 ****** 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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.021) 0:00:55.016 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:58 +0000 (0:00:00.019) 0:00:55.035 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.134) 0:00:55.169 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.043) 0:00:55.213 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.036) 0:00:55.249 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.020) 0:00:55.270 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.160) 0:00:55.431 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.022) 0:00:55.453 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021049", "end": "2024-01-11 00:24:59.469486", "rc": 1, "start": "2024-01-11 00:24:59.448437" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.155) 0:00:55.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.020) 0:00:55.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.021) 0:00:55.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.020) 0:00:55.671 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.025) 0:00:55.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.030) 0:00:55.727 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:24:59 +0000 (0:00:00.026) 0:00:55.754 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.406082", "end": "2024-01-11 00:25:00.154997", "rc": 0, "start": "2024-01-11 00:24:59.748915" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.541) 0:00:56.295 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.021) 0:00:56.317 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.020) 0:00:56.337 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.040) 0:00:56.378 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.056) 0:00:56.434 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.138) 0:00:56.572 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.026) 0:00:56.599 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.021) 0:00:56.620 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.038) 0:00:56.658 ****** 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.043699", "end": "2024-01-11 00:25:00.695581", "rc": 1, "start": "2024-01-11 00:25:00.651882" } 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 Thursday 11 January 2024 00:25:00 +0000 (0:00:00.165) 0:00:56.824 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.88s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.43s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.29s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.07s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.98s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/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_type76gtcf1q/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_type76gtcf1q/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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/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_type76gtcf1q/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_type76gtcf1q/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_type76gtcf1q/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. ---^---^---^---^---^---