# 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_type4sn_hph9/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.514) 0:00:00.527 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.030) 0:00:00.557 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.261) 0:00:00.819 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.233) 0:00:01.053 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.045) 0:00:01.098 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.031) 0:00:01.130 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.039) 0:00:01.169 ******* 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_type4sn_hph9/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.209) 0:00:01.378 ******* 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_type4sn_hph9/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.567) 0:00:01.946 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178533", "end": "2024-01-09 19:54:36.920290", "rc": 0, "start": "2024-01-09 19:54:36.741757" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/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=stock&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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_type4sn_hph9/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.345) 0:00:02.292 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.011) 0:00:02.304 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.011) 0:00:02.316 ******* 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_type4sn_hph9/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.047) 0:00:02.364 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.455) 0:00:02.819 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.014) 0:00:02.833 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.051) 0:00:02.885 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.119) 0:00:03.005 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.047) 0:00:03.052 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.029) 0:00:03.082 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.022) 0:00:03.104 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005118", "end": "2024-01-09 19:54:38.932563", "rc": 0, "start": "2024-01-09 19:54:37.927445" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:38 +0000 (0:00:01.162) 0:00:04.266 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:38 +0000 (0:00:00.010) 0:00:04.277 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:38 +0000 (0:00:00.010) 0:00:04.288 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:54:38 +0000 (0:00:00.020) 0:00:04.308 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013281", "end": "2024-01-09 19:54:39.118019", "rc": 1, "start": "2024-01-09 19:54:39.104738" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.150) 0:00:04.459 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.030) 0:00:04.490 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.134) 0:00:04.624 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.016) 0:00:04.640 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.024) 0:00:04.665 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.034) 0:00:04.699 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.079) 0:00:04.779 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.055) 0:00:04.834 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.033) 0:00:04.868 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.022) 0:00:04.891 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.820) 0:00:05.712 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:41 +0000 (0:00:01.135) 0:00:06.847 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.085) 0:00:06.932 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.084) 0:00:07.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.038) 0:00:07.056 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.075) 0:00:07.131 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.029) 0:00:07.161 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.039) 0:00:07.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.028) 0:00:07.230 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.441) 0:00:07.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.044) 0:00:07.717 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.020) 0:00:07.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.031) 0:00:07.768 ******* 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, c8336efe-1a93-45d1-90f8-183c1c095df8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.490) 0:00:08.259 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.043) 0:00:08.302 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8336efe-1a93-45d1-90f8-183c1c095df8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.040) 0:00:08.343 ******* 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, c8336efe-1a93-45d1-90f8-183c1c095df8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8336efe-1a93-45d1-90f8-183c1c095df8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.024) 0:00:08.368 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.038) 0:00:08.407 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.445) 0:00:08.852 ******* 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, c8336efe-1a93-45d1-90f8-183c1c095df8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c8336efe-1a93-45d1-90f8-183c1c095df8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.034) 0:00:08.886 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.071) 0:00:08.958 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.072) 0:00:09.031 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.052) 0:00:09.083 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830082.925703, "block_size": 4096, "blocks": 8, "ctime": 1704830082.8447037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25433, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830082.8447037, "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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.171) 0:00:09.254 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.033) 0:00:09.288 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025520", "end": "2024-01-09 19:54:44.110514", "rc": 0, "start": "2024-01-09 19:54:44.084994" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.165) 0:00:09.454 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.031) 0:00:09.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.024) 0:00:09.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.021) 0:00:09.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.021) 0:00:09.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.022) 0:00:09.576 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.023) 0:00:09.599 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.039) 0:00:09.638 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.050) 0:00:09.689 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.064) 0:00:09.754 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.045) 0:00:09.799 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830082.8477037, "block_size": 4096, "blocks": 0, "ctime": 1704830082.8467038, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17628, "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": 1704830082.8467038, "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_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.164) 0:00:09.964 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.024) 0:00:09.988 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.021) 0:00:10.009 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.037) 0:00:10.047 ******* 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.082925", "end": "2024-01-09 19:54:44.922873", "rc": 1, "start": "2024-01-09 19:54:44.839948" } STDOUT: Connection 'statebr' (c8336efe-1a93-45d1-90f8-183c1c095df8) successfully deleted. STDERR: (process:32433): GLib-GIO-WARNING **: 19:54:44.901: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/59 but no object proxy exists (process:32433): GLib-GIO-WARNING **: 19:54:44.901: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/95 but no object proxy exists (process:32433): GLib-GIO-WARNING **: 19:54:44.901: 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_type4sn_hph9/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.218) 0:00:10.265 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.035) 0:00:10.301 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.021) 0:00:10.323 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.042) 0:00:10.365 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.033) 0:00:10.399 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.059) 0:00:10.459 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003867", "end": "2024-01-09 19:54:45.258804", "rc": 0, "start": "2024-01-09 19:54:45.254937" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.144) 0:00:10.603 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.026) 0:00:10.630 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.022) 0:00:10.653 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.044) 0:00:10.698 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007873", "end": "2024-01-09 19:54:45.497454", "rc": 1, "start": "2024-01-09 19:54:45.489581" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.140) 0:00:10.838 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.035) 0:00:10.874 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.145) 0:00:11.019 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.032) 0:00:11.051 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.053) 0:00:11.105 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.043) 0:00:11.148 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.078) 0:00:11.226 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.045) 0:00:11.272 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.035) 0:00:11.308 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.044) 0:00:11.352 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.745) 0:00:12.098 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.966) 0:00:13.064 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.023) 0:00:13.088 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.026) 0:00:13.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.023) 0:00:13.138 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.048) 0:00:13.187 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.022) 0:00:13.209 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.042) 0:00:13.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.025) 0:00:13.278 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.238) 0:00:13.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.042) 0:00:13.558 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.024) 0:00:13.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.029) 0:00:13.613 ******* 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, 6b724b37-62a4-4ac7-b792-c6c7f8415b70 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.341) 0:00:13.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.038) 0:00:13.993 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b724b37-62a4-4ac7-b792-c6c7f8415b70" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.047) 0:00:14.040 ******* 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, 6b724b37-62a4-4ac7-b792-c6c7f8415b70\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b724b37-62a4-4ac7-b792-c6c7f8415b70" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.036) 0:00:14.076 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.027) 0:00:14.104 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.179) 0:00:14.283 ******* 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, 6b724b37-62a4-4ac7-b792-c6c7f8415b70\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6b724b37-62a4-4ac7-b792-c6c7f8415b70" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.031) 0:00:14.315 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.045) 0:00:14.360 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.072) 0:00:14.433 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.139) 0:00:14.572 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.040) 0:00:14.613 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.037) 0:00:14.651 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.022) 0:00:14.673 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830088.579664, "block_size": 4096, "blocks": 8, "ctime": 1704830088.579664, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25433, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830088.579664, "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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.162) 0:00:14.836 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.076) 0:00:14.913 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022014", "end": "2024-01-09 19:54:49.772929", "rc": 0, "start": "2024-01-09 19:54:49.750915" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.202) 0:00:15.116 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.025) 0:00:15.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.033) 0:00:15.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.066) 0:00:15.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.065) 0:00:15.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.041) 0:00:15.347 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.044) 0:00:15.392 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.056) 0:00:15.448 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.022) 0:00:15.471 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.085) 0:00:15.557 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.074) 0:00:15.632 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.044) 0:00:15.677 ******* 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.050399", "end": "2024-01-09 19:54:50.557215", "rc": 1, "start": "2024-01-09 19:54:50.506816" } STDOUT: Connection 'statebr' (6b724b37-62a4-4ac7-b792-c6c7f8415b70) 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_type4sn_hph9/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.276) 0:00:15.953 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.058) 0:00:16.012 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.044) 0:00:16.057 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.044) 0:00:16.101 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.033) 0:00:16.135 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.034) 0:00:16.170 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004273", "end": "2024-01-09 19:54:50.973902", "rc": 0, "start": "2024-01-09 19:54:50.969629" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.170) 0:00:16.340 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.046) 0:00:16.386 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.042) 0:00:16.429 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.099) 0:00:16.529 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.065) 0:00:16.594 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.053) 0:00:16.648 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.032) 0:00:16.681 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.025) 0:00:16.706 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.027) 0:00:16.734 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.718) 0:00:17.452 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.974) 0:00:18.427 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.022) 0:00:18.449 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.044) 0:00:18.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.019) 0:00:18.514 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.041) 0:00:18.555 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.019) 0:00:18.574 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.020) 0:00:18.594 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.024) 0:00:18.619 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.250) 0:00:18.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.039) 0:00:18.909 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.061) 0:00:18.970 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.046) 0:00:19.017 ******* 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, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.358) 0:00:19.376 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.022) 0:00:19.398 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.023) 0:00:19.421 ******* 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, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.029) 0:00:19.450 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.021) 0:00:19.472 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.168) 0:00:19.640 ******* 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, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.040) 0:00:19.681 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.069) 0:00:19.751 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.040) 0:00:19.792 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.041) 0:00:19.834 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.029) 0:00:19.863 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.023) 0:00:19.887 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.026) 0:00:19.913 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.793) 0:00:20.707 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.949) 0:00:21.656 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.022) 0:00:21.679 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.020) 0:00:21.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.025) 0:00:21.725 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.041) 0:00:21.767 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.023) 0:00:21.790 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.029) 0:00:21.820 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.029) 0:00:21.849 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.235) 0:00:22.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.025) 0:00:22.110 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.023) 0:00:22.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.023) 0:00:22.156 ******* 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, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.288) 0:00:22.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.025) 0:00:22.470 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.033) 0:00:22.504 ******* 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, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b9cab4b8-305b-4b3a-8ea3-972f6fd0304a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.037) 0:00:22.542 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.026) 0:00:22.568 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.142) 0:00:22.711 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.040) 0:00:22.751 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.041) 0:00:22.793 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830093.9836266, "block_size": 4096, "blocks": 0, "ctime": 1704830093.9826264, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17628, "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": 1704830093.9826264, "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_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.138) 0:00:22.931 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.025) 0:00:22.956 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.040) 0:00:22.997 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.024) 0:00:23.021 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830094.0386262, "block_size": 4096, "blocks": 8, "ctime": 1704830093.9816265, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25433, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830093.9816265, "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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.168) 0:00:23.189 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.028) 0:00:23.218 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023466", "end": "2024-01-09 19:54:58.067667", "rc": 0, "start": "2024-01-09 19:54:58.044201" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.213) 0:00:23.432 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.026) 0:00:23.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.025) 0:00:23.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.034) 0:00:23.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.022) 0:00:23.542 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.074) 0:00:23.616 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.024) 0:00:23.641 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.027) 0:00:23.668 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.026) 0:00:23.695 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.020) 0:00:23.716 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.023) 0:00:23.739 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.040) 0:00:23.780 ******* 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.079027", "end": "2024-01-09 19:54:58.662694", "rc": 1, "start": "2024-01-09 19:54:58.583667" } STDOUT: Connection 'statebr' (b9cab4b8-305b-4b3a-8ea3-972f6fd0304a) successfully deleted. STDERR: (process:707): GLib-GIO-WARNING **: 19:54:58.640: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/60 but no object proxy exists (process:707): GLib-GIO-WARNING **: 19:54:58.640: 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_type4sn_hph9/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.238) 0:00:24.019 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.038) 0:00:24.057 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.033) 0:00:24.090 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.082) 0:00:24.173 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.063) 0:00:24.236 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.033) 0:00:24.270 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005057", "end": "2024-01-09 19:55:00.067649", "rc": 0, "start": "2024-01-09 19:54:59.062592" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:00 +0000 (0:00:01.142) 0:00:25.412 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.028) 0:00:25.440 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.022) 0:00:25.463 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.040) 0:00:25.503 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.038) 0:00:25.541 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.046) 0:00:25.588 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.028) 0:00:25.617 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.023) 0:00:25.641 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.021) 0:00:25.662 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.722) 0:00:26.385 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.967) 0:00:27.353 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.033) 0:00:27.386 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.023) 0:00:27.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.021) 0:00:27.432 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.061) 0:00:27.493 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.026) 0:00:27.520 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.024) 0:00:27.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.034) 0:00:27.579 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.249) 0:00:27.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.034) 0:00:27.864 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.048) 0:00:27.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.022) 0:00:27.935 ******* 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, e034e8d6-c18c-4c72-97c9-d80626efa369 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.370) 0:00:28.305 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.035) 0:00:28.341 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e034e8d6-c18c-4c72-97c9-d80626efa369" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.027) 0:00:28.368 ******* 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, e034e8d6-c18c-4c72-97c9-d80626efa369\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e034e8d6-c18c-4c72-97c9-d80626efa369" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.064) 0:00:28.433 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.068) 0:00:28.501 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.187) 0:00:28.689 ******* 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, e034e8d6-c18c-4c72-97c9-d80626efa369\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e034e8d6-c18c-4c72-97c9-d80626efa369" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.054) 0:00:28.743 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.043) 0:00:28.787 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.094) 0:00:28.882 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.070) 0:00:28.952 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.034) 0:00:28.986 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.023) 0:00:29.010 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.872) 0:00:29.882 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.959) 0:00:30.841 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.079) 0:00:30.921 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.088) 0:00:31.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.079) 0:00:31.089 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.066) 0:00:31.155 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.023) 0:00:31.179 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.047) 0:00:31.226 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.044) 0:00:31.271 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.237) 0:00:31.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.025) 0:00:31.535 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.020) 0:00:31.555 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.050) 0:00:31.605 ******* 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, e034e8d6-c18c-4c72-97c9-d80626efa369 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.320) 0:00:31.925 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.046) 0:00:31.972 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e034e8d6-c18c-4c72-97c9-d80626efa369 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.045) 0:00:32.017 ******* 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, e034e8d6-c18c-4c72-97c9-d80626efa369 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e034e8d6-c18c-4c72-97c9-d80626efa369 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.049) 0:00:32.067 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.030) 0:00:32.097 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.177) 0:00:32.274 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.054) 0:00:32.328 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.180) 0:00:32.509 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.063) 0:00:32.573 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.033) 0:00:32.606 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.028) 0:00:32.635 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.046) 0:00:32.681 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.760) 0:00:33.442 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.991) 0:00:34.434 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.064) 0:00:34.498 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.042) 0:00:34.541 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.032) 0:00:34.573 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.150) 0:00:34.724 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.046) 0:00:34.770 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.054) 0:00:34.825 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.053) 0:00:34.879 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.329) 0:00:35.208 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.063) 0:00:35.271 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.080) 0:00:35.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.064) 0:00:35.417 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.424) 0:00:35.841 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.060) 0:00:35.902 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.029) 0:00:35.931 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.043) 0:00:35.974 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.040) 0:00:36.015 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.197) 0:00:36.213 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.060) 0:00:36.273 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.049) 0:00:36.323 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830102.8845649, "block_size": 4096, "blocks": 0, "ctime": 1704830102.880565, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17630, "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": 1704830102.880565, "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_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.204) 0:00:36.528 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.033) 0:00:36.561 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.064) 0:00:36.626 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.031) 0:00:36.657 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.191) 0:00:36.849 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.062) 0:00:36.911 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024366", "end": "2024-01-09 19:55:11.733636", "rc": 1, "start": "2024-01-09 19:55:11.709270" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.181) 0:00:37.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.037) 0:00:37.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.034) 0:00:37.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.063) 0:00:37.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.027) 0:00:37.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.042) 0:00:37.298 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.054) 0:00:37.352 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.023) 0:00:37.376 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.024) 0:00:37.400 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.043) 0:00:37.444 ******* 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.084354", "end": "2024-01-09 19:55:12.322593", "rc": 1, "start": "2024-01-09 19:55:12.238239" } STDOUT: Connection 'statebr' (e034e8d6-c18c-4c72-97c9-d80626efa369) successfully deleted. STDERR: (process:1343): GLib-GIO-WARNING **: 19:55:12.297: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/61 but no object proxy exists (process:1343): GLib-GIO-WARNING **: 19:55:12.297: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/98 but no object proxy exists (process:1343): GLib-GIO-WARNING **: 19:55:12.297: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/52 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_type4sn_hph9/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.241) 0:00:37.686 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.048) 0:00:37.735 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.023) 0:00:37.758 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.043) 0:00:37.802 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.056) 0:00:37.858 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.032) 0:00:37.891 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004176", "end": "2024-01-09 19:55:12.690120", "rc": 0, "start": "2024-01-09 19:55:12.685944" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.141) 0:00:38.033 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.021) 0:00:38.054 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.020) 0:00:38.075 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.045) 0:00:38.120 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.034) 0:00:38.155 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.038) 0:00:38.193 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.026) 0:00:38.220 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.021) 0:00:38.241 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.020) 0:00:38.261 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:13 +0000 (0:00:00.739) 0:00:39.001 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.943) 0:00:39.945 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.051) 0:00:39.997 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.022) 0:00:40.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.029) 0:00:40.048 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.096) 0:00:40.145 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.024) 0:00:40.169 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.041) 0:00:40.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.042) 0:00:40.253 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.259) 0:00:40.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.057) 0:00:40.570 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.047) 0:00:40.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.133) 0:00:40.751 ******* 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, 5902fd73-1c76-4eff-b394-2b6a59c4d747 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.406) 0:00:41.158 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.041) 0:00:41.199 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5902fd73-1c76-4eff-b394-2b6a59c4d747" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.035) 0:00:41.234 ******* 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, 5902fd73-1c76-4eff-b394-2b6a59c4d747\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5902fd73-1c76-4eff-b394-2b6a59c4d747" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.037) 0:00:41.271 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.038) 0:00:41.310 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.138) 0:00:41.449 ******* 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, 5902fd73-1c76-4eff-b394-2b6a59c4d747\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5902fd73-1c76-4eff-b394-2b6a59c4d747" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.023) 0:00:41.472 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.035) 0:00:41.507 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.038) 0:00:41.546 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.027) 0:00:41.574 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.023) 0:00:41.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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.021) 0:00:41.618 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.777) 0:00:42.395 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.959) 0:00:43.355 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.023) 0:00:43.379 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.020) 0:00:43.399 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.023) 0:00:43.422 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.049) 0:00:43.472 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.021) 0:00:43.493 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.020) 0:00:43.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.031) 0:00:43.546 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.254) 0:00:43.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.044) 0:00:43.845 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.055) 0:00:43.901 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.057) 0:00:43.958 ******* 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, 5902fd73-1c76-4eff-b394-2b6a59c4d747 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.413) 0:00:44.371 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.039) 0:00:44.411 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5902fd73-1c76-4eff-b394-2b6a59c4d747 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.043) 0:00:44.455 ******* 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, 5902fd73-1c76-4eff-b394-2b6a59c4d747 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5902fd73-1c76-4eff-b394-2b6a59c4d747 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.091) 0:00:44.546 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.070) 0:00:44.617 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.157) 0:00:44.774 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.070) 0:00:44.845 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.051) 0:00:44.896 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.035) 0:00:44.932 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.031) 0:00:44.963 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.022) 0:00:44.985 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.776) 0:00:45.762 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:21 +0000 (0:00:01.033) 0:00:46.796 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.030) 0:00:46.827 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.043) 0:00:46.870 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.033) 0:00:46.904 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.051) 0:00:46.955 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.021) 0:00:46.977 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.023) 0:00:47.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.027) 0:00:47.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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.278) 0:00:47.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.027) 0:00:47.334 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.022) 0:00:47.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.041) 0:00:47.398 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.320) 0:00:47.719 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.020) 0:00:47.740 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.058) 0:00:47.798 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.024) 0:00:47.823 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.020) 0:00:47.843 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.141) 0:00:47.985 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.039) 0:00:48.024 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.044) 0:00:48.069 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.048) 0:00:48.117 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.036) 0:00:48.153 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.022) 0:00:48.176 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.038) 0:00:48.214 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.732) 0:00:48.947 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:24 +0000 (0:00:01.003) 0:00:49.950 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.024) 0:00:49.974 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.028) 0:00:50.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.029) 0:00:50.033 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.079) 0:00:50.112 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.050) 0:00:50.162 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.044) 0:00:50.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.070) 0:00:50.277 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.443) 0:00:50.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.026) 0:00:50.748 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.040) 0:00:50.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.031) 0:00:50.820 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.505) 0:00:51.326 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.031) 0:00:51.357 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.092) 0:00:51.449 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.049) 0:00:51.499 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.053) 0:00:51.553 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.154) 0:00:51.708 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.100) 0:00:51.808 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.092) 0:00:51.900 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.028) 0:00:51.929 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.275) 0:00:52.205 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.040) 0:00:52.246 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021312", "end": "2024-01-09 19:55:27.074009", "rc": 1, "start": "2024-01-09 19:55:27.052697" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.197) 0:00:52.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.024) 0:00:52.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.031) 0:00:52.499 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.036) 0:00:52.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.030) 0:00:52.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.091) 0:00:52.657 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.038) 0:00:52.695 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.070) 0:00:52.766 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.061) 0:00:52.828 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.160) 0:00:52.988 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.027) 0:00:53.015 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.022) 0:00:53.038 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.047) 0:00:53.085 ******* 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.046596", "end": "2024-01-09 19:55:27.929712", "rc": 1, "start": "2024-01-09 19:55:27.883116" } 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_type4sn_hph9/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.210) 0:00:53.296 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.060) 0:00:53.356 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.032) 0:00:53.389 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.055) 0:00:53.445 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.050) 0:00:53.495 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.107) 0:00:53.603 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005134", "end": "2024-01-09 19:55:29.429677", "rc": 0, "start": "2024-01-09 19:55:28.424543" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:29 +0000 (0:00:01.199) 0:00:54.803 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.026) 0:00:54.835 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.029) 0:00:54.865 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.052) 0:00:54.917 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.067) 0:00:54.985 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.043) 0:00:55.028 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.042) 0:00:55.071 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.024) 0:00:55.096 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.020) 0:00:55.116 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.751) 0:00:55.868 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:31 +0000 (0:00:01.010) 0:00:56.879 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.051) 0:00:56.930 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.051) 0:00:56.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.049) 0:00:57.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.083) 0:00:57.115 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.023) 0:00:57.139 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.038) 0:00:57.177 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.048) 0:00:57.226 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.286) 0:00:57.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.055) 0:00:57.568 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.023) 0:00:57.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.022) 0:00:57.613 ******* 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, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.405) 0:00:58.019 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.031) 0:00:58.050 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.045) 0:00:58.095 ******* 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, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.023) 0:00:58.119 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.022) 0:00:58.142 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.147) 0:00:58.289 ******* 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, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.025) 0:00:58.314 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.046) 0:00:58.361 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.047) 0:00:58.408 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.037) 0:00:58.446 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.024) 0:00:58.470 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.032) 0:00:58.502 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.792) 0:00:59.295 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.958) 0:01:00.254 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.022) 0:01:00.276 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.022) 0:01:00.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.038) 0:01:00.337 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.044) 0:01:00.381 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.023) 0:01:00.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.020) 0:01:00.424 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.024) 0:01:00.449 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.291) 0:01:00.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.034) 0:01:00.775 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.068) 0:01:00.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.026) 0:01:00.870 ******* 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, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.373) 0:01:01.244 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.039) 0:01:01.283 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.046) 0:01:01.330 ******* 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, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cc7c6079-3f7d-4c4e-9e0a-fa2e315185bb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.026) 0:01:01.357 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.025) 0:01:01.383 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.152) 0:01:01.535 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.034) 0:01:01.570 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.040) 0:01:01.610 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.036) 0:01:01.646 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.023) 0:01:01.670 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.031) 0:01:01.701 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:37 +0000 (0:00:00.801) 0:01:02.503 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.986) 0:01:03.489 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.023) 0:01:03.512 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.023) 0:01:03.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.021) 0:01:03.557 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.042) 0:01:03.599 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.020) 0:01:03.619 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.020) 0:01:03.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.023) 0:01:03.663 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.238) 0:01:03.901 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.024) 0:01:03.926 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.050) 0:01:03.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.021) 0:01:03.998 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.402) 0:01:04.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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.034) 0:01:04.435 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.045) 0:01:04.481 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.036) 0:01:04.517 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.041) 0:01:04.559 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.161) 0:01:04.721 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.046) 0:01:04.767 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.040) 0:01:04.808 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.040) 0:01:04.849 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.027) 0:01:04.877 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.022) 0:01:04.900 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.022) 0:01:04.923 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.781) 0:01:05.704 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.996) 0:01:06.700 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.045) 0:01:06.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.059) 0:01:06.806 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.043) 0:01:06.849 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.123) 0:01:06.972 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.041) 0:01:07.014 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.039) 0:01:07.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:41 +0000 (0:00:00.050) 0:01:07.105 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.454) 0:01:07.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.029) 0:01:07.588 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.042) 0:01:07.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.022) 0:01:07.654 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.359) 0:01:08.013 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.022) 0:01:08.036 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.022) 0:01:08.059 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.022) 0:01:08.082 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.020) 0:01:08.102 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.132) 0:01:08.234 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.044) 0:01:08.279 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.036) 0:01:08.315 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.021) 0:01:08.337 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.136) 0:01:08.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.020) 0:01:08.495 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020593", "end": "2024-01-09 19:55:43.317108", "rc": 1, "start": "2024-01-09 19:55:43.296515" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.196) 0:01:08.691 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.023) 0:01:08.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.023) 0:01:08.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.027) 0:01:08.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.026) 0:01:08.793 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.029) 0:01:08.823 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.023) 0:01:08.847 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.683935", "end": "2024-01-09 19:55:44.328066", "rc": 0, "start": "2024-01-09 19:55:43.644131" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.824) 0:01:09.671 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.023) 0:01:09.695 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.025) 0:01:09.721 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.046) 0:01:09.768 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.052) 0:01:09.821 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.159) 0:01:09.980 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.096) 0:01:10.077 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.036) 0:01:10.113 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.043) 0:01:10.157 ******* 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.044917", "end": "2024-01-09 19:55:44.998256", "rc": 1, "start": "2024-01-09 19:55:44.953339" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 09 January 2024 19:55:45 +0000 (0:00:00.192) 0:01:10.349 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.03s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.49s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.40s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.14s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.14s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Re-test connectivity ----------------------- 1.09s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.02s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---