# 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_typeb8h3xslc/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 02:36:43 +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_typeb8h3xslc/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.533) 0:00:00.546 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.022) 0:00:00.568 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.225) 0:00:00.794 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.189) 0:00:00.984 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.019) 0:00:01.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.016) 0:00:01.021 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.032) 0:00:01.053 ******* 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_typeb8h3xslc/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.185) 0:00:01.238 ******* 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_typeb8h3xslc/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.452) 0:00:01.690 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.196924", "end": "2024-01-09 02:36:45.404124", "rc": 0, "start": "2024-01-09 02:36:45.207200" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.319) 0:00:02.010 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.010) 0:00:02.021 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.009) 0:00:02.030 ******* 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_typeb8h3xslc/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.010) 0:00:02.041 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.382) 0:00:02.424 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.009) 0:00:02.434 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.015) 0:00:02.449 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.010) 0:00:02.460 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.031) 0:00:02.492 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.015) 0:00:02.507 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:36:45 +0000 (0:00:00.014) 0:00:02.522 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004729", "end": "2024-01-09 02:36:47.044583", "rc": 0, "start": "2024-01-09 02:36:46.039854" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:36:47 +0000 (0:00:01.128) 0:00:03.650 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.012) 0:00:03.662 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.010) 0:00:03.672 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.019) 0:00:03.692 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010921", "end": "2024-01-09 02:36:47.218727", "rc": 1, "start": "2024-01-09 02:36:47.207806" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.131) 0:00:03.823 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.014) 0:00:03.837 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.120) 0:00:03.958 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.013) 0:00:03.971 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.019) 0:00:03.990 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.034) 0:00:04.025 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.069) 0:00:04.095 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.018) 0:00:04.113 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.011) 0:00:04.124 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.011) 0:00:04.135 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:36:48 +0000 (0:00:00.820) 0:00:04.955 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.787) 0:00:05.743 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.021) 0:00:05.764 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.019) 0:00:05.784 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.019) 0:00:05.803 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.041) 0:00:05.844 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.019) 0:00:05.864 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.019) 0:00:05.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.024) 0:00:05.908 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.354) 0:00:06.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.024) 0:00:06.287 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.019) 0:00:06.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:36:49 +0000 (0:00:00.019) 0:00:06.325 ******* 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, c9105a90-e8b5-42b1-85e1-50340c93c577 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.447) 0:00:06.773 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.020) 0:00:06.794 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9105a90-e8b5-42b1-85e1-50340c93c577" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.040) 0:00:06.834 ******* 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, c9105a90-e8b5-42b1-85e1-50340c93c577\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9105a90-e8b5-42b1-85e1-50340c93c577" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.022) 0:00:06.857 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.020) 0:00:06.877 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.181) 0:00:07.058 ******* 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, c9105a90-e8b5-42b1-85e1-50340c93c577\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c9105a90-e8b5-42b1-85e1-50340c93c577" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.024) 0:00:07.083 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.039) 0:00:07.122 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.037) 0:00:07.159 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.021) 0:00:07.181 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767810.0904722, "block_size": 4096, "blocks": 8, "ctime": 1704767810.0894723, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468710, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767810.0894723, "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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.132) 0:00:07.313 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.022) 0:00:07.335 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025472", "end": "2024-01-09 02:36:50.879375", "rc": 0, "start": "2024-01-09 02:36:50.853903" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.159) 0:00:07.495 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.023) 0:00:07.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.021) 0:00:07.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.022) 0:00:07.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.021) 0:00:07.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.048) 0:00:07.633 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.024) 0:00:07.658 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.025) 0:00:07.683 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.023) 0:00:07.706 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.042) 0:00:07.748 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.034) 0:00:07.783 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767810.104472, "block_size": 4096, "blocks": 0, "ctime": 1704767810.0924723, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17468, "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": 1704767810.0924723, "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_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.144) 0:00:07.927 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.025) 0:00:07.953 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.022) 0:00:07.975 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.040) 0:00:08.016 ******* 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.081107", "end": "2024-01-09 02:36:51.614520", "rc": 1, "start": "2024-01-09 02:36:51.533413" } STDOUT: Connection 'statebr' (c9105a90-e8b5-42b1-85e1-50340c93c577) successfully deleted. STDERR: (process:27050): GLib-GIO-WARNING **: 02:36:51.593: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/51 but no object proxy exists (process:27050): GLib-GIO-WARNING **: 02:36:51.594: 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_typeb8h3xslc/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.216) 0:00:08.232 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.036) 0:00:08.269 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.022) 0:00:08.291 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.106) 0:00:08.398 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.036) 0:00:08.434 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.033) 0:00:08.467 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003631", "end": "2024-01-09 02:36:51.989470", "rc": 0, "start": "2024-01-09 02:36:51.985839" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.136) 0:00:08.604 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.024) 0:00:08.628 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.022) 0:00:08.651 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.042) 0:00:08.693 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007693", "end": "2024-01-09 02:36:52.221407", "rc": 1, "start": "2024-01-09 02:36:52.213714" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.143) 0:00:08.836 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.034) 0:00:08.871 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.135) 0:00:09.006 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.024) 0:00:09.031 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.038) 0:00:09.069 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.063) 0:00:09.133 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.044) 0:00:09.177 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.033) 0:00:09.211 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.021) 0:00:09.232 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.022) 0:00:09.255 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.778) 0:00:10.034 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.639) 0:00:10.673 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.043) 0:00:10.716 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.020) 0:00:10.736 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.020) 0:00:10.757 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.044) 0:00:10.801 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.023) 0:00:10.825 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.023) 0:00:10.848 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.026) 0:00:10.875 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.227) 0:00:11.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.026) 0:00:11.129 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.021) 0:00:11.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.019) 0:00:11.170 ******* 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, 1db8a242-be67-47a5-8751-bf83517d8537 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.297) 0:00:11.468 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.020) 0:00:11.488 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1db8a242-be67-47a5-8751-bf83517d8537" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.022) 0:00:11.511 ******* 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, 1db8a242-be67-47a5-8751-bf83517d8537\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1db8a242-be67-47a5-8751-bf83517d8537" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.021) 0:00:11.532 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.019) 0:00:11.552 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.152) 0:00:11.704 ******* 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, 1db8a242-be67-47a5-8751-bf83517d8537\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1db8a242-be67-47a5-8751-bf83517d8537" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.022) 0:00:11.726 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.040) 0:00:11.767 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.033) 0:00:11.801 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.132) 0:00:11.934 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.022) 0:00:11.956 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.035) 0:00:11.991 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.023) 0:00:12.015 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767814.8323262, "block_size": 4096, "blocks": 8, "ctime": 1704767814.8323262, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468708, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767814.8323262, "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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.136) 0:00:12.151 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.021) 0:00:12.173 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023513", "end": "2024-01-09 02:36:55.714107", "rc": 0, "start": "2024-01-09 02:36:55.690594" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.155) 0:00:12.329 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.023) 0:00:12.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.021) 0:00:12.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.023) 0:00:12.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.048) 0:00:12.446 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.023) 0:00:12.470 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.024) 0:00:12.494 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.023) 0:00:12.517 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.022) 0:00:12.540 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.021) 0:00:12.561 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.022) 0:00:12.584 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.040) 0:00:12.624 ******* 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.049066", "end": "2024-01-09 02:36:56.190906", "rc": 1, "start": "2024-01-09 02:36:56.141840" } STDOUT: Connection 'statebr' (1db8a242-be67-47a5-8751-bf83517d8537) 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_typeb8h3xslc/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.180) 0:00:12.805 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.036) 0:00:12.841 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.020) 0:00:12.862 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.041) 0:00:12.904 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.032) 0:00:12.936 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.033) 0:00:12.970 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003458", "end": "2024-01-09 02:36:56.499400", "rc": 0, "start": "2024-01-09 02:36:56.495942" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.167) 0:00:13.137 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.023) 0:00:13.161 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.022) 0:00:13.183 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.037) 0:00:13.221 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.036) 0:00:13.258 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.039) 0:00:13.297 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.025) 0:00:13.322 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.019) 0:00:13.342 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.019) 0:00:13.361 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.743) 0:00:14.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.660) 0:00:14.766 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.024) 0:00:14.790 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.021) 0:00:14.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.022) 0:00:14.834 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.043) 0:00:14.878 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.028) 0:00:14.906 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.022) 0:00:14.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.031) 0:00:14.960 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.235) 0:00:15.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.025) 0:00:15.221 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.019) 0:00:15.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.019) 0:00:15.260 ******* 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, 3296a699-c81c-46d6-badc-d2aff4cfe7f6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.370) 0:00:15.631 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.051) 0:00:15.682 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3296a699-c81c-46d6-badc-d2aff4cfe7f6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.023) 0:00:15.705 ******* 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, 3296a699-c81c-46d6-badc-d2aff4cfe7f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3296a699-c81c-46d6-badc-d2aff4cfe7f6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.022) 0:00:15.727 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.021) 0:00:15.749 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.132) 0:00:15.882 ******* 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, 3296a699-c81c-46d6-badc-d2aff4cfe7f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3296a699-c81c-46d6-badc-d2aff4cfe7f6" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.022) 0:00:15.904 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.038) 0:00:15.943 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.040) 0:00:15.983 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.039) 0:00:16.023 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.025) 0:00:16.048 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.020) 0:00:16.069 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.020) 0:00:16.089 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.752) 0:00:16.841 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.643) 0:00:17.485 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.022) 0:00:17.508 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.019) 0:00:17.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.020) 0:00:17.549 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.042) 0:00:17.591 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.021) 0:00:17.613 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.020) 0:00:17.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.024) 0:00:17.658 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.230) 0:00:17.889 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.026) 0:00:17.916 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.050) 0:00:17.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.022) 0:00:17.989 ******* 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, 3296a699-c81c-46d6-badc-d2aff4cfe7f6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.285) 0:00:18.275 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.021) 0:00:18.296 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3296a699-c81c-46d6-badc-d2aff4cfe7f6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.022) 0:00:18.318 ******* 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, 3296a699-c81c-46d6-badc-d2aff4cfe7f6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3296a699-c81c-46d6-badc-d2aff4cfe7f6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.022) 0:00:18.341 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.021) 0:00:18.362 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.129) 0:00:18.491 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.041) 0:00:18.533 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.034) 0:00:18.567 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767818.9522166, "block_size": 4096, "blocks": 0, "ctime": 1704767818.9512167, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17468, "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": 1704767818.9512167, "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_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.134) 0:00:18.702 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.023) 0:00:18.726 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.035) 0:00:18.761 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.020) 0:00:18.782 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767818.9502168, "block_size": 4096, "blocks": 8, "ctime": 1704767818.9492166, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468710, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767818.9492166, "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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.134) 0:00:18.916 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.022) 0:00:18.938 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022648", "end": "2024-01-09 02:37:02.479189", "rc": 0, "start": "2024-01-09 02:37:02.456541" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.158) 0:00:19.096 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.023) 0:00:19.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.024) 0:00:19.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.022) 0:00:19.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.027) 0:00:19.195 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.025) 0:00:19.221 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.025) 0:00:19.246 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.027) 0:00:19.274 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.023) 0:00:19.298 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.021) 0:00:19.320 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.024) 0:00:19.344 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.044) 0:00:19.389 ******* 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.077619", "end": "2024-01-09 02:37:02.987204", "rc": 1, "start": "2024-01-09 02:37:02.909585" } STDOUT: Connection 'statebr' (3296a699-c81c-46d6-badc-d2aff4cfe7f6) 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_typeb8h3xslc/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.212) 0:00:19.601 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.061) 0:00:19.663 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.022) 0:00:19.685 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.043) 0:00:19.729 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.037) 0:00:19.766 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.033) 0:00:19.800 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004681", "end": "2024-01-09 02:37:04.322397", "rc": 0, "start": "2024-01-09 02:37:03.317716" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:37:04 +0000 (0:00:01.139) 0:00:20.939 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.022) 0:00:20.962 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.020) 0:00:20.982 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.039) 0:00:21.022 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.060) 0:00:21.082 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.041) 0:00:21.124 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.027) 0:00:21.152 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.021) 0:00:21.173 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.021) 0:00:21.195 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.753) 0:00:21.949 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.636) 0:00:22.586 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.021) 0:00:22.607 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.019) 0:00:22.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.042) 0:00:22.669 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.043) 0:00:22.713 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.019) 0:00:22.733 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.020) 0:00:22.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.024) 0:00:22.777 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.226) 0:00:23.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.025) 0:00:23.030 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.020) 0:00:23.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.019) 0:00:23.069 ******* 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, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.336) 0:00:23.406 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.022) 0:00:23.429 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.033) 0:00:23.462 ******* 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, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.024) 0:00:23.486 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.024) 0:00:23.511 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.134) 0:00:23.645 ******* 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, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.022) 0:00:23.668 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.061) 0:00:23.729 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.039) 0:00:23.769 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.025) 0:00:23.795 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.021) 0:00:23.816 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.020) 0:00:23.837 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.748) 0:00:24.586 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.641) 0:00:25.227 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.024) 0:00:25.251 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.045) 0:00:25.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.021) 0:00:25.319 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.042) 0:00:25.361 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.022) 0:00:25.384 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.022) 0:00:25.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.025) 0:00:25.431 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.223) 0:00:25.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.024) 0:00:25.680 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.019) 0:00:25.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.019) 0:00:25.719 ******* 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, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.283) 0:00:26.003 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.021) 0:00:26.024 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.022) 0:00:26.047 ******* 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, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.022) 0:00:26.069 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.020) 0:00:26.090 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.127) 0:00:26.218 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.065) 0:00:26.283 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.039) 0:00:26.323 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.039) 0:00:26.362 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.025) 0:00:26.388 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.019) 0:00:26.408 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.019) 0:00:26.428 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:10 +0000 (0:00:00.743) 0:00:27.171 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.660) 0:00:27.832 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.022) 0:00:27.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.020) 0:00:27.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.020) 0:00:27.897 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.043) 0:00:27.940 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.021) 0:00:27.962 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.021) 0:00:27.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.024) 0:00:28.008 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.226) 0:00:28.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.024) 0:00:28.259 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.020) 0:00:28.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.019) 0:00:28.299 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.318) 0:00:28.617 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.021) 0:00:28.639 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.022) 0:00:28.662 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.022) 0:00:28.684 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.046) 0:00:28.731 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.135) 0:00:28.866 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.042) 0:00:28.908 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.035) 0:00:28.944 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767826.7410123, "block_size": 4096, "blocks": 0, "ctime": 1704767826.7320125, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17470, "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": 1704767826.7320125, "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_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.136) 0:00:29.081 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.023) 0:00:29.105 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.034) 0:00:29.139 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.021) 0:00:29.161 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.130) 0:00:29.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.020) 0:00:29.312 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022683", "end": "2024-01-09 02:37:12.856272", "rc": 1, "start": "2024-01-09 02:37:12.833589" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.159) 0:00:29.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.021) 0:00:29.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.020) 0:00:29.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.045) 0:00:29.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.022) 0:00:29.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.022) 0:00:29.604 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.023) 0:00:29.627 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.020) 0:00:29.647 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.021) 0:00:29.669 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.039) 0:00:29.708 ******* 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.082517", "end": "2024-01-09 02:37:13.309251", "rc": 1, "start": "2024-01-09 02:37:13.226734" } STDOUT: Connection 'statebr' (cc34f48a-0d5a-4c21-9c83-f7e70c3e3cdb) successfully deleted. STDERR: (process:28485): GLib-GIO-WARNING **: 02:37:13.286: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/53 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_typeb8h3xslc/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.216) 0:00:29.925 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.037) 0:00:29.962 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.022) 0:00:29.985 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.042) 0:00:30.028 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.033) 0:00:30.061 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.032) 0:00:30.094 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003843", "end": "2024-01-09 02:37:13.615463", "rc": 0, "start": "2024-01-09 02:37:13.611620" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.163) 0:00:30.258 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.022) 0:00:30.280 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.021) 0:00:30.302 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.043) 0:00:30.345 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.035) 0:00:30.381 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.040) 0:00:30.422 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.028) 0:00:30.450 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.023) 0:00:30.474 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.024) 0:00:30.498 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.750) 0:00:31.248 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.669) 0:00:31.918 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:31.940 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:31.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.021) 0:00:31.984 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.043) 0:00:32.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:32.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:32.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.028) 0:00:32.101 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.226) 0:00:32.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.033) 0:00:32.361 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.021) 0:00:32.383 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.021) 0:00:32.404 ******* 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, e3219009-7db6-42bc-a014-0173e269cc68 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.379) 0:00:32.783 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.050) 0:00:32.834 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3219009-7db6-42bc-a014-0173e269cc68" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.028) 0:00:32.862 ******* 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, e3219009-7db6-42bc-a014-0173e269cc68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3219009-7db6-42bc-a014-0173e269cc68" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.023) 0:00:32.885 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.021) 0:00:32.907 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.129) 0:00:33.037 ******* 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, e3219009-7db6-42bc-a014-0173e269cc68\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3219009-7db6-42bc-a014-0173e269cc68" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.022) 0:00:33.060 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.035) 0:00:33.095 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.039) 0:00:33.135 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.027) 0:00:33.162 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.023) 0:00:33.186 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.021) 0:00:33.207 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:17 +0000 (0:00:00.746) 0:00:33.953 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.668) 0:00:34.622 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.030) 0:00:34.652 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.023) 0:00:34.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.024) 0:00:34.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.045) 0:00:34.745 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.029) 0:00:34.775 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.023) 0:00:34.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.030) 0:00:34.828 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.226) 0:00:35.055 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.024) 0:00:35.080 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.019) 0:00:35.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.020) 0:00:35.119 ******* 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, e3219009-7db6-42bc-a014-0173e269cc68 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.311) 0:00:35.431 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.021) 0:00:35.452 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e3219009-7db6-42bc-a014-0173e269cc68 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.021) 0:00:35.474 ******* 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, e3219009-7db6-42bc-a014-0173e269cc68 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e3219009-7db6-42bc-a014-0173e269cc68 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.022) 0:00:35.497 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.019) 0:00:35.517 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.130) 0:00:35.647 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.038) 0:00:35.686 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.041) 0:00:35.727 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.025) 0:00:35.753 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.021) 0:00:35.775 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.021) 0:00:35.796 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.737) 0:00:36.534 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.662) 0:00:37.196 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.021) 0:00:37.218 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.020) 0:00:37.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.020) 0:00:37.259 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.042) 0:00:37.302 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.021) 0:00:37.323 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.022) 0:00:37.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.028) 0:00:37.374 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.229) 0:00:37.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.028) 0:00:37.631 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.024) 0:00:37.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.022) 0:00:37.678 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.359) 0:00:38.037 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.022) 0:00:38.060 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.024) 0:00:38.084 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.027) 0:00:38.112 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.021) 0:00:38.133 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.129) 0:00:38.263 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.039) 0:00:38.303 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.039) 0:00:38.342 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.038) 0:00:38.380 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.032) 0:00:38.413 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.021) 0:00:38.435 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.021) 0:00:38.456 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:22 +0000 (0:00:00.736) 0:00:39.193 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.640) 0:00:39.833 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.022) 0:00:39.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.020) 0:00:39.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.019) 0:00:39.896 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.043) 0:00:39.939 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.020) 0:00:39.959 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.019) 0:00:39.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.024) 0:00:40.004 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.223) 0:00:40.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.025) 0:00:40.253 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.048) 0:00:40.301 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.022) 0:00:40.324 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.373) 0:00:40.697 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.021) 0:00:40.718 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.022) 0:00:40.741 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.023) 0:00:40.764 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.021) 0:00:40.786 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.127) 0:00:40.913 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.040) 0:00:40.954 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.036) 0:00:40.990 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.022) 0:00:41.012 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.130) 0:00:41.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.021) 0:00:41.165 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022717", "end": "2024-01-09 02:37:24.705746", "rc": 1, "start": "2024-01-09 02:37:24.683029" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.182) 0:00:41.347 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.022) 0:00:41.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.023) 0:00:41.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.022) 0:00:41.416 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.024) 0:00:41.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.023) 0:00:41.465 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.023) 0:00:41.488 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.042) 0:00:41.531 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.036) 0:00:41.568 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.134) 0:00:41.703 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.023) 0:00:41.726 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.023) 0:00:41.749 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.039) 0:00:41.789 ******* 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.047711", "end": "2024-01-09 02:37:25.353391", "rc": 1, "start": "2024-01-09 02:37:25.305680" } 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_typeb8h3xslc/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.179) 0:00:41.968 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.075) 0:00:42.044 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.022) 0:00:42.066 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.047) 0:00:42.114 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.035) 0:00:42.149 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.033) 0:00:42.183 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003474", "end": "2024-01-09 02:37:25.704452", "rc": 0, "start": "2024-01-09 02:37:25.700978" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.137) 0:00:42.320 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.024) 0:00:42.345 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.023) 0:00:42.368 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.042) 0:00:42.411 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.035) 0:00:42.447 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.040) 0:00:42.488 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.025) 0:00:42.514 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.048) 0:00:42.562 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.021) 0:00:42.584 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.747) 0:00:43.331 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.648) 0:00:43.980 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.024) 0:00:44.004 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.023) 0:00:44.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.021) 0:00:44.049 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.043) 0:00:44.093 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.023) 0:00:44.116 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.022) 0:00:44.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.050) 0:00:44.190 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.233) 0:00:44.423 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.026) 0:00:44.450 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.019) 0:00:44.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.020) 0:00:44.490 ******* 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, 8bf90488-8788-4c64-b3f8-74cc46f4d183 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.340) 0:00:44.830 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.021) 0:00:44.852 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bf90488-8788-4c64-b3f8-74cc46f4d183" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.022) 0:00:44.874 ******* 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, 8bf90488-8788-4c64-b3f8-74cc46f4d183\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bf90488-8788-4c64-b3f8-74cc46f4d183" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.022) 0:00:44.897 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.019) 0:00:44.916 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.135) 0:00:45.052 ******* 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, 8bf90488-8788-4c64-b3f8-74cc46f4d183\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8bf90488-8788-4c64-b3f8-74cc46f4d183" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.024) 0:00:45.076 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.036) 0:00:45.113 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.040) 0:00:45.153 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.075) 0:00:45.228 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.021) 0:00:45.249 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.019) 0:00:45.269 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.752) 0:00:46.021 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.637) 0:00:46.659 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.023) 0:00:46.682 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.021) 0:00:46.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.019) 0:00:46.724 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.043) 0:00:46.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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.045) 0:00:46.813 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.020) 0:00:46.833 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.024) 0:00:46.858 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.224) 0:00:47.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.024) 0:00:47.108 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.020) 0:00:47.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.020) 0:00:47.149 ******* 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, 8bf90488-8788-4c64-b3f8-74cc46f4d183 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.282) 0:00:47.431 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.022) 0:00:47.453 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bf90488-8788-4c64-b3f8-74cc46f4d183 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.023) 0:00:47.477 ******* 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, 8bf90488-8788-4c64-b3f8-74cc46f4d183 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8bf90488-8788-4c64-b3f8-74cc46f4d183 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.023) 0:00:47.500 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.020) 0:00:47.520 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.128) 0:00:47.649 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.034) 0:00:47.684 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.065) 0:00:47.749 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.027) 0:00:47.776 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.021) 0:00:47.798 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.021) 0:00:47.819 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.737) 0:00:48.557 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.637) 0:00:49.195 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.022) 0:00:49.217 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.023) 0:00:49.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.021) 0:00:49.261 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.044) 0:00:49.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.047) 0:00:49.353 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.021) 0:00:49.375 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.025) 0:00:49.400 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.224) 0:00:49.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.026) 0:00:49.651 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.021) 0:00:49.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.020) 0:00:49.693 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.388) 0:00:50.081 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.021) 0:00:50.103 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.022) 0:00:50.125 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.022) 0:00:50.148 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.020) 0:00:50.168 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.128) 0:00:50.297 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.038) 0:00:50.335 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.059) 0:00:50.395 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.040) 0:00:50.435 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.025) 0:00:50.461 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.020) 0:00:50.482 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.020) 0:00:50.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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.743) 0:00:51.246 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.640) 0:00:51.886 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.024) 0:00:51.910 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.021) 0:00:51.932 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.052) 0:00:51.985 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.045) 0:00:52.030 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.021) 0:00:52.052 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.022) 0:00:52.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.024) 0:00:52.099 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.228) 0:00:52.328 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.025) 0:00:52.353 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.020) 0:00:52.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.019) 0:00:52.393 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.305) 0:00:52.699 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.023) 0:00:52.723 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.023) 0:00:52.746 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.022) 0:00:52.768 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.021) 0:00:52.789 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.129) 0:00:52.918 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.070) 0:00:52.989 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.037) 0:00:53.027 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.022) 0:00:53.049 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.131) 0:00:53.180 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.021) 0:00:53.201 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020848", "end": "2024-01-09 02:37:36.739338", "rc": 1, "start": "2024-01-09 02:37:36.718490" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.151) 0:00:53.353 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.022) 0:00:53.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.021) 0:00:53.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.021) 0:00:53.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.021) 0:00:53.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.025) 0:00:53.465 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.023) 0:00:53.489 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.407136", "end": "2024-01-09 02:37:37.414897", "rc": 0, "start": "2024-01-09 02:37:37.007761" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.541) 0:00:54.030 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.020) 0:00:54.051 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.052) 0:00:54.103 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.042) 0:00:54.146 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.036) 0:00:54.182 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.133) 0:00:54.315 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.026) 0:00:54.342 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.022) 0:00:54.365 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.041) 0:00:54.406 ******* 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.046304", "end": "2024-01-09 02:37:37.968880", "rc": 1, "start": "2024-01-09 02:37:37.922576" } 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 02:37:37 +0000 (0:00:00.164) 0:00:54.571 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.87s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.28s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.16s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.07s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.91s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.79s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---