# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-route_typeuve1rc78/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 18:48:28 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.572) 0:00:00.584 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.021) 0:00:00.605 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.245) 0:00:00.851 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.206) 0:00:01.057 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.020) 0:00:01.077 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.017) 0:00:01.095 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:48:29 +0000 (0:00:00.032) 0:00:01.127 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.202) 0:00:01.329 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:48:30 +0000 (0:00:00.547) 0:00:01.877 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.229996", "end": "2024-01-10 18:48:30.972913", "rc": 0, "start": "2024-01-10 18:48:30.742917" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.417) 0:00:02.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.038) 0:00:02.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.019) 0:00:02.352 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.033) 0:00:02.385 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.459) 0:00:02.844 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.009) 0:00:02.854 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.015) 0:00:02.870 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.010) 0:00:02.881 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.031) 0:00:02.912 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.015) 0:00:02.928 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.012) 0:00:02.940 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004001", "end": "2024-01-10 18:48:31.805299", "rc": 0, "start": "2024-01-10 18:48:31.801298" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.141) 0:00:03.082 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.011) 0:00:03.093 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.010) 0:00:03.104 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:48:31 +0000 (0:00:00.024) 0:00:03.129 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013725", "end": "2024-01-10 18:48:32.005105", "rc": 1, "start": "2024-01-10 18:48:31.991380" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.154) 0:00:03.283 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.030) 0:00:03.314 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.141) 0:00:03.455 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.014) 0:00:03.470 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.021) 0:00:03.491 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.048) 0:00:03.540 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.067) 0:00:03.607 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.011) 0:00:03.619 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.009) 0:00:03.628 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:32 +0000 (0:00:00.010) 0:00:03.639 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:33 +0000 (0:00:00.924) 0:00:04.564 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.816) 0:00:05.381 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.020) 0:00:05.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.019) 0:00:05.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.019) 0:00:05.441 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.041) 0:00:05.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.020) 0:00:05.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.021) 0:00:05.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.031) 0:00:05.556 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.401) 0:00:05.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.032) 0:00:05.990 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.019) 0:00:06.010 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:34 +0000 (0:00:00.020) 0:00:06.031 ***** 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, f1715add-45a0-4d62-8cb8-1506cc7f03d1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.508) 0:00:06.539 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.029) 0:00:06.569 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1715add-45a0-4d62-8cb8-1506cc7f03d1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.051) 0:00:06.621 ***** 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, f1715add-45a0-4d62-8cb8-1506cc7f03d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1715add-45a0-4d62-8cb8-1506cc7f03d1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.022) 0:00:06.644 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.019) 0:00:06.663 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.210) 0:00:06.874 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1715add-45a0-4d62-8cb8-1506cc7f03d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f1715add-45a0-4d62-8cb8-1506cc7f03d1" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.021) 0:00:06.896 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.037) 0:00:06.933 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.036) 0:00:06.970 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.021) 0:00:06.992 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912515.267395, "block_size": 4096, "blocks": 8, "ctime": 1704912515.1633945, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468688, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912515.1633945, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.144) 0:00:07.136 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:48:35 +0000 (0:00:00.022) 0:00:07.158 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027071", "end": "2024-01-10 18:48:36.047127", "rc": 0, "start": "2024-01-10 18:48:36.020056" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.174) 0:00:07.333 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.023) 0:00:07.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.022) 0:00:07.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.045) 0:00:07.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.026) 0:00:07.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.053) 0:00:07.504 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.023) 0:00:07.528 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.024) 0:00:07.552 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.021) 0:00:07.574 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.041) 0:00:07.615 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.034) 0:00:07.650 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912515.1663945, "block_size": 4096, "blocks": 0, "ctime": 1704912515.1653945, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17544, "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": 1704912515.1653945, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.138) 0:00:07.789 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.024) 0:00:07.813 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.020) 0:00:07.834 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.039) 0:00:07.873 ***** 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.092677", "end": "2024-01-10 18:48:36.822703", "rc": 1, "start": "2024-01-10 18:48:36.730026" } STDOUT: Connection 'statebr' (f1715add-45a0-4d62-8cb8-1506cc7f03d1) successfully deleted. STDERR: (process:26749): GLib-GIO-WARNING **: 18:48:36.795: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/31 but no object proxy exists (process:26749): GLib-GIO-WARNING **: 18:48:36.796: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/48 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.233) 0:00:08.106 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.034) 0:00:08.141 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.020) 0:00:08.162 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:36 +0000 (0:00:00.092) 0:00:08.254 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.039) 0:00:08.294 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.070) 0:00:08.364 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003724", "end": "2024-01-10 18:48:37.237697", "rc": 0, "start": "2024-01-10 18:48:37.233973" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.158) 0:00:08.522 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.023) 0:00:08.545 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.023) 0:00:08.568 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.044) 0:00:08.613 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007511", "end": "2024-01-10 18:48:37.481554", "rc": 1, "start": "2024-01-10 18:48:37.474043" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.152) 0:00:08.765 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.032) 0:00:08.798 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.135) 0:00:08.934 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.022) 0:00:08.957 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.039) 0:00:08.997 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.060) 0:00:09.057 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.039) 0:00:09.097 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.026) 0:00:09.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.021) 0:00:09.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:37 +0000 (0:00:00.021) 0:00:09.167 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:38 +0000 (0:00:00.795) 0:00:09.962 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.670) 0:00:10.633 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.041) 0:00:10.675 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.020) 0:00:10.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.021) 0:00:10.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.044) 0:00:10.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.025) 0:00:10.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.021) 0:00:10.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.024) 0:00:10.832 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.252) 0:00:11.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.029) 0:00:11.115 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.034) 0:00:11.150 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:39 +0000 (0:00:00.029) 0:00:11.180 ***** 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, 80ed2840-5ff7-4296-8566-22e19dfd6a43 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.384) 0:00:11.564 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.042) 0:00:11.606 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 80ed2840-5ff7-4296-8566-22e19dfd6a43" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.032) 0:00:11.639 ***** 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, 80ed2840-5ff7-4296-8566-22e19dfd6a43\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 80ed2840-5ff7-4296-8566-22e19dfd6a43" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.024) 0:00:11.663 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.029) 0:00:11.693 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.181) 0:00:11.874 ***** 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, 80ed2840-5ff7-4296-8566-22e19dfd6a43\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 80ed2840-5ff7-4296-8566-22e19dfd6a43" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.034) 0:00:11.908 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.052) 0:00:11.960 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.043) 0:00:12.004 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.147) 0:00:12.151 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.022) 0:00:12.173 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.036) 0:00:12.210 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:48:40 +0000 (0:00:00.020) 0:00:12.231 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912520.2444193, "block_size": 4096, "blocks": 8, "ctime": 1704912520.2444193, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468688, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912520.2444193, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.151) 0:00:12.383 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.022) 0:00:12.405 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.028023", "end": "2024-01-10 18:48:41.293031", "rc": 0, "start": "2024-01-10 18:48:41.265008" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.178) 0:00:12.584 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.024) 0:00:12.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.046) 0:00:12.655 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.033) 0:00:12.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.050) 0:00:12.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.021) 0:00:12.761 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.024) 0:00:12.785 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.022) 0:00:12.807 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.026) 0:00:12.834 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.020) 0:00:12.855 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.022) 0:00:12.877 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.045) 0:00:12.923 ***** 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.060668", "end": "2024-01-10 18:48:41.844934", "rc": 1, "start": "2024-01-10 18:48:41.784266" } STDOUT: Connection 'statebr' (80ed2840-5ff7-4296-8566-22e19dfd6a43) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.207) 0:00:13.130 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.034) 0:00:13.165 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.020) 0:00:13.185 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:41 +0000 (0:00:00.041) 0:00:13.227 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.032) 0:00:13.260 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.033) 0:00:13.293 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004133", "end": "2024-01-10 18:48:42.157021", "rc": 0, "start": "2024-01-10 18:48:42.152888" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.148) 0:00:13.442 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.023) 0:00:13.465 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.020) 0:00:13.486 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.039) 0:00:13.525 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.035) 0:00:13.561 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.038) 0:00:13.600 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.025) 0:00:13.626 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.019) 0:00:13.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:42 +0000 (0:00:00.019) 0:00:13.665 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:43 +0000 (0:00:00.892) 0:00:14.557 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.712) 0:00:15.270 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.021) 0:00:15.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.019) 0:00:15.312 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.020) 0:00:15.332 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.041) 0:00:15.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.020) 0:00:15.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.020) 0:00:15.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.026) 0:00:15.440 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.231) 0:00:15.671 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.024) 0:00:15.695 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.019) 0:00:15.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.019) 0:00:15.734 ***** 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, 9b76f453-e249-4d14-ae04-c5af709b0fd6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.390) 0:00:16.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.022) 0:00:16.147 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b76f453-e249-4d14-ae04-c5af709b0fd6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.054) 0:00:16.201 ***** 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, 9b76f453-e249-4d14-ae04-c5af709b0fd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b76f453-e249-4d14-ae04-c5af709b0fd6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:44 +0000 (0:00:00.053) 0:00:16.254 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.049) 0:00:16.304 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.140) 0:00:16.444 ***** 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, 9b76f453-e249-4d14-ae04-c5af709b0fd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9b76f453-e249-4d14-ae04-c5af709b0fd6" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.032) 0:00:16.477 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.043) 0:00:16.520 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.051) 0:00:16.572 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.039) 0:00:16.611 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.029) 0:00:16.641 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.028) 0:00:16.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:45 +0000 (0:00:00.043) 0:00:16.712 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.788) 0:00:17.501 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.653) 0:00:18.154 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.022) 0:00:18.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.020) 0:00:18.197 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:46 +0000 (0:00:00.020) 0:00:18.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.042) 0:00:18.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.034) 0:00:18.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.022) 0:00:18.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.023) 0:00:18.341 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.248) 0:00:18.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.044) 0:00:18.633 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.019) 0:00:18.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.019) 0:00:18.673 ***** 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, 9b76f453-e249-4d14-ae04-c5af709b0fd6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.317) 0:00:18.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.020) 0:00:19.011 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9b76f453-e249-4d14-ae04-c5af709b0fd6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.022) 0:00:19.033 ***** 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, 9b76f453-e249-4d14-ae04-c5af709b0fd6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9b76f453-e249-4d14-ae04-c5af709b0fd6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.022) 0:00:19.056 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.022) 0:00:19.079 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:48:47 +0000 (0:00:00.157) 0:00:19.236 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.042) 0:00:19.279 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.034) 0:00:19.313 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912524.7804415, "block_size": 4096, "blocks": 0, "ctime": 1704912524.7624414, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17544, "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": 1704912524.7624414, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.154) 0:00:19.467 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.023) 0:00:19.490 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.077) 0:00:19.568 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.030) 0:00:19.599 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912524.8344417, "block_size": 4096, "blocks": 8, "ctime": 1704912524.7594414, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468707, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912524.7594414, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.155) 0:00:19.754 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.022) 0:00:19.777 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027045", "end": "2024-01-10 18:48:48.668843", "rc": 0, "start": "2024-01-10 18:48:48.641798" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.177) 0:00:19.955 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.023) 0:00:19.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.023) 0:00:20.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.022) 0:00:20.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.022) 0:00:20.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.022) 0:00:20.071 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.022) 0:00:20.094 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.024) 0:00:20.118 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.022) 0:00:20.141 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.020) 0:00:20.161 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.027) 0:00:20.188 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:48:48 +0000 (0:00:00.040) 0:00:20.229 ***** 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.100761", "end": "2024-01-10 18:48:49.198404", "rc": 1, "start": "2024-01-10 18:48:49.097643" } STDOUT: Connection 'statebr' (9b76f453-e249-4d14-ae04-c5af709b0fd6) successfully deleted. STDERR: (process:27514): GLib-GIO-WARNING **: 18:48:49.170: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/32 but no object proxy exists (process:27514): GLib-GIO-WARNING **: 18:48:49.170: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/49 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.308) 0:00:20.538 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.038) 0:00:20.577 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.034) 0:00:20.611 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.054) 0:00:20.666 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.035) 0:00:20.702 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.033) 0:00:20.736 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003806", "end": "2024-01-10 18:48:49.600697", "rc": 0, "start": "2024-01-10 18:48:49.596891" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.150) 0:00:20.886 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.022) 0:00:20.908 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.020) 0:00:20.929 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.038) 0:00:20.967 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.034) 0:00:21.001 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.039) 0:00:21.041 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.075) 0:00:21.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.021) 0:00:21.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:49 +0000 (0:00:00.019) 0:00:21.157 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:50 +0000 (0:00:00.856) 0:00:22.014 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.680) 0:00:22.694 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.021) 0:00:22.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.019) 0:00:22.735 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.019) 0:00:22.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.041) 0:00:22.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.041) 0:00:22.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.023) 0:00:22.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.028) 0:00:22.888 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.241) 0:00:23.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.024) 0:00:23.154 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.025) 0:00:23.179 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:51 +0000 (0:00:00.024) 0:00:23.204 ***** 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, 0fdf9842-b402-4143-aadd-29d22003ad82 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.387) 0:00:23.591 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.020) 0:00:23.612 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0fdf9842-b402-4143-aadd-29d22003ad82" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.021) 0:00:23.633 ***** 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, 0fdf9842-b402-4143-aadd-29d22003ad82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0fdf9842-b402-4143-aadd-29d22003ad82" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.030) 0:00:23.664 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.022) 0:00:23.686 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.155) 0:00:23.841 ***** 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, 0fdf9842-b402-4143-aadd-29d22003ad82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0fdf9842-b402-4143-aadd-29d22003ad82" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.037) 0:00:23.879 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.043) 0:00:23.922 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.109) 0:00:24.032 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.045) 0:00:24.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.024) 0:00:24.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:52 +0000 (0:00:00.050) 0:00:24.153 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:53 +0000 (0:00:00.877) 0:00:25.031 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.686) 0:00:25.718 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.021) 0:00:25.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.021) 0:00:25.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.020) 0:00:25.781 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.073) 0:00:25.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.028) 0:00:25.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.022) 0:00:25.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.029) 0:00:25.935 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.251) 0:00:26.187 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.023) 0:00:26.211 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.021) 0:00:26.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:54 +0000 (0:00:00.019) 0:00:26.253 ***** 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, 0fdf9842-b402-4143-aadd-29d22003ad82 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.303) 0:00:26.556 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.019) 0:00:26.575 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0fdf9842-b402-4143-aadd-29d22003ad82 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.021) 0:00:26.596 ***** 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, 0fdf9842-b402-4143-aadd-29d22003ad82 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0fdf9842-b402-4143-aadd-29d22003ad82 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.020) 0:00:26.617 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.019) 0:00:26.637 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.134) 0:00:26.771 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.043) 0:00:26.815 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.059) 0:00:26.874 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.042) 0:00:26.916 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.025) 0:00:26.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.020) 0:00:26.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:48:55 +0000 (0:00:00.021) 0:00:26.985 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:48:56 +0000 (0:00:00.816) 0:00:27.801 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.683) 0:00:28.484 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.036) 0:00:28.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.057) 0:00:28.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.024) 0:00:28.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.054) 0:00:28.658 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.023) 0:00:28.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.024) 0:00:28.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.025) 0:00:28.731 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.245) 0:00:28.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.024) 0:00:29.001 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.035) 0:00:29.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:48:57 +0000 (0:00:00.022) 0:00:29.059 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.380) 0:00:29.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.022) 0:00:29.463 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.022) 0:00:29.485 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.025) 0:00:29.511 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.022) 0:00:29.533 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.144) 0:00:29.678 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.067) 0:00:29.746 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.040) 0:00:29.787 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912532.229478, "block_size": 4096, "blocks": 0, "ctime": 1704912532.228478, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17547, "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": 1704912532.228478, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.198) 0:00:29.985 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.023) 0:00:30.008 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.037) 0:00:30.045 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.021) 0:00:30.067 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.145) 0:00:30.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:48:58 +0000 (0:00:00.019) 0:00:30.232 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027697", "end": "2024-01-10 18:48:59.121382", "rc": 1, "start": "2024-01-10 18:48:59.093685" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.173) 0:00:30.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.021) 0:00:30.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.021) 0:00:30.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.028) 0:00:30.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.031) 0:00:30.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.034) 0:00:30.543 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.086) 0:00:30.630 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.032) 0:00:30.663 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.023) 0:00:30.686 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.046) 0:00:30.733 ***** 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.102092", "end": "2024-01-10 18:48:59.697602", "rc": 1, "start": "2024-01-10 18:48:59.595510" } STDOUT: Connection 'statebr' (0fdf9842-b402-4143-aadd-29d22003ad82) successfully deleted. STDERR: (process:28184): GLib-GIO-WARNING **: 18:48:59.671: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/33 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.252) 0:00:30.986 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.035) 0:00:31.021 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.021) 0:00:31.043 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.042) 0:00:31.086 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.039) 0:00:31.125 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:48:59 +0000 (0:00:00.036) 0:00:31.161 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003835", "end": "2024-01-10 18:49:00.042939", "rc": 0, "start": "2024-01-10 18:49:00.039104" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.167) 0:00:31.329 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.022) 0:00:31.351 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.020) 0:00:31.371 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.078) 0:00:31.450 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.049) 0:00:31.499 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.052) 0:00:31.551 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.047) 0:00:31.599 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.024) 0:00:31.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:00 +0000 (0:00:00.032) 0:00:31.655 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.871) 0:00:32.527 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:01 +0000 (0:00:00.714) 0:00:33.242 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.023) 0:00:33.265 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.021) 0:00:33.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.021) 0:00:33.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.047) 0:00:33.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.022) 0:00:33.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.023) 0:00:33.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.030) 0:00:33.432 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.251) 0:00:33.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.036) 0:00:33.720 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.022) 0:00:33.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.020) 0:00:33.763 ***** 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, 5305e4f0-89e0-459f-b3a3-5ace1577dd14 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.418) 0:00:34.181 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.020) 0:00:34.202 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5305e4f0-89e0-459f-b3a3-5ace1577dd14" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.022) 0:00:34.225 ***** 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, 5305e4f0-89e0-459f-b3a3-5ace1577dd14\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5305e4f0-89e0-459f-b3a3-5ace1577dd14" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:02 +0000 (0:00:00.021) 0:00:34.247 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.056) 0:00:34.303 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.150) 0:00:34.454 ***** 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, 5305e4f0-89e0-459f-b3a3-5ace1577dd14\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5305e4f0-89e0-459f-b3a3-5ace1577dd14" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.022) 0:00:34.476 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.033) 0:00:34.510 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.043) 0:00:34.553 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.025) 0:00:34.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.021) 0:00:34.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:03 +0000 (0:00:00.020) 0:00:34.621 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.873) 0:00:35.494 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.713) 0:00:36.208 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.021) 0:00:36.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:04 +0000 (0:00:00.019) 0:00:36.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.021) 0:00:36.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.041) 0:00:36.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.019) 0:00:36.332 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.019) 0:00:36.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.024) 0:00:36.376 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.242) 0:00:36.618 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.024) 0:00:36.643 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.020) 0:00:36.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.020) 0:00:36.683 ***** 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, 5305e4f0-89e0-459f-b3a3-5ace1577dd14 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.309) 0:00:36.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.019) 0:00:37.012 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5305e4f0-89e0-459f-b3a3-5ace1577dd14 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.046) 0:00:37.058 ***** 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, 5305e4f0-89e0-459f-b3a3-5ace1577dd14 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5305e4f0-89e0-459f-b3a3-5ace1577dd14 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.022) 0:00:37.081 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.020) 0:00:37.101 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:49:05 +0000 (0:00:00.144) 0:00:37.246 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.034) 0:00:37.281 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.050) 0:00:37.331 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.027) 0:00:37.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.024) 0:00:37.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.021) 0:00:37.405 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:06 +0000 (0:00:00.806) 0:00:38.211 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.734) 0:00:38.946 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.024) 0:00:38.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.020) 0:00:38.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.020) 0:00:39.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.041) 0:00:39.053 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.020) 0:00:39.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.023) 0:00:39.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:07 +0000 (0:00:00.037) 0:00:39.134 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.261) 0:00:39.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.033) 0:00:39.429 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.050) 0:00:39.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.034) 0:00:39.514 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.343) 0:00:39.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.020) 0:00:39.878 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.050) 0:00:39.929 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.026) 0:00:39.955 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.025) 0:00:39.981 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.153) 0:00:40.135 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.038) 0:00:40.174 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.041) 0:00:40.215 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:08 +0000 (0:00:00.043) 0:00:40.258 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.026) 0:00:40.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.021) 0:00:40.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.019) 0:00:40.326 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:09 +0000 (0:00:00.739) 0:00:41.065 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.698) 0:00:41.764 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.023) 0:00:41.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.024) 0:00:41.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.022) 0:00:41.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.043) 0:00:41.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.021) 0:00:41.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.023) 0:00:41.923 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.031) 0:00:41.955 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.261) 0:00:42.217 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:10 +0000 (0:00:00.029) 0:00:42.246 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.033) 0:00:42.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.021) 0:00:42.301 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.467) 0:00:42.769 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.021) 0:00:42.791 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.024) 0:00:42.816 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.022) 0:00:42.838 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.020) 0:00:42.859 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.132) 0:00:42.992 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.038) 0:00:43.031 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.035) 0:00:43.066 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.022) 0:00:43.089 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.135) 0:00:43.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:49:11 +0000 (0:00:00.021) 0:00:43.245 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023840", "end": "2024-01-10 18:49:12.120637", "rc": 1, "start": "2024-01-10 18:49:12.096797" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.159) 0:00:43.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.021) 0:00:43.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.023) 0:00:43.449 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.021) 0:00:43.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.067) 0:00:43.539 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.024) 0:00:43.563 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.023) 0:00:43.587 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.053) 0:00:43.640 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.039) 0:00:43.680 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.144) 0:00:43.824 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.033) 0:00:43.857 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.051) 0:00:43.909 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.048) 0:00:43.957 ***** 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.051204", "end": "2024-01-10 18:49:12.863749", "rc": 1, "start": "2024-01-10 18:49:12.812545" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.191) 0:00:44.149 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.041) 0:00:44.190 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:49:12 +0000 (0:00:00.023) 0:00:44.214 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.068) 0:00:44.283 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.116) 0:00:44.399 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.048) 0:00:44.448 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2024-01-10 18:49:13.323891", "rc": 0, "start": "2024-01-10 18:49:13.319988" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.162) 0:00:44.610 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.025) 0:00:44.636 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.023) 0:00:44.659 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.046) 0:00:44.706 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.035) 0:00:44.741 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.038) 0:00:44.780 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.025) 0:00:44.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.021) 0:00:44.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:13 +0000 (0:00:00.019) 0:00:44.847 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:14 +0000 (0:00:00.813) 0:00:45.661 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.682) 0:00:46.343 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.050) 0:00:46.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.032) 0:00:46.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.053) 0:00:46.479 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.053) 0:00:46.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.021) 0:00:46.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.026) 0:00:46.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.025) 0:00:46.606 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.241) 0:00:46.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.024) 0:00:46.872 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.019) 0:00:46.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:15 +0000 (0:00:00.042) 0:00:46.933 ***** 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, 12b6ca9c-e7c2-45eb-b727-51983a111d85 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.389) 0:00:47.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.022) 0:00:47.346 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12b6ca9c-e7c2-45eb-b727-51983a111d85" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.023) 0:00:47.369 ***** 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, 12b6ca9c-e7c2-45eb-b727-51983a111d85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12b6ca9c-e7c2-45eb-b727-51983a111d85" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.022) 0:00:47.391 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.025) 0:00:47.416 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.138) 0:00:47.555 ***** 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, 12b6ca9c-e7c2-45eb-b727-51983a111d85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12b6ca9c-e7c2-45eb-b727-51983a111d85" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.022) 0:00:47.577 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.035) 0:00:47.613 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.038) 0:00:47.651 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.026) 0:00:47.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.021) 0:00:47.699 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:16 +0000 (0:00:00.021) 0:00:47.721 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:17 +0000 (0:00:00.766) 0:00:48.488 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:17 +0000 (0:00:00.666) 0:00:49.155 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:17 +0000 (0:00:00.027) 0:00:49.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:17 +0000 (0:00:00.022) 0:00:49.205 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:17 +0000 (0:00:00.023) 0:00:49.228 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.088) 0:00:49.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.058) 0:00:49.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.036) 0:00:49.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.025) 0:00:49.438 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.272) 0:00:49.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.063) 0:00:49.774 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.022) 0:00:49.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.020) 0:00:49.817 ***** 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, 12b6ca9c-e7c2-45eb-b727-51983a111d85 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.324) 0:00:50.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.028) 0:00:50.170 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12b6ca9c-e7c2-45eb-b727-51983a111d85 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.032) 0:00:50.203 ***** 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, 12b6ca9c-e7c2-45eb-b727-51983a111d85 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 12b6ca9c-e7c2-45eb-b727-51983a111d85 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.029) 0:00:50.232 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:18 +0000 (0:00:00.021) 0:00:50.253 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.150) 0:00:50.404 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.034) 0:00:50.439 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.043) 0:00:50.482 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.024) 0:00:50.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.020) 0:00:50.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:19 +0000 (0:00:00.021) 0:00:50.548 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.776) 0:00:51.324 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.674) 0:00:51.998 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.021) 0:00:52.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.023) 0:00:52.044 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.021) 0:00:52.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.042) 0:00:52.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.022) 0:00:52.131 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.022) 0:00:52.153 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:20 +0000 (0:00:00.023) 0:00:52.177 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.243) 0:00:52.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.059) 0:00:52.480 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.027) 0:00:52.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.021) 0:00:52.529 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.445) 0:00:52.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.021) 0:00:52.996 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.022) 0:00:53.018 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.022) 0:00:53.041 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.022) 0:00:53.063 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.144) 0:00:53.207 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:49:21 +0000 (0:00:00.038) 0:00:53.245 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.039) 0:00:53.285 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.039) 0:00:53.324 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.024) 0:00:53.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.046) 0:00:53.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.020) 0:00:53.416 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:49:22 +0000 (0:00:00.812) 0:00:54.228 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.685) 0:00:54.914 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.023) 0:00:54.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.019) 0:00:54.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.022) 0:00:54.980 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.042) 0:00:55.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.021) 0:00:55.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.023) 0:00:55.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:49:23 +0000 (0:00:00.067) 0:00:55.135 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.255) 0:00:55.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.033) 0:00:55.424 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.020) 0:00:55.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.023) 0:00:55.468 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.335) 0:00:55.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.020) 0:00:55.824 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.021) 0:00:55.845 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.022) 0:00:55.867 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.020) 0:00:55.888 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.134) 0:00:56.022 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.042) 0:00:56.064 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.036) 0:00:56.100 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:49:24 +0000 (0:00:00.061) 0:00:56.162 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.176) 0:00:56.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.024) 0:00:56.362 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023613", "end": "2024-01-10 18:49:25.240468", "rc": 1, "start": "2024-01-10 18:49:25.216855" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.162) 0:00:56.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.021) 0:00:56.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.023) 0:00:56.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.023) 0:00:56.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.023) 0:00:56.617 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.024) 0:00:56.642 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.026) 0:00:56.669 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.418023", "end": "2024-01-10 18:49:25.948883", "rc": 0, "start": "2024-01-10 18:49:25.530860" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.565) 0:00:57.234 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 18:49:25 +0000 (0:00:00.021) 0:00:57.256 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.021) 0:00:57.277 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.042) 0:00:57.320 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.062) 0:00:57.382 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.139) 0:00:57.522 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.027) 0:00:57.550 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.023) 0:00:57.573 ***** included: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeuve1rc78/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.042) 0:00:57.616 ***** 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.051945", "end": "2024-01-10 18:49:26.520463", "rc": 1, "start": "2024-01-10 18:49:26.468518" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Wednesday 10 January 2024 18:49:26 +0000 (0:00:00.176) 0:00:57.792 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.09s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.37s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.25s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.25s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.02s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.92s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.80s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typeuve1rc78/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---