# 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_type7bx_wqj8/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 19:55:59 +0000 (0:00:00.533) 0:00:00.545 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.028) 0:00:00.573 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.289) 0:00:00.862 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.285) 0:00:01.148 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.027) 0:00:01.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.016) 0:00:01.192 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.031) 0:00:01.223 ******* 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_type7bx_wqj8/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:56:00 +0000 (0:00:00.207) 0:00:01.431 ******* 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_type7bx_wqj8/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.495) 0:00:01.927 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193911", "end": "2024-01-09 19:56:01.678570", "rc": 0, "start": "2024-01-09 19:56:01.484659" } 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_type7bx_wqj8/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.336) 0:00:02.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.023) 0:00:02.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.017) 0:00:02.305 ******* 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_type7bx_wqj8/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:56:01 +0000 (0:00:00.040) 0:00:02.346 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.524) 0:00:02.870 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.019) 0:00:02.889 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.036) 0:00:02.925 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.031) 0:00:02.957 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.106) 0:00:03.064 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.028) 0:00:03.092 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.014) 0:00:03.107 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003385", "end": "2024-01-09 19:56:02.667944", "rc": 0, "start": "2024-01-09 19:56:02.664559" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.145) 0:00:03.252 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.016) 0:00:03.269 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.030) 0:00:03.299 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.039) 0:00:03.339 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010359", "end": "2024-01-09 19:56:02.898356", "rc": 1, "start": "2024-01-09 19:56:02.887997" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.144) 0:00:03.484 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:02 +0000 (0:00:00.029) 0:00:03.513 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.150) 0:00:03.664 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.017) 0:00:03.682 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.041) 0:00:03.723 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.056) 0:00:03.780 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.095) 0:00:03.875 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.021) 0:00:03.897 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.022) 0:00:03.919 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:03 +0000 (0:00:00.013) 0:00:03.932 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.853) 0:00:04.786 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:04 +0000 (0:00:00.765) 0:00:05.552 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.025) 0:00:05.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.060) 0:00:05.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.079) 0:00:05.717 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.091) 0:00:05.808 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.027) 0:00:05.836 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.025) 0:00:05.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.025) 0:00:05.886 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.417) 0:00:06.304 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.032) 0:00:06.336 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.028) 0:00:06.365 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:05 +0000 (0:00:00.021) 0:00:06.386 ******* 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, 901cf2ff-902e-4f61-9ece-34757adf844a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.470) 0:00:06.856 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.040) 0:00:06.896 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 901cf2ff-902e-4f61-9ece-34757adf844a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.025) 0:00:06.921 ******* 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, 901cf2ff-902e-4f61-9ece-34757adf844a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 901cf2ff-902e-4f61-9ece-34757adf844a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.029) 0:00:06.951 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.047) 0:00:06.998 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.289) 0:00:07.288 ******* 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, 901cf2ff-902e-4f61-9ece-34757adf844a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 901cf2ff-902e-4f61-9ece-34757adf844a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.036) 0:00:07.324 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.066) 0:00:07.391 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.036) 0:00:07.428 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:06 +0000 (0:00:00.021) 0:00:07.449 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830166.1847224, "block_size": 4096, "blocks": 8, "ctime": 1704830166.1837225, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830166.1837225, "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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.148) 0:00:07.597 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.025) 0:00:07.623 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024053", "end": "2024-01-09 19:56:07.198128", "rc": 0, "start": "2024-01-09 19:56:07.174075" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.172) 0:00:07.795 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.026) 0:00:07.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.048) 0:00:07.870 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.061) 0:00:07.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.051) 0:00:07.983 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.034) 0:00:08.018 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.033) 0:00:08.051 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.038) 0:00:08.089 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.038) 0:00:08.127 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.075) 0:00:08.203 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.035) 0:00:08.238 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830166.1937222, "block_size": 4096, "blocks": 0, "ctime": 1704830166.1867225, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1704830166.1867225, "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_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.153) 0:00:08.391 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.039) 0:00:08.430 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.023) 0:00:08.454 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:07 +0000 (0:00:00.043) 0:00:08.498 ******* 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.079049", "end": "2024-01-09 19:56:08.139048", "rc": 1, "start": "2024-01-09 19:56:08.059999" } STDOUT: Connection 'statebr' (901cf2ff-902e-4f61-9ece-34757adf844a) successfully deleted. STDERR: (process:25064): GLib-GIO-WARNING **: 19:56:08.117: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/34 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_type7bx_wqj8/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.337) 0:00:08.835 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.049) 0:00:08.885 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.041) 0:00:08.926 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.064) 0:00:08.991 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.063) 0:00:09.054 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:08 +0000 (0:00:00.062) 0:00:09.117 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004545", "end": "2024-01-09 19:56:09.673058", "rc": 0, "start": "2024-01-09 19:56:08.668513" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:09 +0000 (0:00:01.138) 0:00:10.256 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:09 +0000 (0:00:00.027) 0:00:10.283 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:09 +0000 (0:00:00.036) 0:00:10.319 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:56:09 +0000 (0:00:00.042) 0:00:10.362 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007382", "end": "2024-01-09 19:56:09.922796", "rc": 1, "start": "2024-01-09 19:56:09.915414" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:09 +0000 (0:00:00.147) 0:00:10.509 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:09 +0000 (0:00:00.036) 0:00:10.546 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.154) 0:00:10.700 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.025) 0:00:10.726 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.058) 0:00:10.784 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.066) 0:00:10.851 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.118) 0:00:10.969 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.066) 0:00:11.036 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.038) 0:00:11.075 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.080) 0:00:11.155 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.836) 0:00:11.991 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.647) 0:00:12.639 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.023) 0:00:12.663 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.023) 0:00:12.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.028) 0:00:12.714 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.045) 0:00:12.760 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.057) 0:00:12.817 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.059) 0:00:12.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.030) 0:00:12.907 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.226) 0:00:13.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.026) 0:00:13.160 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.021) 0:00:13.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.020) 0:00:13.202 ******* 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, 50be656c-dd16-42f4-9f8d-8af7315d6579 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.320) 0:00:13.522 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.032) 0:00:13.555 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50be656c-dd16-42f4-9f8d-8af7315d6579" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.021) 0:00:13.576 ******* 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, 50be656c-dd16-42f4-9f8d-8af7315d6579\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50be656c-dd16-42f4-9f8d-8af7315d6579" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.023) 0:00:13.599 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.022) 0:00:13.622 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.128) 0:00:13.750 ******* 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, 50be656c-dd16-42f4-9f8d-8af7315d6579\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50be656c-dd16-42f4-9f8d-8af7315d6579" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.029) 0:00:13.780 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.042) 0:00:13.823 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.034) 0:00:13.857 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.130) 0:00:13.988 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.023) 0:00:14.012 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.036) 0:00:14.048 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.030) 0:00:14.079 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830172.899488, "block_size": 4096, "blocks": 8, "ctime": 1704830172.899488, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830172.899488, "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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.144) 0:00:14.224 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.025) 0:00:14.249 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021726", "end": "2024-01-09 19:56:13.823908", "rc": 0, "start": "2024-01-09 19:56:13.802182" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.218) 0:00:14.467 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.030) 0:00:14.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.042) 0:00:14.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.070) 0:00:14.611 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.050) 0:00:14.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.056) 0:00:14.718 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.050) 0:00:14.769 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.049) 0:00:14.818 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.053) 0:00:14.871 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.038) 0:00:14.909 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.074) 0:00:14.984 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.053) 0:00:15.037 ******* 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.046818", "end": "2024-01-09 19:56:14.677433", "rc": 1, "start": "2024-01-09 19:56:14.630615" } STDOUT: Connection 'statebr' (50be656c-dd16-42f4-9f8d-8af7315d6579) 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_type7bx_wqj8/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.268) 0:00:15.305 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.058) 0:00:15.364 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.039) 0:00:15.404 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.042) 0:00:15.447 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.035) 0:00:15.482 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.035) 0:00:15.517 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003552", "end": "2024-01-09 19:56:15.078647", "rc": 0, "start": "2024-01-09 19:56:15.075095" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.144) 0:00:15.662 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.028) 0:00:15.690 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.061) 0:00:15.752 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.083) 0:00:15.835 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.111) 0:00:15.946 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.058) 0:00:16.004 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.042) 0:00:16.047 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.023) 0:00:16.070 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.023) 0:00:16.094 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.763) 0:00:16.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.675) 0:00:17.533 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.024) 0:00:17.558 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.107) 0:00:17.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.048) 0:00:17.714 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.060) 0:00:17.775 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.094) 0:00:17.870 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.171) 0:00:18.041 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.082) 0:00:18.123 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.278) 0:00:18.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.037) 0:00:18.440 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.031) 0:00:18.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.042) 0:00:18.513 ******* 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, ab6f405d-a987-4f5b-ae21-94432d8696e5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.412) 0:00:18.926 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.025) 0:00:18.951 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab6f405d-a987-4f5b-ae21-94432d8696e5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.028) 0:00:18.980 ******* 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, ab6f405d-a987-4f5b-ae21-94432d8696e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab6f405d-a987-4f5b-ae21-94432d8696e5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.031) 0:00:19.011 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.022) 0:00:19.034 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.169) 0:00:19.204 ******* 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, ab6f405d-a987-4f5b-ae21-94432d8696e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ab6f405d-a987-4f5b-ae21-94432d8696e5" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.043) 0:00:19.248 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.057) 0:00:19.306 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.074) 0:00:19.380 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.041) 0:00:19.421 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.063) 0:00:19.485 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.057) 0:00:19.543 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.057) 0:00:19.601 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.781) 0:00:20.383 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.640) 0:00:21.023 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.023) 0:00:21.047 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.021) 0:00:21.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.023) 0:00:21.091 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.075) 0:00:21.167 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.025) 0:00:21.192 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.032) 0:00:21.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.032) 0:00:21.256 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.312) 0:00:21.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.027) 0:00:21.597 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.023) 0:00:21.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.025) 0:00:21.645 ******* 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, ab6f405d-a987-4f5b-ae21-94432d8696e5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.319) 0:00:21.964 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.030) 0:00:21.995 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab6f405d-a987-4f5b-ae21-94432d8696e5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.045) 0:00:22.041 ******* 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, ab6f405d-a987-4f5b-ae21-94432d8696e5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ab6f405d-a987-4f5b-ae21-94432d8696e5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.023) 0:00:22.065 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.037) 0:00:22.102 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.139) 0:00:22.242 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.041) 0:00:22.283 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.063) 0:00:22.347 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830178.2643006, "block_size": 4096, "blocks": 0, "ctime": 1704830178.2583008, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1704830178.2583008, "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_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.141) 0:00:22.488 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.025) 0:00:22.514 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.035) 0:00:22.549 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.021) 0:00:22.571 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830178.2573009, "block_size": 4096, "blocks": 8, "ctime": 1704830178.256301, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830178.256301, "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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.142) 0:00:22.713 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.021) 0:00:22.735 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022429", "end": "2024-01-09 19:56:22.308933", "rc": 0, "start": "2024-01-09 19:56:22.286504" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.169) 0:00:22.904 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.038) 0:00:22.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.027) 0:00:22.970 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.029) 0:00:23.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.024) 0:00:23.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.023) 0:00:23.048 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.025) 0:00:23.073 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.023) 0:00:23.096 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.022) 0:00:23.119 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.019) 0:00:23.138 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.050) 0:00:23.189 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.043) 0:00:23.232 ******* 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.080309", "end": "2024-01-09 19:56:22.864514", "rc": 1, "start": "2024-01-09 19:56:22.784205" } STDOUT: Connection 'statebr' (ab6f405d-a987-4f5b-ae21-94432d8696e5) successfully deleted. STDERR: (process:25831): GLib-GIO-WARNING **: 19:56:22.842: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/35 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_type7bx_wqj8/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.214) 0:00:23.447 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.040) 0:00:23.487 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.036) 0:00:23.524 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.054) 0:00:23.579 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.042) 0:00:23.621 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.053) 0:00:23.674 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-01-09 19:56:23.252962", "rc": 0, "start": "2024-01-09 19:56:23.249514" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.176) 0:00:23.850 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.028) 0:00:23.879 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.050) 0:00:23.929 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.087) 0:00:24.017 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.088) 0:00:24.105 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.059) 0:00:24.164 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.038) 0:00:24.203 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.033) 0:00:24.237 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.024) 0:00:24.261 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.771) 0:00:25.032 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.635) 0:00:25.668 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.023) 0:00:25.691 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.022) 0:00:25.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.057) 0:00:25.771 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.046) 0:00:25.817 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.022) 0:00:25.840 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.022) 0:00:25.862 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.028) 0:00:25.890 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.263) 0:00:26.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.027) 0:00:26.181 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.022) 0:00:26.203 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.028) 0:00:26.232 ******* 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, 716b5223-ada5-46f1-b4ad-d042bc7356c6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.368) 0:00:26.600 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.030) 0:00:26.630 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 716b5223-ada5-46f1-b4ad-d042bc7356c6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.026) 0:00:26.656 ******* 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, 716b5223-ada5-46f1-b4ad-d042bc7356c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 716b5223-ada5-46f1-b4ad-d042bc7356c6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.048) 0:00:26.705 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.023) 0:00:26.728 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.133) 0:00:26.861 ******* 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, 716b5223-ada5-46f1-b4ad-d042bc7356c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 716b5223-ada5-46f1-b4ad-d042bc7356c6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.030) 0:00:26.892 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.087) 0:00:26.979 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.055) 0:00:27.035 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.039) 0:00:27.075 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.086) 0:00:27.162 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.050) 0:00:27.212 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.802) 0:00:28.015 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.670) 0:00:28.686 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.034) 0:00:28.720 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.048) 0:00:28.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.021) 0:00:28.790 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.071) 0:00:28.862 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.028) 0:00:28.890 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.024) 0:00:28.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.044) 0:00:28.959 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.259) 0:00:29.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.073) 0:00:29.292 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.023) 0:00:29.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.031) 0:00:29.348 ******* 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, 716b5223-ada5-46f1-b4ad-d042bc7356c6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.356) 0:00:29.705 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.072) 0:00:29.777 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 716b5223-ada5-46f1-b4ad-d042bc7356c6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.028) 0:00:29.805 ******* 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, 716b5223-ada5-46f1-b4ad-d042bc7356c6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 716b5223-ada5-46f1-b4ad-d042bc7356c6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.036) 0:00:29.842 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.022) 0:00:29.864 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.147) 0:00:30.012 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.056) 0:00:30.069 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.069) 0:00:30.138 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.053) 0:00:30.191 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.029) 0:00:30.221 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.042) 0:00:30.264 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.055) 0:00:30.319 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.781) 0:00:31.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.644) 0:00:31.745 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.028) 0:00:31.774 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.022) 0:00:31.797 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.054) 0:00:31.851 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.059) 0:00:31.910 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.027) 0:00:31.938 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.056) 0:00:31.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.042) 0:00:32.038 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.258) 0:00:32.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.038) 0:00:32.335 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.050) 0:00:32.385 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.024) 0:00:32.410 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.326) 0:00:32.737 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.022) 0:00:32.759 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.024) 0:00:32.784 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.041) 0:00:32.825 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.022) 0:00:32.848 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.163) 0:00:33.012 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.044) 0:00:33.056 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.079) 0:00:33.136 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830185.9600317, "block_size": 4096, "blocks": 0, "ctime": 1704830185.949032, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17602, "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": 1704830185.949032, "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_type7bx_wqj8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.175) 0:00:33.311 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.025) 0:00:33.336 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.049) 0:00:33.386 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.025) 0:00:33.411 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.138) 0:00:33.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.025) 0:00:33.575 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021511", "end": "2024-01-09 19:56:33.155250", "rc": 1, "start": "2024-01-09 19:56:33.133739" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.162) 0:00:33.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.021) 0:00:33.759 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.023) 0:00:33.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.023) 0:00:33.806 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.024) 0:00:33.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.022) 0:00:33.853 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.023) 0:00:33.876 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.019) 0:00:33.896 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.020) 0:00:33.916 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.063) 0:00:33.979 ******* 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.081383", "end": "2024-01-09 19:56:33.611191", "rc": 1, "start": "2024-01-09 19:56:33.529808" } STDOUT: Connection 'statebr' (716b5223-ada5-46f1-b4ad-d042bc7356c6) 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_type7bx_wqj8/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.218) 0:00:34.198 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.037) 0:00:34.236 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.032) 0:00:34.268 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.068) 0:00:34.337 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.037) 0:00:34.374 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.035) 0:00:34.410 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004718", "end": "2024-01-09 19:56:34.968565", "rc": 0, "start": "2024-01-09 19:56:33.963847" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:35 +0000 (0:00:01.155) 0:00:35.566 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.027) 0:00:35.593 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.025) 0:00:35.619 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.076) 0:00:35.695 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.043) 0:00:35.739 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.051) 0:00:35.790 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.042) 0:00:35.832 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.023) 0:00:35.855 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.027) 0:00:35.882 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.777) 0:00:36.660 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.669) 0:00:37.329 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.030) 0:00:37.360 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.066) 0:00:37.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.024) 0:00:37.450 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.055) 0:00:37.506 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.022) 0:00:37.529 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.022) 0:00:37.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.026) 0:00:37.578 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.237) 0:00:37.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.027) 0:00:37.843 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.020) 0:00:37.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.021) 0:00:37.884 ******* 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, 14332613-eea3-4f6e-9982-d1039eeb3cc2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.339) 0:00:38.224 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.021) 0:00:38.246 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14332613-eea3-4f6e-9982-d1039eeb3cc2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.022) 0:00:38.268 ******* 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, 14332613-eea3-4f6e-9982-d1039eeb3cc2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14332613-eea3-4f6e-9982-d1039eeb3cc2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.023) 0:00:38.292 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.035) 0:00:38.328 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.157) 0:00:38.485 ******* 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, 14332613-eea3-4f6e-9982-d1039eeb3cc2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14332613-eea3-4f6e-9982-d1039eeb3cc2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.069) 0:00:38.554 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.040) 0:00:38.594 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.054) 0:00:38.649 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.033) 0:00:38.682 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.022) 0:00:38.705 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.033) 0:00:38.739 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.770) 0:00:39.510 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.680) 0:00:40.190 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.022) 0:00:40.213 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.078) 0:00:40.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.027) 0:00:40.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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.043) 0:00:40.362 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.023) 0:00:40.386 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.022) 0:00:40.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.033) 0:00:40.443 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.230) 0:00:40.674 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.024) 0:00:40.698 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.021) 0:00:40.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.022) 0:00:40.743 ******* 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, 14332613-eea3-4f6e-9982-d1039eeb3cc2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.289) 0:00:41.032 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.024) 0:00:41.056 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14332613-eea3-4f6e-9982-d1039eeb3cc2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.049) 0:00:41.106 ******* 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, 14332613-eea3-4f6e-9982-d1039eeb3cc2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14332613-eea3-4f6e-9982-d1039eeb3cc2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.024) 0:00:41.131 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.035) 0:00:41.167 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.137) 0:00:41.304 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.065) 0:00:41.369 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.060) 0:00:41.430 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.036) 0:00:41.466 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.023) 0:00:41.490 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.024) 0:00:41.515 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.818) 0:00:42.333 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.724) 0:00:43.057 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.031) 0:00:43.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.043) 0:00:43.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.053) 0:00:43.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.125) 0:00:43.311 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.060) 0:00:43.372 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.035) 0:00:43.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.100) 0:00:43.508 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.277) 0:00:43.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.046) 0:00:43.833 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.026) 0:00:43.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.039) 0:00:43.899 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.350) 0:00:44.250 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.039) 0:00:44.289 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.051) 0:00:44.340 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.043) 0:00:44.383 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.045) 0:00:44.429 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.155) 0:00:44.584 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.038) 0:00:44.623 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.040) 0:00:44.664 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.086) 0:00:44.751 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.033) 0:00:44.784 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.024) 0:00:44.809 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.043) 0:00:44.852 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.804) 0:00:45.657 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.650) 0:00:46.308 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.026) 0:00:46.335 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.030) 0:00:46.365 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.027) 0:00:46.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.068) 0:00:46.461 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.066) 0:00:46.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.056) 0:00:46.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.025) 0:00:46.610 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.267) 0:00:46.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.046) 0:00:46.924 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.024) 0:00:46.948 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.022) 0:00:46.970 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.409) 0:00:47.380 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.043) 0:00:47.424 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.029) 0:00:47.453 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.040) 0:00:47.494 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.022) 0:00:47.517 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.133) 0:00:47.651 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.040) 0:00:47.692 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.041) 0:00:47.733 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.021) 0:00:47.754 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.141) 0:00:47.895 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.063) 0:00:47.959 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020803", "end": "2024-01-09 19:56:47.543657", "rc": 1, "start": "2024-01-09 19:56:47.522854" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.167) 0:00:48.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.036) 0:00:48.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.029) 0:00:48.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.045) 0:00:48.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.041) 0:00:48.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.024) 0:00:48.304 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.026) 0:00:48.330 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.047) 0:00:48.378 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.036) 0:00:48.414 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.142) 0:00:48.556 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.028) 0:00:48.585 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.027) 0:00:48.613 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.076) 0:00:48.689 ******* 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.042903", "end": "2024-01-09 19:56:48.288413", "rc": 1, "start": "2024-01-09 19:56:48.245510" } 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_type7bx_wqj8/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.207) 0:00:48.896 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.037) 0:00:48.934 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.035) 0:00:48.970 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.045) 0:00:49.016 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.040) 0:00:49.056 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.036) 0:00:49.092 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004621", "end": "2024-01-09 19:56:49.651240", "rc": 0, "start": "2024-01-09 19:56:48.646619" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:49 +0000 (0:00:01.145) 0:00:50.238 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.030) 0:00:50.269 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.045) 0:00:50.315 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.078) 0:00:50.394 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.035) 0:00:50.430 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.039) 0:00:50.470 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.028) 0:00:50.498 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.021) 0:00:50.520 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.022) 0:00:50.543 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.760) 0:00:51.303 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.636) 0:00:51.940 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.034) 0:00:51.974 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.051) 0:00:52.026 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.026) 0:00:52.053 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.053) 0:00:52.106 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.031) 0:00:52.138 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.028) 0:00:52.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.052) 0:00:52.218 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.251) 0:00:52.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.038) 0:00:52.508 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.025) 0:00:52.533 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.023) 0:00:52.556 ******* 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, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.342) 0:00:52.899 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.034) 0:00:52.933 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.030) 0:00:52.964 ******* 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, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.024) 0:00:52.989 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.023) 0:00:53.012 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.138) 0:00:53.151 ******* 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, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.022) 0:00:53.174 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.060) 0:00:53.234 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.039) 0:00:53.274 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.028) 0:00:53.303 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.024) 0:00:53.327 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.032) 0:00:53.360 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.772) 0:00:54.132 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.653) 0:00:54.786 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.038) 0:00:54.824 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.105) 0:00:54.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.075) 0:00:55.006 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.103) 0:00:55.109 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.024) 0:00:55.134 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.048) 0:00:55.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.040) 0:00:55.223 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.230) 0:00:55.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.033) 0:00:55.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.023) 0:00:55.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.029) 0:00:55.540 ******* 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, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.362) 0:00:55.903 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.045) 0:00:55.949 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.065) 0:00:56.015 ******* 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, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a6c8d12b-4b00-4ef1-b6ca-3648bb35a839 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.092) 0:00:56.107 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.084) 0:00:56.192 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.253) 0:00:56.445 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.057) 0:00:56.502 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.055) 0:00:56.558 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.141) 0:00:56.699 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.030) 0:00:56.729 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.022) 0:00:56.751 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.748) 0:00:57.500 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.664) 0:00:58.164 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.032) 0:00:58.197 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.027) 0:00:58.225 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.035) 0:00:58.260 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.053) 0:00:58.314 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.048) 0:00:58.363 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.052) 0:00:58.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.068) 0:00:58.484 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.256) 0:00:58.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.033) 0:00:58.774 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.023) 0:00:58.798 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.027) 0:00:58.825 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.418) 0:00:59.243 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.022) 0:00:59.265 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.023) 0:00:59.289 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.024) 0:00:59.313 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.023) 0:00:59.337 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.135) 0:00:59.473 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.039) 0:00:59.512 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.035) 0:00:59.548 ******* included: /WORKDIR/git-route_type7bx_wqj8/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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.071) 0:00:59.619 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.026) 0:00:59.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.031) 0:00:59.677 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.023) 0:00:59.700 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.754) 0:01:00.455 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.648) 0:01:01.103 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.023) 0:01:01.126 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.023) 0:01:01.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.022) 0:01:01.172 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.050) 0:01:01.223 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.022) 0:01:01.245 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.050) 0:01:01.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.064) 0:01:01.360 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.252) 0:01:01.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.056) 0:01:01.669 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.029) 0:01:01.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.038) 0:01:01.736 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.412) 0:01:02.149 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.031) 0:01:02.180 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.038) 0:01:02.218 ******* 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_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.033) 0:01:02.252 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.024) 0:01:02.277 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.138) 0:01:02.416 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.044) 0:01:02.461 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.038) 0:01:02.499 ******* 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.058) 0:01:02.558 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.159) 0:01:02.717 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.032) 0:01:02.750 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020546", "end": "2024-01-09 19:57:02.365618", "rc": 1, "start": "2024-01-09 19:57:02.345072" } 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_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.203) 0:01:02.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.034) 0:01:02.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.040) 0:01:03.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.027) 0:01:03.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.027) 0:01:03.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.024) 0:01:03.108 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.024) 0:01:03.133 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.405736", "end": "2024-01-09 19:57:03.092553", "rc": 0, "start": "2024-01-09 19:57:02.686817" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.551) 0:01:03.684 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.025) 0:01:03.709 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.061) 0:01:03.770 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.070) 0:01:03.841 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.080) 0:01:03.921 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.157) 0:01:04.079 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.025) 0:01:04.105 ******* 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_type7bx_wqj8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.045) 0:01:04.150 ******* included: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.065) 0:01:04.216 ******* 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.045475", "end": "2024-01-09 19:57:03.835877", "rc": 1, "start": "2024-01-09 19:57:03.790402" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.190) 0:01:04.407 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.93s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.45s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.33s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.24s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_type7bx_wqj8/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 1.03s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Re-test connectivity ----------------------- 0.89s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 0.78s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_type7bx_wqj8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_type7bx_wqj8/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. ---^---^---^---^---^---