# 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-network-state-in-defaults5ybm9l9v/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tests_states_nm.yml:6 Saturday 06 July 2024 00:48:10 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tests_states_nm.yml:9 Saturday 06 July 2024 00:48:11 +0000 (0:00:00.618) 0:00:00.631 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/tasks/el_repo_setup.yml:3 Saturday 06 July 2024 00:48:11 +0000 (0:00:00.023) 0:00:00.654 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/el_repo_setup.yml:19 Saturday 06 July 2024 00:48:11 +0000 (0:00:00.219) 0:00:00.874 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/el_repo_setup.yml:24 Saturday 06 July 2024 00:48:12 +0000 (0:00:00.205) 0:00:01.080 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/el_repo_setup.yml:28 Saturday 06 July 2024 00:48:12 +0000 (0:00:00.021) 0:00:01.102 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/el_repo_setup.yml:53 Saturday 06 July 2024 00:48:12 +0000 (0:00:00.026) 0:00:01.128 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/enable_epel.yml:8 Saturday 06 July 2024 00:48:12 +0000 (0:00:00.035) 0:00:01.163 ********* 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-network-state-in-defaults5ybm9l9v/tests/tasks/enable_epel.yml:24 Saturday 06 July 2024 00:48:12 +0000 (0:00:00.205) 0:00:01.369 ********* 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-network-state-in-defaults5ybm9l9v/tests/tasks/enable_epel.yml:30 Saturday 06 July 2024 00:48:12 +0000 (0:00:00.466) 0:00:01.835 ********* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178661", "end": "2024-07-05 20:48:13.098450", "rc": 0, "start": "2024-07-05 20:48:12.919789" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/enable_epel.yml:35 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.301) 0:00:02.136 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tasks/enable_epel.yml:40 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.012) 0:00:02.149 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/tests_states_nm.yml:11 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.009) 0:00:02.159 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:3 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.010) 0:00:02.170 ********* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:11 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.359) 0:00:02.529 ********* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:22 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.010) 0:00:02.540 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:5 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.015) 0:00:02.556 ********* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:9 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.011) 0:00:02.567 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:21 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.032) 0:00:02.599 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.014) 0:00:02.614 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.012) 0:00:02.627 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003114", "end": "2024-07-05 20:48:13.715249", "rc": 0, "start": "2024-07-05 20:48:13.712135" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.123) 0:00:02.751 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.012) 0:00:02.763 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:24 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.009) 0:00:02.773 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.020) 0:00:02.793 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010509", "end": "2024-07-05 20:48:13.886522", "rc": 1, "start": "2024-07-05 20:48:13.876013" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.127) 0:00:02.921 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:48:13 +0000 (0:00:00.014) 0:00:02.935 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.127) 0:00:03.063 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:30 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.022) 0:00:03.086 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.033) 0:00:03.120 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.092) 0:00:03.212 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.033) 0:00:03.245 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.014) 0:00:03.259 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.016) 0:00:03.276 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:14 +0000 (0:00:00.011) 0:00:03.288 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:15 +0000 (0:00:00.747) 0:00:04.035 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:16 +0000 (0:00:01.091) 0:00:05.127 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.022) 0:00:05.150 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.019) 0:00:05.169 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.019) 0:00:05.189 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.020) 0:00:05.209 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.021) 0:00:05.231 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.026) 0:00:05.257 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.034) 0:00:05.291 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.049) 0:00:05.341 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.022) 0:00:05.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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.020) 0:00:05.383 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.023) 0:00:05.407 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.357) 0:00:05.764 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.024) 0:00:05.788 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.021) 0:00:05.809 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:16 +0000 (0:00:00.018) 0:00:05.828 ********* 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, 3142b78c-5ab7-44b1-9d1f-71ba68caf745 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.475) 0:00:06.304 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.021) 0:00:06.325 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3142b78c-5ab7-44b1-9d1f-71ba68caf745" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.022) 0:00:06.348 ********* 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, 3142b78c-5ab7-44b1-9d1f-71ba68caf745\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3142b78c-5ab7-44b1-9d1f-71ba68caf745" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.021) 0:00:06.370 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.022) 0:00:06.393 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.196) 0:00:06.589 ********* 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, 3142b78c-5ab7-44b1-9d1f-71ba68caf745\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3142b78c-5ab7-44b1-9d1f-71ba68caf745" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:36 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.041) 0:00:06.631 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.068) 0:00:06.699 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.036) 0:00:06.735 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.027) 0:00:06.762 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720226897.189295, "block_size": 4096, "blocks": 8, "ctime": 1720226897.1882951, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22446, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720226897.1882951, "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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.134) 0:00:06.897 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 July 2024 00:48:17 +0000 (0:00:00.021) 0:00:06.918 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025195", "end": "2024-07-05 20:48:18.029855", "rc": 0, "start": "2024-07-05 20:48:18.004660" } 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.158) 0:00:07.077 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.022) 0:00:07.099 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.042) 0:00:07.142 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.023) 0:00:07.165 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.025) 0:00:07.191 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.023) 0:00:07.214 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.023) 0:00:07.237 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.023) 0:00:07.261 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:42 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.019) 0:00:07.281 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.040) 0:00:07.321 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.036) 0:00:07.357 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720226897.2002952, "block_size": 4096, "blocks": 0, "ctime": 1720226897.1912951, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17862, "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": 1720226897.1912951, "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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.138) 0:00:07.495 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:47 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.028) 0:00:07.523 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:66 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.032) 0:00:07.556 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.039) 0:00:07.595 ********* 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.081658", "end": "2024-07-05 20:48:18.763244", "rc": 1, "start": "2024-07-05 20:48:18.681586" } STDOUT: Connection 'statebr' (3142b78c-5ab7-44b1-9d1f-71ba68caf745) successfully deleted. STDERR: (process:17216): GLib-GIO-WARNING **: 20:48:18.742: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/19 but no object proxy exists (process:17216): GLib-GIO-WARNING **: 20:48:18.742: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/35 but no object proxy exists (process:17216): GLib-GIO-WARNING **: 20:48:18.742: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/22 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:45 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.215) 0:00:07.811 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:5 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.070) 0:00:07.881 ********* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:9 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.022) 0:00:07.904 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:21 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.043) 0:00:07.947 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.036) 0:00:07.984 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 July 2024 00:48:18 +0000 (0:00:00.031) 0:00:08.015 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003633", "end": "2024-07-05 20:48:19.170648", "rc": 0, "start": "2024-07-05 20:48:19.167015" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.202) 0:00:08.217 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.021) 0:00:08.239 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:24 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.019) 0:00:08.259 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.037) 0:00:08.297 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007050", "end": "2024-07-05 20:48:19.392642", "rc": 1, "start": "2024-07-05 20:48:19.385592" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.140) 0:00:08.437 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.033) 0:00:08.471 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.135) 0:00:08.606 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:30 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.050) 0:00:08.656 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.038) 0:00:08.695 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.040) 0:00:08.735 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.038) 0:00:08.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.025) 0:00:08.800 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.019) 0:00:08.820 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:19 +0000 (0:00:00.019) 0:00:08.840 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:20 +0000 (0:00:00.674) 0:00:09.515 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.926) 0:00:10.441 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.021) 0:00:10.463 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.020) 0:00:10.484 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.021) 0:00:10.505 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.020) 0:00:10.525 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.021) 0:00:10.547 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.025) 0:00:10.572 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.026) 0:00:10.598 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.042) 0:00:10.641 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.020) 0:00:10.661 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.019) 0:00:10.681 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.023) 0:00:10.705 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.227) 0:00:10.933 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.025) 0:00:10.958 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.019) 0:00:10.978 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:21 +0000 (0:00:00.019) 0:00:10.997 ********* 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, fb17cd60-2d1a-4c6b-ad37-c2709aa1dcd4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.311) 0:00:11.308 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.021) 0:00:11.330 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb17cd60-2d1a-4c6b-ad37-c2709aa1dcd4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.021) 0:00:11.352 ********* 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, fb17cd60-2d1a-4c6b-ad37-c2709aa1dcd4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb17cd60-2d1a-4c6b-ad37-c2709aa1dcd4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.024) 0:00:11.376 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.021) 0:00:11.398 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.130) 0:00:11.528 ********* 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, fb17cd60-2d1a-4c6b-ad37-c2709aa1dcd4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fb17cd60-2d1a-4c6b-ad37-c2709aa1dcd4" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:36 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.023) 0:00:11.551 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.042) 0:00:11.594 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.033) 0:00:11.628 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.167) 0:00:11.795 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.023) 0:00:11.818 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.036) 0:00:11.854 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 July 2024 00:48:22 +0000 (0:00:00.021) 0:00:11.876 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720226902.2453132, "block_size": 4096, "blocks": 8, "ctime": 1720226902.2453132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22446, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720226902.2453132, "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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.168) 0:00:12.044 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.022) 0:00:12.066 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022308", "end": "2024-07-05 20:48:23.174417", "rc": 0, "start": "2024-07-05 20:48:23.152109" } 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.154) 0:00:12.221 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.025) 0:00:12.247 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.023) 0:00:12.270 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.023) 0:00:12.293 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.025) 0:00:12.318 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.029) 0:00:12.348 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.027) 0:00:12.375 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.036) 0:00:12.412 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:42 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.027) 0:00:12.440 ********* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:47 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.019) 0:00:12.459 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:66 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.021) 0:00:12.480 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.037) 0:00:12.518 ********* 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.051572", "end": "2024-07-05 20:48:23.656726", "rc": 1, "start": "2024-07-05 20:48:23.605154" } STDOUT: Connection 'statebr' (fb17cd60-2d1a-4c6b-ad37-c2709aa1dcd4) 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:65 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.184) 0:00:12.702 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:5 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.035) 0:00:12.738 ********* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:9 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.065) 0:00:12.804 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:21 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.052) 0:00:12.857 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.047) 0:00:12.905 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 July 2024 00:48:23 +0000 (0:00:00.056) 0:00:12.961 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2024-07-05 20:48:24.058471", "rc": 0, "start": "2024-07-05 20:48:24.055015" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.150) 0:00:13.112 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.032) 0:00:13.144 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:24 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.023) 0:00:13.168 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.036) 0:00:13.204 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.036) 0:00:13.241 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.040) 0:00:13.281 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.026) 0:00:13.307 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.022) 0:00:13.330 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:24 +0000 (0:00:00.019) 0:00:13.349 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:25 +0000 (0:00:00.712) 0:00:14.062 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:25 +0000 (0:00:00.898) 0:00:14.960 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:25 +0000 (0:00:00.020) 0:00:14.980 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:25 +0000 (0:00:00.020) 0:00:15.001 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:25 +0000 (0:00:00.019) 0:00:15.021 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.024) 0:00:15.045 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.020) 0:00:15.066 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.030) 0:00:15.096 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.025) 0:00:15.122 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.047) 0:00:15.169 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.019) 0:00:15.189 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.047) 0:00:15.237 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.028) 0:00:15.266 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.231) 0:00:15.497 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.043) 0:00:15.540 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.033) 0:00:15.573 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.037) 0:00:15.611 ********* 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, 84746f4d-d354-4274-a4ad-27380e2c9f73 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.330) 0:00:15.942 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.020) 0:00:15.962 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84746f4d-d354-4274-a4ad-27380e2c9f73" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.022) 0:00:15.985 ********* 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, 84746f4d-d354-4274-a4ad-27380e2c9f73\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84746f4d-d354-4274-a4ad-27380e2c9f73" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:26 +0000 (0:00:00.022) 0:00:16.007 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.021) 0:00:16.029 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.149) 0:00:16.178 ********* 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, 84746f4d-d354-4274-a4ad-27380e2c9f73\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84746f4d-d354-4274-a4ad-27380e2c9f73" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:30 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.021) 0:00:16.200 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.038) 0:00:16.238 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.063) 0:00:16.301 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.038) 0:00:16.340 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.025) 0:00:16.365 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.020) 0:00:16.386 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:27 +0000 (0:00:00.021) 0:00:16.408 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:28 +0000 (0:00:00.670) 0:00:17.078 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:28 +0000 (0:00:00.905) 0:00:17.983 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:28 +0000 (0:00:00.022) 0:00:18.006 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.020) 0:00:18.027 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.043) 0:00:18.071 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.020) 0:00:18.092 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.028) 0:00:18.120 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.027) 0:00:18.148 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.029) 0:00:18.177 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.065) 0:00:18.242 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.024) 0:00:18.267 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.021) 0:00:18.288 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.025) 0:00:18.314 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.225) 0:00:18.539 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.025) 0:00:18.564 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.020) 0:00:18.584 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.030) 0:00:18.614 ********* 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, 84746f4d-d354-4274-a4ad-27380e2c9f73 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.299) 0:00:18.914 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.036) 0:00:18.951 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84746f4d-d354-4274-a4ad-27380e2c9f73 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.029) 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": [ { "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, 84746f4d-d354-4274-a4ad-27380e2c9f73 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84746f4d-d354-4274-a4ad-27380e2c9f73 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:29 +0000 (0:00:00.024) 0:00:19.005 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.053) 0:00:19.058 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:36 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.130) 0:00:19.189 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.044) 0:00:19.234 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.034) 0:00:19.268 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720226906.8503296, "block_size": 4096, "blocks": 0, "ctime": 1720226906.8393295, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17862, "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": 1720226906.8393295, "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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.137) 0:00:19.405 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.023) 0:00:19.429 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.037) 0:00:19.467 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.022) 0:00:19.489 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720226906.8383296, "block_size": 4096, "blocks": 8, "ctime": 1720226906.8373296, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22446, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720226906.8373296, "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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.143) 0:00:19.633 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.033) 0:00:19.666 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021886", "end": "2024-07-05 20:48:30.821363", "rc": 0, "start": "2024-07-05 20:48:30.799477" } 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.201) 0:00:19.868 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.022) 0:00:19.891 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.021) 0:00:19.912 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.021) 0:00:19.933 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.047) 0:00:19.981 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 July 2024 00:48:30 +0000 (0:00:00.022) 0:00:20.004 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.023) 0:00:20.027 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.021) 0:00:20.048 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:42 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.022) 0:00:20.071 ********* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:47 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.019) 0:00:20.090 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:66 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.019) 0:00:20.110 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.036) 0:00:20.147 ********* 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.080022", "end": "2024-07-05 20:48:31.316940", "rc": 1, "start": "2024-07-05 20:48:31.236918" } STDOUT: Connection 'statebr' (84746f4d-d354-4274-a4ad-27380e2c9f73) successfully deleted. STDERR: (process:17928): GLib-GIO-WARNING **: 20:48:31.295: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:83 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.216) 0:00:20.363 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:5 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.034) 0:00:20.398 ********* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:9 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.022) 0:00:20.421 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:21 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.047) 0:00:20.468 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.034) 0:00:20.502 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.033) 0:00:20.535 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003598", "end": "2024-07-05 20:48:31.626815", "rc": 0, "start": "2024-07-05 20:48:31.623217" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.160) 0:00:20.696 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.022) 0:00:20.719 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:24 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.021) 0:00:20.740 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.045) 0:00:20.785 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.036) 0:00:20.822 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.040) 0:00:20.863 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.026) 0:00:20.889 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.022) 0:00:20.912 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:31 +0000 (0:00:00.021) 0:00:20.933 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:32 +0000 (0:00:00.689) 0:00:21.622 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.941) 0:00:22.564 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.022) 0:00:22.586 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.021) 0:00:22.607 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.021) 0:00:22.629 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.019) 0:00:22.648 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.021) 0:00:22.669 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.026) 0:00:22.696 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.029) 0:00:22.725 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.044) 0:00:22.769 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.021) 0:00:22.791 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.021) 0:00:22.813 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:33 +0000 (0:00:00.023) 0:00:22.837 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.224) 0:00:23.061 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.054) 0:00:23.115 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.020) 0:00:23.136 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.020) 0:00:23.157 ********* 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, c131513b-e74a-45b9-96dd-b1f8018f3d0b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.334) 0:00:23.492 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.021) 0:00:23.513 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c131513b-e74a-45b9-96dd-b1f8018f3d0b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.021) 0:00:23.535 ********* 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, c131513b-e74a-45b9-96dd-b1f8018f3d0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c131513b-e74a-45b9-96dd-b1f8018f3d0b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.022) 0:00:23.557 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.019) 0:00:23.577 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.135) 0:00:23.712 ********* 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, c131513b-e74a-45b9-96dd-b1f8018f3d0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c131513b-e74a-45b9-96dd-b1f8018f3d0b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.038) 0:00:23.750 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.052) 0:00:23.803 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.042) 0:00:23.846 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.027) 0:00:23.873 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.019) 0:00:23.893 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:34 +0000 (0:00:00.019) 0:00:23.912 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:35 +0000 (0:00:00.739) 0:00:24.652 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.911) 0:00:25.563 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.023) 0:00:25.586 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.020) 0:00:25.607 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.021) 0:00:25.628 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.022) 0:00:25.650 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.021) 0:00:25.672 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.026) 0:00:25.698 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.024) 0:00:25.723 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.066) 0:00:25.790 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.021) 0:00:25.812 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.020) 0:00:25.832 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:36 +0000 (0:00:00.028) 0:00:25.860 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.233) 0:00:26.094 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.026) 0:00:26.120 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.022) 0:00:26.143 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.021) 0:00:26.164 ********* 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, c131513b-e74a-45b9-96dd-b1f8018f3d0b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.270) 0:00:26.434 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.019) 0:00:26.454 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c131513b-e74a-45b9-96dd-b1f8018f3d0b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.020) 0:00:26.475 ********* 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, c131513b-e74a-45b9-96dd-b1f8018f3d0b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c131513b-e74a-45b9-96dd-b1f8018f3d0b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.021) 0:00:26.496 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.019) 0:00:26.515 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:30 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.126) 0:00:26.642 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.040) 0:00:26.682 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.062) 0:00:26.744 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.040) 0:00:26.784 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.037) 0:00:26.822 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.022) 0:00:26.844 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:37 +0000 (0:00:00.019) 0:00:26.863 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:38 +0000 (0:00:00.665) 0:00:27.528 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.900) 0:00:28.429 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.020) 0:00:28.449 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.040) 0:00:28.490 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.021) 0:00:28.511 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.019) 0:00:28.530 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.019) 0:00:28.550 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.023) 0:00:28.574 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.023) 0:00:28.597 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.039) 0:00:28.637 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.019) 0:00:28.656 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.020) 0:00:28.677 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.022) 0:00:28.699 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.223) 0:00:28.922 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.023) 0:00:28.946 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.019) 0:00:28.965 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:39 +0000 (0:00:00.021) 0:00:28.987 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.320) 0:00:29.307 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.019) 0:00:29.327 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.022) 0:00:29.349 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.052) 0:00:29.402 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.022) 0:00:29.425 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:36 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.131) 0:00:29.556 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.045) 0:00:29.601 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.033) 0:00:29.635 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720226914.3903565, "block_size": 4096, "blocks": 0, "ctime": 1720226914.3893564, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17864, "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": 1720226914.3893564, "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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.136) 0:00:29.772 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.022) 0:00:29.794 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.035) 0:00:29.830 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.021) 0:00:29.851 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.137) 0:00:29.989 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 July 2024 00:48:40 +0000 (0:00:00.024) 0:00:30.013 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022070", "end": "2024-07-05 20:48:41.131531", "rc": 1, "start": "2024-07-05 20:48:41.109461" } 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.164) 0:00:30.178 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.022) 0:00:30.200 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.049) 0:00:30.250 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.022) 0:00:30.272 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.021) 0:00:30.294 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.021) 0:00:30.315 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:42 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.024) 0:00:30.340 ********* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:47 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.019) 0:00:30.359 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:66 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.026) 0:00:30.386 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.039) 0:00:30.426 ********* 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.082467", "end": "2024-07-05 20:48:41.601606", "rc": 1, "start": "2024-07-05 20:48:41.519139" } STDOUT: Connection 'statebr' (c131513b-e74a-45b9-96dd-b1f8018f3d0b) successfully deleted. STDERR: (process:18545): GLib-GIO-WARNING **: 20:48:41.577: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:103 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.222) 0:00:30.649 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:5 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.036) 0:00:30.685 ********* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:9 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.022) 0:00:30.708 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:21 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.046) 0:00:30.754 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.032) 0:00:30.786 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.030) 0:00:30.817 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003501", "end": "2024-07-05 20:48:41.912189", "rc": 0, "start": "2024-07-05 20:48:41.908688" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.173) 0:00:30.990 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 July 2024 00:48:41 +0000 (0:00:00.024) 0:00:31.014 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:24 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.020) 0:00:31.035 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.043) 0:00:31.079 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.036) 0:00:31.115 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.040) 0:00:31.156 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.027) 0:00:31.183 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.029) 0:00:31.212 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.028) 0:00:31.241 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:42 +0000 (0:00:00.700) 0:00:31.941 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.923) 0:00:32.865 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.022) 0:00:32.887 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.019) 0:00:32.906 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.019) 0:00:32.925 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.019) 0:00:32.945 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.019) 0:00:32.964 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.024) 0:00:32.989 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:43 +0000 (0:00:00.022) 0:00:33.011 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.041) 0:00:33.053 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.019) 0:00:33.073 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.019) 0:00:33.092 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.024) 0:00:33.116 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.220) 0:00:33.337 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.025) 0:00:33.362 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.046) 0:00:33.409 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.023) 0:00:33.432 ********* 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, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.320) 0:00:33.753 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.021) 0:00:33.774 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.021) 0:00:33.795 ********* 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, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.022) 0:00:33.818 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.019) 0:00:33.837 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.128) 0:00:33.966 ********* 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, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.022) 0:00:33.988 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:44 +0000 (0:00:00.032) 0:00:34.021 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:45 +0000 (0:00:00.039) 0:00:34.060 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:45 +0000 (0:00:00.025) 0:00:34.086 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:45 +0000 (0:00:00.020) 0:00:34.106 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:45 +0000 (0:00:00.019) 0:00:34.125 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:45 +0000 (0:00:00.665) 0:00:34.790 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.909) 0:00:35.700 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.022) 0:00:35.723 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.021) 0:00:35.744 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.021) 0:00:35.766 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.021) 0:00:35.788 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.029) 0:00:35.817 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.023) 0:00:35.841 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.023) 0:00:35.864 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.042) 0:00:35.906 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.043) 0:00:35.949 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.020) 0:00:35.970 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:46 +0000 (0:00:00.023) 0:00:35.993 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.228) 0:00:36.222 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.028) 0:00:36.251 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.031) 0:00:36.282 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.030) 0:00:36.313 ********* 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, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.339) 0:00:36.652 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.020) 0:00:36.673 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.020) 0:00:36.693 ********* 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, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c3ba0ae7-2618-4bd4-9813-aa0ea3f6e4ac skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.021) 0:00:36.714 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.019) 0:00:36.733 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.131) 0:00:36.865 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.038) 0:00:36.904 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.076) 0:00:36.980 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:47 +0000 (0:00:00.026) 0:00:37.007 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:48 +0000 (0:00:00.022) 0:00:37.029 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:48 +0000 (0:00:00.021) 0:00:37.050 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:48 +0000 (0:00:00.683) 0:00:37.734 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.895) 0:00:38.630 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.023) 0:00:38.653 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.022) 0:00:38.676 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.022) 0:00:38.698 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.031) 0:00:38.730 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.050) 0:00:38.781 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.029) 0:00:38.810 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.026) 0:00:38.837 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.043) 0:00:38.880 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.023) 0:00:38.903 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.020) 0:00:38.924 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:49 +0000 (0:00:00.026) 0:00:38.951 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.222) 0:00:39.173 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.024) 0:00:39.197 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.019) 0:00:39.217 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.019) 0:00:39.237 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.310) 0:00:39.547 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.020) 0:00:39.568 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.021) 0:00:39.590 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.020) 0:00:39.610 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.019) 0:00:39.629 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:30 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.130) 0:00:39.760 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.097) 0:00:39.857 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.040) 0:00:39.897 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.051) 0:00:39.949 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.031) 0:00:39.981 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:50 +0000 (0:00:00.021) 0:00:40.003 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:51 +0000 (0:00:00.023) 0:00:40.026 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:51 +0000 (0:00:00.677) 0:00:40.704 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.932) 0:00:41.637 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.022) 0:00:41.659 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.019) 0:00:41.678 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.019) 0:00:41.698 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.019) 0:00:41.717 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.019) 0:00:41.737 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.024) 0:00:41.762 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.023) 0:00:41.785 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.045) 0:00:41.830 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.021) 0:00:41.851 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.021) 0:00:41.873 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:52 +0000 (0:00:00.024) 0:00:41.898 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.232) 0:00:42.130 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.025) 0:00:42.155 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.020) 0:00:42.175 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.019) 0:00:42.195 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.403) 0:00:42.599 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.019) 0:00:42.618 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.021) 0:00:42.640 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.022) 0:00:42.662 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.020) 0:00:42.682 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:36 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.134) 0:00:42.816 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.039) 0:00:42.856 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.035) 0:00:42.892 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 July 2024 00:48:53 +0000 (0:00:00.020) 0:00:42.913 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.135) 0:00:43.048 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.021) 0:00:43.070 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020202", "end": "2024-07-05 20:48:54.177047", "rc": 1, "start": "2024-07-05 20:48:54.156845" } 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.154) 0:00:43.224 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.021) 0:00:43.246 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.022) 0:00:43.268 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.049) 0:00:43.318 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.020) 0:00:43.339 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.021) 0:00:43.360 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:42 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.032) 0:00:43.392 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.041) 0:00:43.434 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.032) 0:00:43.466 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.138) 0:00:43.605 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:47 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.024) 0:00:43.630 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:66 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.021) 0:00:43.652 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.039) 0:00:43.691 ********* 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.042620", "end": "2024-07-05 20:48:54.822661", "rc": 1, "start": "2024-07-05 20:48:54.780041" } 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tests_states.yml:126 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.176) 0:00:43.868 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:5 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.034) 0:00:43.903 ********* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:9 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.020) 0:00:43.924 ********* 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:21 Saturday 06 July 2024 00:48:54 +0000 (0:00:00.068) 0:00:43.992 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.033) 0:00:44.026 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.032) 0:00:44.059 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003633", "end": "2024-07-05 20:48:55.148457", "rc": 0, "start": "2024-07-05 20:48:55.144824" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.136) 0:00:44.196 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.021) 0:00:44.217 ********* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:24 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.020) 0:00:44.238 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.041) 0:00:44.279 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.037) 0:00:44.316 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.041) 0:00:44.358 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.029) 0:00:44.388 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.021) 0:00:44.410 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:55 +0000 (0:00:00.019) 0:00:44.430 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:56 +0000 (0:00:00.672) 0:00:45.103 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:48:56 +0000 (0:00:00.893) 0:00:45.997 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:48:56 +0000 (0:00:00.021) 0:00:46.018 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.019) 0:00:46.037 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.019) 0:00:46.056 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.018) 0:00:46.075 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.020) 0:00:46.096 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.023) 0:00:46.120 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.024) 0:00:46.144 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.043) 0:00:46.188 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.021) 0:00:46.209 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.052) 0:00:46.261 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.026) 0:00:46.288 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.231) 0:00:46.519 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.026) 0:00:46.546 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.021) 0:00:46.567 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.021) 0:00:46.589 ********* 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, 1ad867da-47c4-4816-a3d3-932dde9d32af TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.410) 0:00:46.999 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:48:57 +0000 (0:00:00.020) 0:00:47.020 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ad867da-47c4-4816-a3d3-932dde9d32af" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.022) 0:00:47.042 ********* 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, 1ad867da-47c4-4816-a3d3-932dde9d32af\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ad867da-47c4-4816-a3d3-932dde9d32af" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.021) 0:00:47.064 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.019) 0:00:47.084 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.136) 0:00:47.220 ********* 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, 1ad867da-47c4-4816-a3d3-932dde9d32af\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1ad867da-47c4-4816-a3d3-932dde9d32af" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.023) 0:00:47.244 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.035) 0:00:47.280 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.064) 0:00:47.344 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.025) 0:00:47.370 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.021) 0:00:47.392 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:48:58 +0000 (0:00:00.020) 0:00:47.413 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:48:59 +0000 (0:00:00.700) 0:00:48.113 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.911) 0:00:49.025 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.021) 0:00:49.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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.019) 0:00:49.066 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.019) 0:00:49.086 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.019) 0:00:49.105 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.044) 0:00:49.150 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.025) 0:00:49.175 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.025) 0:00:49.200 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.044) 0:00:49.245 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.022) 0:00:49.267 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.024) 0:00:49.292 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.025) 0:00:49.318 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.230) 0:00:49.548 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.026) 0:00:49.574 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.020) 0:00:49.595 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.020) 0:00:49.616 ********* 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, 1ad867da-47c4-4816-a3d3-932dde9d32af skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.284) 0:00:49.900 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.021) 0:00:49.922 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1ad867da-47c4-4816-a3d3-932dde9d32af skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.022) 0:00:49.945 ********* 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, 1ad867da-47c4-4816-a3d3-932dde9d32af skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1ad867da-47c4-4816-a3d3-932dde9d32af skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.021) 0:00:49.967 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:49:00 +0000 (0:00:00.019) 0:00:49.986 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 July 2024 00:49:01 +0000 (0:00:00.132) 0:00:50.119 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:49:01 +0000 (0:00:00.061) 0:00:50.180 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:49:01 +0000 (0:00:00.039) 0:00:50.220 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:49:01 +0000 (0:00:00.027) 0:00:50.247 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:49:01 +0000 (0:00:00.020) 0:00:50.268 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:49:01 +0000 (0:00:00.021) 0:00:50.290 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:49:01 +0000 (0:00:00.682) 0:00:50.973 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:49:02 +0000 (0:00:00.915) 0:00:51.888 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:49:02 +0000 (0:00:00.045) 0:00:51.934 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:49:02 +0000 (0:00:00.021) 0:00:51.955 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:49:02 +0000 (0:00:00.019) 0:00:51.974 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:49:02 +0000 (0:00:00.019) 0:00:51.994 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:49:02 +0000 (0:00:00.019) 0:00:52.013 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.024) 0:00:52.037 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.022) 0:00:52.060 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.041) 0:00:52.101 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.019) 0:00:52.121 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.019) 0:00:52.141 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.023) 0:00:52.164 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.227) 0:00:52.392 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.024) 0:00:52.416 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.021) 0:00:52.438 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.020) 0:00:52.458 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.378) 0:00:52.837 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.057) 0:00:52.895 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.022) 0:00:52.917 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.023) 0:00:52.941 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:49:03 +0000 (0:00:00.021) 0:00:52.962 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:30 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.127) 0:00:53.089 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.037) 0:00:53.127 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.034) 0:00:53.161 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.038) 0:00:53.200 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.024) 0:00:53.224 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.021) 0:00:53.246 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.022) 0:00:53.268 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 July 2024 00:49:04 +0000 (0:00:00.704) 0:00:53.972 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 July 2024 00:49:05 +0000 (0:00:00.935) 0:00:54.907 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 July 2024 00:49:05 +0000 (0:00:00.021) 0:00:54.929 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 July 2024 00:49:05 +0000 (0:00:00.019) 0:00:54.949 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:28 Saturday 06 July 2024 00:49:05 +0000 (0:00:00.019) 0:00:54.968 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 06 July 2024 00:49:05 +0000 (0:00:00.019) 0:00:54.988 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 06 July 2024 00:49:05 +0000 (0:00:00.019) 0:00:55.007 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:72 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.023) 0:00:55.031 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:92 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.022) 0:00:55.054 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.041) 0:00:55.095 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:120 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.021) 0:00:55.116 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.019) 0:00:55.135 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.024) 0:00:55.160 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:162 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.249) 0:00:55.409 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:171 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.024) 0:00:55.433 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:179 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.019) 0:00:55.453 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.019) 0:00:55.473 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:200 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.298) 0:00:55.771 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:206 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.021) 0:00:55.793 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:210 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.028) 0:00:55.821 ********* 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-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:215 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.023) 0:00:55.844 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:221 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.019) 0:00:55.864 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:36 Saturday 06 July 2024 00:49:06 +0000 (0:00:00.136) 0:00:56.001 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.043) 0:00:56.044 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.035) 0:00:56.080 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.020) 0:00:56.100 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.130) 0:00:56.231 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.019) 0:00:56.250 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019497", "end": "2024-07-05 20:49:07.353534", "rc": 1, "start": "2024-07-05 20:49:07.334037" } 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.148) 0:00:56.399 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.021) 0:00:56.420 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.020) 0:00:56.441 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.022) 0:00:56.463 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.022) 0:00:56.486 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.020) 0:00:56.506 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 06 July 2024 00:49:07 +0000 (0:00:00.022) 0:00:56.528 ********* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.662982", "end": "2024-07-05 20:49:08.273120", "rc": 0, "start": "2024-07-05 20:49:07.610138" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.793) 0:00:57.321 ********* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.020) 0:00:57.342 ********* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:42 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.020) 0:00:57.363 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.039) 0:00:57.402 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.032) 0:00:57.435 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.157) 0:00:57.592 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:47 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.026) 0:00:57.619 ********* 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-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/run_test.yml:66 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.023) 0:00:57.642 ********* included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.046) 0:00:57.688 ********* 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.042447", "end": "2024-07-05 20:49:08.815038", "rc": 1, "start": "2024-07-05 20:49:08.772591" } 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 [Check routes and DNS] **************************************************** task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.172) 0:00:57.861 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007332", "end": "2024-07-05 20:49:08.953373", "rc": 0, "start": "2024-07-05 20:49:08.946041" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:8f:9a:5b:0a:e5 brd ff:ff:ff:ff:ff:ff inet 10.31.42.145/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2927sec preferred_lft 2927sec inet6 fe80::c8f:9aff:fe5b:ae5/64 scope link valid_lft forever preferred_lft forever 12: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 0e:4b:0c:ab:98:a7 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.145 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 06 July 2024 00:49:08 +0000 (0:00:00.138) 0:00:57.999 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.495804", "end": "2024-07-05 20:49:09.582756", "rc": 0, "start": "2024-07-05 20:49:09.086952" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1646 0 --:--:-- --:--:-- --:--:-- 1648 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1001 0 --:--:-- --:--:-- --:--:-- 1000 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 06 July 2024 00:49:09 +0000 (0:00:00.618) 0:00:58.618 ********* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.87s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.26s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.19s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.08s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.92s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.89s /WORKDIR/git-network-state-in-defaults5ybm9l9v/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---