# 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-defaults827u9lzb/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-defaults827u9lzb/tests/tests_states_nm.yml:6 Wednesday 03 July 2024 23:02:58 +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-defaults827u9lzb/tests/tests_states_nm.yml:9 Wednesday 03 July 2024 23:02:58 +0000 (0:00:00.630) 0:00:00.642 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/tasks/el_repo_setup.yml:3 Wednesday 03 July 2024 23:02:58 +0000 (0:00:00.024) 0:00:00.666 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/el_repo_setup.yml:19 Wednesday 03 July 2024 23:02:58 +0000 (0:00:00.260) 0:00:00.927 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/el_repo_setup.yml:24 Wednesday 03 July 2024 23:02:59 +0000 (0:00:00.289) 0:00:01.217 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/el_repo_setup.yml:28 Wednesday 03 July 2024 23:02:59 +0000 (0:00:00.020) 0:00:01.237 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/el_repo_setup.yml:53 Wednesday 03 July 2024 23:02:59 +0000 (0:00:00.018) 0:00:01.255 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/enable_epel.yml:8 Wednesday 03 July 2024 23:02:59 +0000 (0:00:00.035) 0:00:01.291 ******** 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-defaults827u9lzb/tests/tasks/enable_epel.yml:24 Wednesday 03 July 2024 23:02:59 +0000 (0:00:00.210) 0:00:01.501 ******** 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-defaults827u9lzb/tests/tasks/enable_epel.yml:30 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.499) 0:00:02.001 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.191261", "end": "2024-07-03 19:03:00.344265", "rc": 0, "start": "2024-07-03 19:03:00.153004" } 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-defaults827u9lzb/tests/tasks/enable_epel.yml:35 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.371) 0:00:02.373 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/enable_epel.yml:40 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.025) 0:00:02.399 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_states_nm.yml:11 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.023) 0:00:02.422 ******** 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-defaults827u9lzb/tests/playbooks/tests_states.yml:3 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.020) 0:00:02.443 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tests_states.yml:11 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.387) 0:00:02.830 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tests_states.yml:22 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.011) 0:00:02.841 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.016) 0:00:02.858 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.010) 0:00:02.869 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.036) 0:00:02.905 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.017) 0:00:02.923 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 23:03:00 +0000 (0:00:00.020) 0:00:02.944 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003597", "end": "2024-07-03 19:03:01.077058", "rc": 0, "start": "2024-07-03 19:03:01.073461" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.151) 0:00:03.096 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.027) 0:00:03.124 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.020) 0:00:03.144 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.027) 0:00:03.172 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013264", "end": "2024-07-03 19:03:01.369060", "rc": 1, "start": "2024-07-03 19:03:01.355796" } 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-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.199) 0:00:03.371 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.015) 0:00:03.387 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.149) 0:00:03.536 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.012) 0:00:03.549 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.017) 0:00:03.566 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.086) 0:00:03.653 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.023) 0:00:03.676 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.013) 0:00:03.690 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.010) 0:00:03.700 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:01 +0000 (0:00:00.010) 0:00:03.711 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:02 +0000 (0:00:00.855) 0:00:04.567 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:03 +0000 (0:00:01.162) 0:00:05.729 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.037) 0:00:05.767 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.021) 0:00:05.789 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.021) 0:00:05.811 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.023) 0:00:05.835 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.022) 0:00:05.857 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.028) 0:00:05.885 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.024) 0:00:05.909 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:03 +0000 (0:00:00.046) 0:00:05.955 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:04 +0000 (0:00:00.043) 0:00:05.999 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:04 +0000 (0:00:00.046) 0:00:06.046 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:04 +0000 (0:00:00.033) 0:00:06.079 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:04 +0000 (0:00:00.374) 0:00:06.454 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:04 +0000 (0:00:00.028) 0:00:06.483 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:04 +0000 (0:00:00.020) 0:00:06.503 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:04 +0000 (0:00:00.022) 0:00:06.526 ******** 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, a6561ff7-ed1e-4e55-83a4-6a893af56534 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.785) 0:00:07.312 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.021) 0:00:07.333 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6561ff7-ed1e-4e55-83a4-6a893af56534" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.022) 0:00:07.355 ******** 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, a6561ff7-ed1e-4e55-83a4-6a893af56534\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6561ff7-ed1e-4e55-83a4-6a893af56534" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.022) 0:00:07.378 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.020) 0:00:07.398 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.193) 0:00:07.592 ******** 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, a6561ff7-ed1e-4e55-83a4-6a893af56534\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a6561ff7-ed1e-4e55-83a4-6a893af56534" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.023) 0:00:07.616 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.039) 0:00:07.656 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.040) 0:00:07.697 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.024) 0:00:07.721 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047785.2763212, "block_size": 4096, "blocks": 8, "ctime": 1720047784.9603167, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22444, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720047784.9603167, "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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.155) 0:00:07.877 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 23:03:05 +0000 (0:00:00.027) 0:00:07.904 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026045", "end": "2024-07-03 19:03:06.056648", "rc": 0, "start": "2024-07-03 19:03:06.030603" } 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.181) 0:00:08.085 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.065) 0:00:08.151 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.023) 0:00:08.175 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.023) 0:00:08.198 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.025) 0:00:08.223 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.025) 0:00:08.248 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.027) 0:00:08.276 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.024) 0:00:08.300 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.032) 0:00:08.333 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.042) 0:00:08.376 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.035) 0:00:08.411 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047785.19432, "block_size": 4096, "blocks": 0, "ctime": 1720047785.19332, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17757, "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": 1720047785.19332, "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-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.191) 0:00:08.602 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.024) 0:00:08.626 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.021) 0:00:08.648 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.049) 0:00:08.698 ******** 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.087288", "end": "2024-07-03 19:03:06.917645", "rc": 1, "start": "2024-07-03 19:03:06.830357" } STDOUT: Connection 'statebr' (a6561ff7-ed1e-4e55-83a4-6a893af56534) successfully deleted. STDERR: (process:15167): GLib-GIO-WARNING **: 19:03:06.896: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/11 but no object proxy exists (process:15167): GLib-GIO-WARNING **: 19:03:06.896: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/24 but no object proxy exists (process:15167): GLib-GIO-WARNING **: 19:03:06.896: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/15 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-defaults827u9lzb/tests/playbooks/tests_states.yml:45 Wednesday 03 July 2024 23:03:06 +0000 (0:00:00.277) 0:00:08.975 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.049) 0:00:09.025 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.022) 0:00:09.048 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.044) 0:00:09.092 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.034) 0:00:09.126 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.032) 0:00:09.159 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003868", "end": "2024-07-03 19:03:07.288747", "rc": 0, "start": "2024-07-03 19:03:07.284879" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.155) 0:00:09.314 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.022) 0:00:09.337 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.021) 0:00:09.358 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.040) 0:00:09.398 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007576", "end": "2024-07-03 19:03:07.535061", "rc": 1, "start": "2024-07-03 19:03:07.527485" } 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-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.150) 0:00:09.548 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.038) 0:00:09.586 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.174) 0:00:09.761 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.038) 0:00:09.800 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.044) 0:00:09.844 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.068) 0:00:09.913 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.040) 0:00:09.953 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:07 +0000 (0:00:00.027) 0:00:09.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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:08 +0000 (0:00:00.019) 0:00:10.001 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:08 +0000 (0:00:00.020) 0:00:10.021 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:08 +0000 (0:00:00.737) 0:00:10.758 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.960) 0:00:11.719 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.023) 0:00:11.742 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.021) 0:00:11.764 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.023) 0:00:11.787 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.030) 0:00:11.817 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.025) 0:00:11.843 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.038) 0:00:11.881 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.025) 0:00:11.906 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.043) 0:00:11.949 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:09 +0000 (0:00:00.022) 0:00:11.972 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.024) 0:00:11.997 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.025) 0:00:12.022 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.263) 0:00:12.286 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.028) 0:00:12.315 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.021) 0:00:12.336 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.020) 0:00:12.357 ******** 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, deb126dd-23cd-4294-8db7-686933ecc58e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.370) 0:00:12.728 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.020) 0:00:12.748 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, deb126dd-23cd-4294-8db7-686933ecc58e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.022) 0:00:12.771 ******** 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, deb126dd-23cd-4294-8db7-686933ecc58e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, deb126dd-23cd-4294-8db7-686933ecc58e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.045) 0:00:12.817 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.026) 0:00:12.843 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 July 2024 23:03:10 +0000 (0:00:00.137) 0:00:12.981 ******** 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, deb126dd-23cd-4294-8db7-686933ecc58e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, deb126dd-23cd-4294-8db7-686933ecc58e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.023) 0:00:13.004 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.040) 0:00:13.045 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.032) 0:00:13.078 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.136) 0:00:13.214 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.023) 0:00:13.238 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.035) 0:00:13.273 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.020) 0:00:13.293 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047790.6683993, "block_size": 4096, "blocks": 8, "ctime": 1720047790.6683993, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22445, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720047790.6683993, "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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.141) 0:00:13.434 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.048) 0:00:13.483 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022570", "end": "2024-07-03 19:03:11.632648", "rc": 0, "start": "2024-07-03 19:03:11.610078" } 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.162) 0:00:13.646 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.025) 0:00:13.671 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.024) 0:00:13.696 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.023) 0:00:13.719 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.026) 0:00:13.745 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.024) 0:00:13.770 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.031) 0:00:13.802 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.025) 0:00:13.828 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.024) 0:00:13.852 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.028) 0:00:13.880 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.023) 0:00:13.904 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 23:03:11 +0000 (0:00:00.038) 0:00:13.943 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.052940", "end": "2024-07-03 19:03:12.126997", "rc": 1, "start": "2024-07-03 19:03:12.074057" } STDOUT: Connection 'statebr' (deb126dd-23cd-4294-8db7-686933ecc58e) 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-defaults827u9lzb/tests/playbooks/tests_states.yml:65 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.197) 0:00:14.140 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.039) 0:00:14.179 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.048) 0:00:14.227 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.043) 0:00:14.270 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.034) 0:00:14.305 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.032) 0:00:14.337 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003648", "end": "2024-07-03 19:03:12.469765", "rc": 0, "start": "2024-07-03 19:03:12.466117" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.148) 0:00:14.486 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.024) 0:00:14.510 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.022) 0:00:14.533 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.036) 0:00:14.569 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.035) 0:00:14.605 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.041) 0:00:14.646 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.028) 0:00:14.674 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.020) 0:00:14.695 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:12 +0000 (0:00:00.020) 0:00:14.715 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:13 +0000 (0:00:00.796) 0:00:15.512 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.933) 0:00:16.445 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.021) 0:00:16.466 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.021) 0:00:16.488 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.021) 0:00:16.509 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.020) 0:00:16.529 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.020) 0:00:16.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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.024) 0:00:16.575 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.024) 0:00:16.599 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.042) 0:00:16.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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.040) 0:00:16.682 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.021) 0:00:16.703 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.023) 0:00:16.726 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:14 +0000 (0:00:00.240) 0:00:16.967 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.025) 0:00:16.993 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.020) 0:00:17.013 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.021) 0:00:17.035 ******** 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, 853674b8-d636-4a4f-964b-7eb623453075 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.336) 0:00:17.371 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.019) 0:00:17.391 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 853674b8-d636-4a4f-964b-7eb623453075" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.021) 0:00:17.413 ******** 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, 853674b8-d636-4a4f-964b-7eb623453075\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 853674b8-d636-4a4f-964b-7eb623453075" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.020) 0:00:17.433 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.019) 0:00:17.452 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.135) 0:00:17.588 ******** 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, 853674b8-d636-4a4f-964b-7eb623453075\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 853674b8-d636-4a4f-964b-7eb623453075" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.021) 0:00:17.609 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.035) 0:00:17.645 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.069) 0:00:17.714 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.044) 0:00:17.758 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.028) 0:00:17.787 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.022) 0:00:17.809 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:15 +0000 (0:00:00.025) 0:00:17.835 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:16 +0000 (0:00:00.760) 0:00:18.595 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.927) 0:00:19.523 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.045) 0:00:19.568 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.022) 0:00:19.591 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.022) 0:00:19.614 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.023) 0:00:19.638 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.022) 0:00:19.660 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.025) 0:00:19.686 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.023) 0:00:19.710 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.042) 0:00:19.752 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.021) 0:00:19.773 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.021) 0:00:19.795 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:17 +0000 (0:00:00.024) 0:00:19.819 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.237) 0:00:20.056 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.023) 0:00:20.080 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.018) 0:00:20.099 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.019) 0:00:20.119 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 853674b8-d636-4a4f-964b-7eb623453075 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.294) 0:00:20.413 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.020) 0:00:20.434 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 853674b8-d636-4a4f-964b-7eb623453075 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.049) 0:00:20.483 ******** 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, 853674b8-d636-4a4f-964b-7eb623453075 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 853674b8-d636-4a4f-964b-7eb623453075 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.023) 0:00:20.507 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.021) 0:00:20.528 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.136) 0:00:20.665 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.042) 0:00:20.708 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.040) 0:00:20.749 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047795.3094668, "block_size": 4096, "blocks": 0, "ctime": 1720047795.3004665, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17757, "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": 1720047795.3004665, "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-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.144) 0:00:20.894 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.030) 0:00:20.924 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 23:03:18 +0000 (0:00:00.046) 0:00:20.971 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.037) 0:00:21.008 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047795.2994666, "block_size": 4096, "blocks": 8, "ctime": 1720047795.2984667, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22445, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720047795.2984667, "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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.145) 0:00:21.153 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.021) 0:00:21.175 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023141", "end": "2024-07-03 19:03:19.329607", "rc": 0, "start": "2024-07-03 19:03:19.306466" } 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.167) 0:00:21.342 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.059) 0:00:21.401 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.023) 0:00:21.425 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.024) 0:00:21.449 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.023) 0:00:21.472 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.021) 0:00:21.494 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.023) 0:00:21.517 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.022) 0:00:21.539 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.022) 0:00:21.562 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.020) 0:00:21.583 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.023) 0:00:21.606 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.038) 0:00:21.644 ******** 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.083014", "end": "2024-07-03 19:03:19.861458", "rc": 1, "start": "2024-07-03 19:03:19.778444" } STDOUT: Connection 'statebr' (853674b8-d636-4a4f-964b-7eb623453075) 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-defaults827u9lzb/tests/playbooks/tests_states.yml:83 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.228) 0:00:21.873 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.038) 0:00:21.911 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.021) 0:00:21.933 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 23:03:19 +0000 (0:00:00.043) 0:00:21.976 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.058) 0:00:22.035 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.032) 0:00:22.067 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004193", "end": "2024-07-03 19:03:20.204517", "rc": 0, "start": "2024-07-03 19:03:20.200324" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.155) 0:00:22.222 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.021) 0:00:22.244 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.022) 0:00:22.266 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.040) 0:00:22.307 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.035) 0:00:22.343 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.039) 0:00:22.382 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.024) 0:00:22.406 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.020) 0:00:22.427 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:20 +0000 (0:00:00.019) 0:00:22.447 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:21 +0000 (0:00:00.760) 0:00:23.207 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.929) 0:00:24.136 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.022) 0:00:24.158 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.021) 0:00:24.180 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.021) 0:00:24.201 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.021) 0:00:24.222 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.020) 0:00:24.243 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.025) 0:00:24.268 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.024) 0:00:24.293 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.041) 0:00:24.335 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.020) 0:00:24.355 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.019) 0:00:24.375 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.046) 0:00:24.421 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.240) 0:00:24.662 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.023) 0:00:24.686 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.020) 0:00:24.706 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:22 +0000 (0:00:00.019) 0:00:24.726 ******** 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, 3895bb2a-c486-408e-9803-1727073d2e40 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.351) 0:00:25.078 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.022) 0:00:25.100 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3895bb2a-c486-408e-9803-1727073d2e40" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.022) 0:00:25.122 ******** 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, 3895bb2a-c486-408e-9803-1727073d2e40\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3895bb2a-c486-408e-9803-1727073d2e40" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.024) 0:00:25.147 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.020) 0:00:25.168 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.167) 0:00:25.335 ******** 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, 3895bb2a-c486-408e-9803-1727073d2e40\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3895bb2a-c486-408e-9803-1727073d2e40" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.022) 0:00:25.358 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.035) 0:00:25.393 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.039) 0:00:25.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.071) 0:00:25.504 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.021) 0:00:25.525 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:23 +0000 (0:00:00.019) 0:00:25.545 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:24 +0000 (0:00:00.739) 0:00:26.284 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.943) 0:00:27.227 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.022) 0:00:27.249 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.020) 0:00:27.270 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.019) 0:00:27.289 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.043) 0:00:27.333 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.020) 0:00:27.353 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.023) 0:00:27.377 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.022) 0:00:27.399 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.041) 0:00:27.440 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.019) 0:00:27.460 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.019) 0:00:27.479 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.023) 0:00:27.502 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.238) 0:00:27.741 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.023) 0:00:27.765 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.019) 0:00:27.784 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:25 +0000 (0:00:00.019) 0:00:27.804 ******** 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, 3895bb2a-c486-408e-9803-1727073d2e40 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.288) 0:00:28.092 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.021) 0:00:28.114 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3895bb2a-c486-408e-9803-1727073d2e40 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.022) 0:00:28.136 ******** 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, 3895bb2a-c486-408e-9803-1727073d2e40 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3895bb2a-c486-408e-9803-1727073d2e40 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.023) 0:00:28.160 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.021) 0:00:28.181 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.169) 0:00:28.351 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.039) 0:00:28.390 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.043) 0:00:28.433 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.038) 0:00:28.471 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.025) 0:00:28.497 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.020) 0:00:28.517 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:26 +0000 (0:00:00.020) 0:00:28.538 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:27 +0000 (0:00:00.740) 0:00:29.278 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.926) 0:00:30.205 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.021) 0:00:30.226 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.019) 0:00:30.246 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.019) 0:00:30.265 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.018) 0:00:30.284 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.019) 0:00:30.304 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.023) 0:00:30.327 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.022) 0:00:30.350 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.040) 0:00:30.391 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.019) 0:00:30.410 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.019) 0:00:30.430 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.021) 0:00:30.452 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.237) 0:00:30.689 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.023) 0:00:30.713 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.018) 0:00:30.732 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:28 +0000 (0:00:00.045) 0:00:30.777 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.327) 0:00:31.104 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.021) 0:00:31.125 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.021) 0:00:31.147 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.022) 0:00:31.170 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.020) 0:00:31.190 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.152) 0:00:31.343 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.040) 0:00:31.384 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.033) 0:00:31.417 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047803.0065784, "block_size": 4096, "blocks": 0, "ctime": 1720047803.0055785, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17759, "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": 1720047803.0055785, "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-defaults827u9lzb/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.146) 0:00:31.563 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.023) 0:00:31.587 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.035) 0:00:31.622 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.021) 0:00:31.644 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.159) 0:00:31.804 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.021) 0:00:31.825 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022818", "end": "2024-07-03 19:03:29.974747", "rc": 1, "start": "2024-07-03 19:03:29.951929" } 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 23:03:29 +0000 (0:00:00.162) 0:00:31.987 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.022) 0:00:32.009 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.021) 0:00:32.030 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.020) 0:00:32.050 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.022) 0:00:32.073 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.023) 0:00:32.097 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.022) 0:00:32.120 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.019) 0:00:32.140 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.022) 0:00:32.162 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.038) 0:00:32.201 ******** 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.087093", "end": "2024-07-03 19:03:30.416998", "rc": 1, "start": "2024-07-03 19:03:30.329905" } STDOUT: Connection 'statebr' (3895bb2a-c486-408e-9803-1727073d2e40) successfully deleted. STDERR: (process:16495): GLib-GIO-WARNING **: 19:03:30.394: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/13 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-defaults827u9lzb/tests/playbooks/tests_states.yml:103 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.226) 0:00:32.428 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.034) 0:00:32.462 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.019) 0:00:32.482 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.076) 0:00:32.558 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.033) 0:00:32.592 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.032) 0:00:32.624 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003749", "end": "2024-07-03 19:03:30.763685", "rc": 0, "start": "2024-07-03 19:03:30.759936" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.152) 0:00:32.777 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.022) 0:00:32.800 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.022) 0:00:32.822 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.044) 0:00:32.866 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.035) 0:00:32.902 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.038) 0:00:32.940 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.025) 0:00:32.965 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:30 +0000 (0:00:00.018) 0:00:32.984 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:31 +0000 (0:00:00.019) 0:00:33.004 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:31 +0000 (0:00:00.721) 0:00:33.725 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.928) 0:00:34.654 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.022) 0:00:34.676 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.021) 0:00:34.697 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.019) 0:00:34.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 DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.020) 0:00:34.737 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.020) 0:00:34.758 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.024) 0:00:34.783 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.024) 0:00:34.807 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.040) 0:00:34.848 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.045) 0:00:34.893 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.020) 0:00:34.914 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:32 +0000 (0:00:00.023) 0:00:34.938 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.233) 0:00:35.171 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.025) 0:00:35.196 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.019) 0:00:35.215 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.019) 0:00:35.235 ******** 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, f5f75fc2-7f54-4fb5-8832-4dd33e75084a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.371) 0:00:35.606 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.020) 0:00:35.627 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5f75fc2-7f54-4fb5-8832-4dd33e75084a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.021) 0:00:35.648 ******** 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, f5f75fc2-7f54-4fb5-8832-4dd33e75084a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5f75fc2-7f54-4fb5-8832-4dd33e75084a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.020) 0:00:35.669 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.020) 0:00:35.689 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.135) 0:00:35.824 ******** 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, f5f75fc2-7f54-4fb5-8832-4dd33e75084a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5f75fc2-7f54-4fb5-8832-4dd33e75084a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.021) 0:00:35.846 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.032) 0:00:35.879 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.063) 0:00:35.942 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.025) 0:00:35.967 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:33 +0000 (0:00:00.019) 0:00:35.986 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:34 +0000 (0:00:00.019) 0:00:36.006 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:34 +0000 (0:00:00.780) 0:00:36.786 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.933) 0:00:37.719 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.020) 0:00:37.740 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.019) 0:00:37.759 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.043) 0:00:37.802 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.021) 0:00:37.824 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.020) 0:00:37.844 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.024) 0:00:37.868 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.022) 0:00:37.890 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.046) 0:00:37.936 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.021) 0:00:37.958 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:35 +0000 (0:00:00.021) 0:00:37.979 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.024) 0:00:38.004 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.234) 0:00:38.238 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.024) 0:00:38.263 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.022) 0:00:38.285 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.024) 0:00:38.309 ******** 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, f5f75fc2-7f54-4fb5-8832-4dd33e75084a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.288) 0:00:38.598 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.020) 0:00:38.618 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f5f75fc2-7f54-4fb5-8832-4dd33e75084a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.021) 0:00:38.640 ******** 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, f5f75fc2-7f54-4fb5-8832-4dd33e75084a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f5f75fc2-7f54-4fb5-8832-4dd33e75084a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.021) 0:00:38.661 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.044) 0:00:38.706 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.135) 0:00:38.841 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.034) 0:00:38.876 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.038) 0:00:38.914 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.025) 0:00:38.940 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.020) 0:00:38.961 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:36 +0000 (0:00:00.020) 0:00:38.982 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:37 +0000 (0:00:00.722) 0:00:39.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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.946) 0:00:40.651 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.021) 0:00:40.672 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.020) 0:00:40.693 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.019) 0:00:40.713 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.019) 0:00:40.732 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.020) 0:00:40.753 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.023) 0:00:40.777 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.023) 0:00:40.800 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.040) 0:00:40.841 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.019) 0:00:40.861 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.019) 0:00:40.881 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:38 +0000 (0:00:00.022) 0:00:40.903 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.235) 0:00:41.139 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.026) 0:00:41.165 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.019) 0:00:41.184 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.019) 0:00:41.203 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.353) 0:00:41.557 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.020) 0:00:41.578 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.021) 0:00:41.600 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.022) 0:00:41.622 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.024) 0:00:41.647 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.133) 0:00:41.781 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.039) 0:00:41.820 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.038) 0:00:41.859 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.038) 0:00:41.898 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.024) 0:00:41.923 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.020) 0:00:41.944 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:39 +0000 (0:00:00.019) 0:00:41.963 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:40 +0000 (0:00:00.740) 0:00:42.703 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.934) 0:00:43.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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.022) 0:00:43.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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.019) 0:00:43.679 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.020) 0:00:43.700 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.020) 0:00:43.720 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.021) 0:00:43.741 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.023) 0:00:43.765 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.022) 0:00:43.788 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.041) 0:00:43.829 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.019) 0:00:43.848 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.049) 0:00:43.898 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:41 +0000 (0:00:00.026) 0:00:43.924 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.233) 0:00:44.157 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.024) 0:00:44.182 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.020) 0:00:44.202 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.019) 0:00:44.222 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.382) 0:00:44.605 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.020) 0:00:44.625 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.022) 0:00:44.647 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.021) 0:00:44.669 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.019) 0:00:44.689 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.141) 0:00:44.830 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.037) 0:00:44.868 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.034) 0:00:44.902 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 23:03:42 +0000 (0:00:00.055) 0:00:44.958 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.148) 0:00:45.107 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.021) 0:00:45.128 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020808", "end": "2024-07-03 19:03:43.278538", "rc": 1, "start": "2024-07-03 19:03:43.257730" } 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.161) 0:00:45.290 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.023) 0:00:45.314 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.024) 0:00:45.339 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.023) 0:00:45.362 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.021) 0:00:45.384 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.022) 0:00:45.406 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.023) 0:00:45.430 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.040) 0:00:45.470 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.033) 0:00:45.503 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.139) 0:00:45.643 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.024) 0:00:45.668 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.024) 0:00:45.692 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.070) 0:00:45.763 ******** 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.047137", "end": "2024-07-03 19:03:43.939319", "rc": 1, "start": "2024-07-03 19:03:43.892182" } 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-defaults827u9lzb/tests/playbooks/tests_states.yml:126 Wednesday 03 July 2024 23:03:43 +0000 (0:00:00.187) 0:00:45.950 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.036) 0:00:45.986 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.023) 0:00:46.009 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.044) 0:00:46.054 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.034) 0:00:46.088 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.035) 0:00:46.124 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-07-03 19:03:44.258844", "rc": 0, "start": "2024-07-03 19:03:44.254850" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.150) 0:00:46.275 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.024) 0:00:46.299 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:24 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.027) 0:00:46.326 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.044) 0:00:46.371 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.036) 0:00:46.408 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.069) 0:00:46.478 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.026) 0:00:46.504 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.021) 0:00:46.526 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:44 +0000 (0:00:00.024) 0:00:46.550 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:45 +0000 (0:00:00.726) 0:00:47.277 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.937) 0:00:48.214 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.022) 0:00:48.236 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.043) 0:00:48.280 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.021) 0:00:48.301 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.020) 0:00:48.321 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.020) 0:00:48.342 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.025) 0:00:48.367 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.023) 0:00:48.391 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.042) 0:00:48.433 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.020) 0:00:48.454 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.019) 0:00:48.473 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.024) 0:00:48.497 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.238) 0:00:48.736 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.024) 0:00:48.761 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.019) 0:00:48.780 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:46 +0000 (0:00:00.019) 0:00:48.800 ******** 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, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.353) 0:00:49.153 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.021) 0:00:49.175 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.021) 0:00:49.196 ******** 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, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.049) 0:00:49.246 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.020) 0:00:49.266 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.141) 0:00:49.408 ******** 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, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.024) 0:00:49.433 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.036) 0:00:49.469 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.041) 0:00:49.511 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.031) 0:00:49.542 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.022) 0:00:49.565 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:47 +0000 (0:00:00.021) 0:00:49.586 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:48 +0000 (0:00:00.753) 0:00:50.339 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.962) 0:00:51.302 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.022) 0:00:51.324 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.019) 0:00:51.344 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.019) 0:00:51.363 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.019) 0:00:51.383 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.020) 0:00:51.403 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.024) 0:00:51.427 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.023) 0:00:51.451 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.041) 0:00:51.492 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.020) 0:00:51.513 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.020) 0:00:51.533 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.027) 0:00:51.561 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.234) 0:00:51.796 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.024) 0:00:51.820 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.049) 0:00:51.870 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:49 +0000 (0:00:00.021) 0:00:51.891 ******** 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, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.301) 0:00:52.193 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.020) 0:00:52.214 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.022) 0:00:52.236 ******** 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, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 879f05c9-f8ef-43be-afc3-2f7ecbb11b08 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.022) 0:00:52.258 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.019) 0:00:52.277 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.138) 0:00:52.415 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.036) 0:00:52.452 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.040) 0:00:52.492 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.027) 0:00:52.520 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.023) 0:00:52.543 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:50 +0000 (0:00:00.027) 0:00:52.571 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:51 +0000 (0:00:00.720) 0:00:53.291 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.929) 0:00:54.221 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.022) 0:00:54.243 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.020) 0:00:54.263 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.019) 0:00:54.283 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.020) 0:00:54.304 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.020) 0:00:54.325 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.024) 0:00:54.349 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.022) 0:00:54.372 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.043) 0:00:54.415 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.020) 0:00:54.436 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.052) 0:00:54.489 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.024) 0:00:54.513 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.242) 0:00:54.756 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.024) 0:00:54.781 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.020) 0:00:54.802 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:52 +0000 (0:00:00.020) 0:00:54.822 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.387) 0:00:55.210 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.021) 0:00:55.232 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.022) 0:00:55.255 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.023) 0:00:55.278 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.021) 0:00:55.300 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:30 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.146) 0:00:55.447 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.039) 0:00:55.486 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.075) 0:00:55.562 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.041) 0:00:55.603 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.027) 0:00:55.630 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.022) 0:00:55.653 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 23:03:53 +0000 (0:00:00.022) 0:00:55.676 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 23:03:54 +0000 (0:00:00.720) 0:00:56.397 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.931) 0:00:57.329 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.020) 0:00:57.349 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.043) 0:00:57.393 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.020) 0:00:57.414 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.020) 0:00:57.435 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.020) 0:00:57.455 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.023) 0:00:57.479 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.022) 0:00:57.501 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.050) 0:00:57.551 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.024) 0:00:57.576 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.020) 0:00:57.596 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.023) 0:00:57.620 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.237) 0:00:57.857 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.024) 0:00:57.881 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.020) 0:00:57.902 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 23:03:55 +0000 (0:00:00.019) 0:00:57.921 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.309) 0:00:58.231 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.020) 0:00:58.251 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.020) 0:00:58.272 ******** 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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.050) 0:00:58.323 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.020) 0:00:58.343 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:36 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.139) 0:00:58.482 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.042) 0:00:58.525 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.038) 0:00:58.564 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.021) 0:00:58.585 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.143) 0:00:58.729 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.021) 0:00:58.751 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021440", "end": "2024-07-03 19:03:56.960049", "rc": 1, "start": "2024-07-03 19:03:56.938609" } 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 03 July 2024 23:03:56 +0000 (0:00:00.223) 0:00:58.974 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.024) 0:00:58.999 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.027) 0:00:59.026 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.025) 0:00:59.052 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.022) 0:00:59.075 ******** 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-defaults827u9lzb/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.023) 0:00:59.098 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.023) 0:00:59.121 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.681863", "end": "2024-07-03 19:03:57.933356", "rc": 0, "start": "2024-07-03 19:03:57.251493" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.823) 0:00:59.945 ******** 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-defaults827u9lzb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 03 July 2024 23:03:57 +0000 (0:00:00.022) 0:00:59.968 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:42 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.026) 0:00:59.994 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.053) 0:01:00.047 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.038) 0:01:00.086 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.163) 0:01:00.250 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.034) 0:01:00.284 ******** 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-defaults827u9lzb/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.023) 0:01:00.308 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.043) 0:01:00.352 ******** 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.048472", "end": "2024-07-03 19:03:58.537853", "rc": 1, "start": "2024-07-03 19:03:58.489381" } 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-defaults827u9lzb/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.199) 0:01:00.551 ******** 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.008005", "end": "2024-07-03 19:03:58.693141", "rc": 0, "start": "2024-07-03 19:03:58.685136" } 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 0a:ff:c0:44:f0:31 brd ff:ff:ff:ff:ff:ff inet 10.31.14.170/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 2940sec preferred_lft 2940sec inet6 fe80::8ff:c0ff:fe44:f031/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.170 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-defaults827u9lzb/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 03 July 2024 23:03:58 +0000 (0:00:00.187) 0:01:00.738 ******** 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.375170", "end": "2024-07-03 19:03:59.248924", "rc": 0, "start": "2024-07-03 19:03:58.873754" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed7 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 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 1565 0 --:--:-- --:--:-- --:--:-- 1572 % 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 291 100 291 0 0 1876 0 --:--:-- --:--:-- --:--:-- 1889 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Wednesday 03 July 2024 23:03:59 +0000 (0:00:00.511) 0:01:01.250 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.20s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.33s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.17s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which packages are installed --------- 1.16s /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.95s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-network-state-in-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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-defaults827u9lzb/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. ---^---^---^---^---^---