# 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_typejcodjm1o/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 15:51:58 +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_typejcodjm1o/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.524) 0:00:00.536 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.021) 0:00:00.557 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.215) 0:00:00.773 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.197) 0:00:00.970 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.024) 0:00:00.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.017) 0:00:01.013 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.069) 0:00:01.083 ***** 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_typejcodjm1o/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.234) 0:00:01.317 ***** 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_typejcodjm1o/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.459) 0:00:01.777 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.199481", "end": "2024-01-10 15:52:00.427263", "rc": 0, "start": "2024-01-10 15:52:00.227782" } 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_typejcodjm1o/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.331) 0:00:02.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.012) 0:00:02.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.011) 0:00:02.131 ***** 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_typejcodjm1o/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.010) 0:00:02.142 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.397) 0:00:02.540 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.010) 0:00:02.550 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.015) 0:00:02.566 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.010) 0:00:02.577 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.031) 0:00:02.608 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.013) 0:00:02.621 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.012) 0:00:02.634 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004682", "end": "2024-01-10 15:52:02.081378", "rc": 0, "start": "2024-01-10 15:52:01.076696" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:02 +0000 (0:00:01.133) 0:00:03.767 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.010) 0:00:03.778 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.009) 0:00:03.788 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.019) 0:00:03.807 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010845", "end": "2024-01-10 15:52:02.264021", "rc": 1, "start": "2024-01-10 15:52:02.253176" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.134) 0:00:03.942 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.014) 0:00:03.957 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.123) 0:00:04.080 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.012) 0:00:04.093 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.017) 0:00:04.111 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.032) 0:00:04.144 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.068) 0:00:04.212 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.011) 0:00:04.223 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.010) 0:00:04.234 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:02 +0000 (0:00:00.012) 0:00:04.246 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:03 +0000 (0:00:00.846) 0:00:05.092 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.788) 0:00:05.881 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.028) 0:00:05.909 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.021) 0:00:05.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.027) 0:00:05.958 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.041) 0:00:06.000 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.019) 0:00:06.020 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.020) 0:00:06.040 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.023) 0:00:06.063 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.380) 0:00:06.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.024) 0:00:06.469 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.020) 0:00:06.489 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.023) 0:00:06.513 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a7b06b9-4a97-48c3-a691-4674e827957e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.452) 0:00:06.965 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.019) 0:00:06.985 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a7b06b9-4a97-48c3-a691-4674e827957e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.045) 0:00:07.030 ***** 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, 5a7b06b9-4a97-48c3-a691-4674e827957e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a7b06b9-4a97-48c3-a691-4674e827957e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.022) 0:00:07.053 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.035) 0:00:07.089 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.181) 0:00:07.270 ***** 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, 5a7b06b9-4a97-48c3-a691-4674e827957e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5a7b06b9-4a97-48c3-a691-4674e827957e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.021) 0:00:07.292 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.039) 0:00:07.332 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.037) 0:00:07.370 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.021) 0:00:07.391 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901925.2988887, "block_size": 4096, "blocks": 8, "ctime": 1704901925.2078922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901925.2078922, "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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.137) 0:00:07.528 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.022) 0:00:07.551 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025413", "end": "2024-01-10 15:52:06.021229", "rc": 0, "start": "2024-01-10 15:52:05.995816" } 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.177) 0:00:07.728 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.033) 0:00:07.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.022) 0:00:07.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.030) 0:00:07.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.022) 0:00:07.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.022) 0:00:07.859 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.043) 0:00:07.903 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.024) 0:00:07.927 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.021) 0:00:07.949 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.044) 0:00:07.993 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.034) 0:00:08.028 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901925.210892, "block_size": 4096, "blocks": 0, "ctime": 1704901925.209892, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17452, "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": 1704901925.209892, "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_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.134) 0:00:08.162 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.022) 0:00:08.184 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.020) 0:00:08.205 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.037) 0:00:08.243 ***** 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.080113", "end": "2024-01-10 15:52:06.765857", "rc": 1, "start": "2024-01-10 15:52:06.685744" } STDOUT: Connection 'statebr' (5a7b06b9-4a97-48c3-a691-4674e827957e) successfully deleted. STDERR: (process:13561): GLib-GIO-WARNING **: 15:52:06.743: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 but no object proxy exists (process:13561): GLib-GIO-WARNING **: 15:52:06.744: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/27 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_typejcodjm1o/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.216) 0:00:08.459 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.049) 0:00:08.509 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.027) 0:00:08.537 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.059) 0:00:08.596 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.063) 0:00:08.660 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.049) 0:00:08.710 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003611", "end": "2024-01-10 15:52:07.162102", "rc": 0, "start": "2024-01-10 15:52:07.158491" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.142) 0:00:08.852 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.027) 0:00:08.880 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.021) 0:00:08.901 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.039) 0:00:08.941 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007769", "end": "2024-01-10 15:52:07.394147", "rc": 1, "start": "2024-01-10 15:52:07.386378" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.142) 0:00:09.083 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.033) 0:00:09.117 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.137) 0:00:09.254 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.023) 0:00:09.278 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.039) 0:00:09.318 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.064) 0:00:09.382 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.045) 0:00:09.427 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.024) 0:00:09.451 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.021) 0:00:09.473 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.021) 0:00:09.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.784) 0:00:10.278 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.647) 0:00:10.926 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.022) 0:00:10.948 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.041) 0:00:10.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.021) 0:00:11.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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.044) 0:00:11.055 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.020) 0:00:11.076 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.020) 0:00:11.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.024) 0:00:11.121 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.238) 0:00:11.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.029) 0:00:11.389 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.020) 0:00:11.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.019) 0:00:11.429 ***** 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, b383360f-5805-41b7-b0b6-a9f84e06b6ea TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.291) 0:00:11.720 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.021) 0:00:11.742 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b383360f-5805-41b7-b0b6-a9f84e06b6ea" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.021) 0:00:11.763 ***** 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, b383360f-5805-41b7-b0b6-a9f84e06b6ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b383360f-5805-41b7-b0b6-a9f84e06b6ea" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:11.785 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.019) 0:00:11.805 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.131) 0:00:11.937 ***** 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, b383360f-5805-41b7-b0b6-a9f84e06b6ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b383360f-5805-41b7-b0b6-a9f84e06b6ea" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.049) 0:00:11.986 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.043) 0:00:12.029 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.034) 0:00:12.064 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.133) 0:00:12.198 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:12.220 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.034) 0:00:12.255 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.020) 0:00:12.275 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901930.013711, "block_size": 4096, "blocks": 8, "ctime": 1704901930.013711, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901930.013711, "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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.133) 0:00:12.408 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.021) 0:00:12.430 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021819", "end": "2024-01-10 15:52:10.895307", "rc": 0, "start": "2024-01-10 15:52:10.873488" } 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.154) 0:00:12.585 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:12.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.021) 0:00:12.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:12.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.022) 0:00:12.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.046) 0:00:12.721 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.023) 0:00:12.744 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.023) 0:00:12.767 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.020) 0:00:12.788 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.019) 0:00:12.808 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.022) 0:00:12.830 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.042) 0:00:12.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.045980", "end": "2024-01-10 15:52:11.362817", "rc": 1, "start": "2024-01-10 15:52:11.316837" } STDOUT: Connection 'statebr' (b383360f-5805-41b7-b0b6-a9f84e06b6ea) 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_typejcodjm1o/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.178) 0:00:13.051 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.036) 0:00:13.088 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.021) 0:00:13.109 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.047) 0:00:13.156 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.034) 0:00:13.191 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.039) 0:00:13.230 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2024-01-10 15:52:11.692566", "rc": 0, "start": "2024-01-10 15:52:11.689041" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.154) 0:00:13.385 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.049) 0:00:13.434 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.020) 0:00:13.455 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.037) 0:00:13.493 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.034) 0:00:13.527 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.038) 0:00:13.566 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.025) 0:00:13.592 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.019) 0:00:13.611 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.021) 0:00:13.632 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:12 +0000 (0:00:00.765) 0:00:14.397 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.702) 0:00:15.100 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.023) 0:00:15.123 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.022) 0:00:15.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.021) 0:00:15.167 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.042) 0:00:15.209 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.024) 0:00:15.234 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.031) 0:00:15.266 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.024) 0:00:15.291 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.232) 0:00:15.524 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.024) 0:00:15.548 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.019) 0:00:15.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.019) 0:00:15.587 ***** 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, 81bbf657-7e6e-49d4-b86e-e8455abcd75b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.336) 0:00:15.923 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.021) 0:00:15.945 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81bbf657-7e6e-49d4-b86e-e8455abcd75b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.067) 0:00:16.013 ***** 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, 81bbf657-7e6e-49d4-b86e-e8455abcd75b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81bbf657-7e6e-49d4-b86e-e8455abcd75b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.029) 0:00:16.043 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.026) 0:00:16.069 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.134) 0:00:16.203 ***** 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, 81bbf657-7e6e-49d4-b86e-e8455abcd75b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81bbf657-7e6e-49d4-b86e-e8455abcd75b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.022) 0:00:16.225 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.037) 0:00:16.263 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.037) 0:00:16.300 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.038) 0:00:16.339 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.025) 0:00:16.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.020) 0:00:16.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.023) 0:00:16.409 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.787) 0:00:17.196 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.643) 0:00:17.840 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.024) 0:00:17.864 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.026) 0:00:17.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.021) 0:00:17.912 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.042) 0:00:17.954 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.038) 0:00:17.993 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.025) 0:00:18.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.024) 0:00:18.043 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.294) 0:00:18.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.035) 0:00:18.374 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.023) 0:00:18.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.025) 0:00:18.423 ***** 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, 81bbf657-7e6e-49d4-b86e-e8455abcd75b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.369) 0:00:18.792 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.023) 0:00:18.816 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 81bbf657-7e6e-49d4-b86e-e8455abcd75b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.028) 0:00:18.845 ***** 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, 81bbf657-7e6e-49d4-b86e-e8455abcd75b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 81bbf657-7e6e-49d4-b86e-e8455abcd75b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.033) 0:00:18.878 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.022) 0:00:18.900 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.147) 0:00:19.048 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.057) 0:00:19.106 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.036) 0:00:19.143 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901934.1845539, "block_size": 4096, "blocks": 0, "ctime": 1704901934.1745543, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17452, "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": 1704901934.1745543, "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_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.145) 0:00:19.288 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.029) 0:00:19.318 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.036) 0:00:19.355 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.036) 0:00:19.391 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901934.1735544, "block_size": 4096, "blocks": 8, "ctime": 1704901934.1725545, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901934.1725545, "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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.141) 0:00:19.532 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.028) 0:00:19.561 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023095", "end": "2024-01-10 15:52:18.034749", "rc": 0, "start": "2024-01-10 15:52:18.011654" } 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.178) 0:00:19.740 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.024) 0:00:19.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.024) 0:00:19.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.027) 0:00:19.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.024) 0:00:19.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.021) 0:00:19.862 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.024) 0:00:19.886 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.023) 0:00:19.909 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.023) 0:00:19.932 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.021) 0:00:19.953 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.020) 0:00:19.974 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.039) 0:00:20.013 ***** 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.082728", "end": "2024-01-10 15:52:18.541143", "rc": 1, "start": "2024-01-10 15:52:18.458415" } STDOUT: Connection 'statebr' (81bbf657-7e6e-49d4-b86e-e8455abcd75b) successfully deleted. STDERR: (process:14326): GLib-GIO-WARNING **: 15:52:18.515: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 but no object proxy exists (process:14326): GLib-GIO-WARNING **: 15:52:18.518: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 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_typejcodjm1o/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.216) 0:00:20.230 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.035) 0:00:20.266 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.020) 0:00:20.286 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.068) 0:00:20.355 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.038) 0:00:20.393 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.035) 0:00:20.428 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004583", "end": "2024-01-10 15:52:19.876168", "rc": 0, "start": "2024-01-10 15:52:18.871585" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:19 +0000 (0:00:01.153) 0:00:21.582 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.032) 0:00:21.615 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.036) 0:00:21.651 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.050) 0:00:21.702 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.050) 0:00:21.753 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.081) 0:00:21.834 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.027) 0:00:21.861 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.032) 0:00:21.894 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.020) 0:00:21.915 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.772) 0:00:22.687 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.643) 0:00:23.331 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.020) 0:00:23.352 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.020) 0:00:23.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.019) 0:00:23.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.045) 0:00:23.436 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.021) 0:00:23.458 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.054) 0:00:23.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.025) 0:00:23.538 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.227) 0:00:23.765 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.029) 0:00:23.794 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.021) 0:00:23.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.021) 0:00:23.838 ***** 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, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.339) 0:00:24.178 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.020) 0:00:24.198 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.022) 0:00:24.221 ***** 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, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.021) 0:00:24.243 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.021) 0:00:24.264 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.135) 0:00:24.400 ***** 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, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.021) 0:00:24.421 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.034) 0:00:24.456 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.065) 0:00:24.522 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.028) 0:00:24.550 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.021) 0:00:24.572 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.035) 0:00:24.608 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.765) 0:00:25.373 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.667) 0:00:26.041 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.024) 0:00:26.066 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.021) 0:00:26.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.020) 0:00:26.108 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.044) 0:00:26.152 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.044) 0:00:26.197 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.022) 0:00:26.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.025) 0:00:26.246 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.232) 0:00:26.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.024) 0:00:26.503 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.022) 0:00:26.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.029) 0:00:26.555 ***** 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, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.286) 0:00:26.842 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.024) 0:00:26.867 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.026) 0:00:26.893 ***** 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, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e1849ed4-1ac8-49f9-bd20-f91d3b32fda1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.023) 0:00:26.916 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.019) 0:00:26.936 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.128) 0:00:27.064 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.036) 0:00:27.101 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.068) 0:00:27.170 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.046) 0:00:27.217 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.024) 0:00:27.242 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.019) 0:00:27.262 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.021) 0:00:27.283 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.790) 0:00:28.074 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.701) 0:00:28.775 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.024) 0:00:28.800 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.034) 0:00:28.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.047) 0:00:28.882 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.066) 0:00:28.948 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.102) 0:00:29.051 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.028) 0:00:29.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.027) 0:00:29.107 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.231) 0:00:29.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.033) 0:00:29.373 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.025) 0:00:29.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.021) 0:00:29.420 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.312) 0:00:29.733 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.020) 0:00:29.753 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.022) 0:00:29.776 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.023) 0:00:29.799 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.023) 0:00:29.823 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.129) 0:00:29.953 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.042) 0:00:29.995 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.059) 0:00:30.055 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901942.4332433, "block_size": 4096, "blocks": 0, "ctime": 1704901942.4322433, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17454, "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": 1704901942.4322433, "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_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.138) 0:00:30.193 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.023) 0:00:30.217 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.037) 0:00:30.254 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.043) 0:00:30.298 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.161) 0:00:30.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.039) 0:00:30.499 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022056", "end": "2024-01-10 15:52:28.968532", "rc": 1, "start": "2024-01-10 15:52:28.946476" } 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.161) 0:00:30.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.031) 0:00:30.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.023) 0:00:30.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.036) 0:00:30.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.038) 0:00:30.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.022) 0:00:30.813 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.026) 0:00:30.839 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.028) 0:00:30.867 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.042) 0:00:30.909 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.090) 0:00:31.000 ***** 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.087304", "end": "2024-01-10 15:52:29.533448", "rc": 1, "start": "2024-01-10 15:52:29.446144" } STDOUT: Connection 'statebr' (e1849ed4-1ac8-49f9-bd20-f91d3b32fda1) successfully deleted. STDERR: (process:14997): GLib-GIO-WARNING **: 15:52:29.513: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/22 but no object proxy exists (process:14997): GLib-GIO-WARNING **: 15:52:29.514: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/29 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_typejcodjm1o/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.236) 0:00:31.237 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.053) 0:00:31.290 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.023) 0:00:31.314 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.089) 0:00:31.403 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.036) 0:00:31.440 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.034) 0:00:31.475 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004853", "end": "2024-01-10 15:52:30.937317", "rc": 0, "start": "2024-01-10 15:52:29.932464" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:30 +0000 (0:00:01.152) 0:00:32.628 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:30 +0000 (0:00:00.029) 0:00:32.658 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.068) 0:00:32.726 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.050) 0:00:32.777 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.035) 0:00:32.812 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.037) 0:00:32.849 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.025) 0:00:32.875 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.020) 0:00:32.896 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.019) 0:00:32.915 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.771) 0:00:33.686 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.708) 0:00:34.394 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.023) 0:00:34.418 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.030) 0:00:34.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.022) 0:00:34.470 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.051) 0:00:34.522 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.032) 0:00:34.554 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.022) 0:00:34.576 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.044) 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.237) 0:00:34.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.024) 0:00:34.883 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.020) 0:00:34.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.021) 0:00:34.924 ***** 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, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.339) 0:00:35.264 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.021) 0:00:35.286 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.025) 0:00:35.311 ***** 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, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.023) 0:00:35.335 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.044) 0:00:35.379 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.132) 0:00:35.512 ***** 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, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.030) 0:00:35.543 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.058) 0:00:35.602 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.043) 0:00:35.645 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.028) 0:00:35.674 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.020) 0:00:35.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.019) 0:00:35.714 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.780) 0:00:36.495 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.687) 0:00:37.182 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.020) 0:00:37.203 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.021) 0:00:37.225 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.019) 0:00:37.245 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.043) 0:00:37.289 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.019) 0:00:37.308 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.019) 0:00:37.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.023) 0:00:37.351 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.224) 0:00:37.575 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.023) 0:00:37.599 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.019) 0:00:37.619 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.019) 0:00:37.638 ***** 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, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.286) 0:00:37.924 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.022) 0:00:37.947 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.022) 0:00:37.969 ***** 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, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8cae2218-3beb-41fd-b1b2-4d5ab9da60bf skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.021) 0:00:37.991 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.047) 0:00:38.039 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.131) 0:00:38.171 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.034) 0:00:38.206 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.046) 0:00:38.253 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.025) 0:00:38.278 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.019) 0:00:38.298 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.019) 0:00:38.318 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.765) 0:00:39.084 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.679) 0:00:39.763 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.025) 0:00:39.789 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.023) 0:00:39.812 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.020) 0:00:39.833 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.043) 0:00:39.876 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.022) 0:00:39.898 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.022) 0:00:39.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.025) 0:00:39.946 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.235) 0:00:40.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.025) 0:00:40.207 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.022) 0:00:40.229 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.022) 0:00:40.252 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.323) 0:00:40.576 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.021) 0:00:40.597 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.021) 0:00:40.618 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.022) 0:00:40.640 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.052) 0:00:40.693 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.129) 0:00:40.822 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.039) 0:00:40.862 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.039) 0:00:40.902 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.044) 0:00:40.946 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.027) 0:00:40.973 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.020) 0:00:40.993 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.019) 0:00:41.013 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.748) 0:00:41.762 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.706) 0:00:42.468 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.025) 0:00:42.494 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.022) 0:00:42.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.034) 0:00:42.551 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.054) 0:00:42.605 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.035) 0:00:42.641 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.037) 0:00:42.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.026) 0:00:42.705 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.229) 0:00:42.935 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.033) 0:00:42.968 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.022) 0:00:42.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.019) 0:00:43.011 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.376) 0:00:43.388 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.019) 0:00:43.407 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.043) 0:00:43.451 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.022) 0:00:43.474 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.024) 0:00:43.498 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.132) 0:00:43.631 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.039) 0:00:43.670 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.036) 0:00:43.707 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.025) 0:00:43.732 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.131) 0:00:43.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.021) 0:00:43.884 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020304", "end": "2024-01-10 15:52:42.351351", "rc": 1, "start": "2024-01-10 15:52:42.331047" } 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.155) 0:00:44.040 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.021) 0:00:44.061 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.024) 0:00:44.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.023) 0:00:44.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.022) 0:00:44.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.023) 0:00:44.156 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.022) 0:00:44.179 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.073) 0:00:44.252 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.033) 0:00:44.285 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.138) 0:00:44.424 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.023) 0:00:44.447 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.021) 0:00:44.468 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.038) 0:00:44.507 ***** 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.044896", "end": "2024-01-10 15:52:42.996710", "rc": 1, "start": "2024-01-10 15:52:42.951814" } 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_typejcodjm1o/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.178) 0:00:44.685 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.035) 0:00:44.721 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.021) 0:00:44.742 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.045) 0:00:44.788 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.034) 0:00:44.823 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.060) 0:00:44.884 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003823", "end": "2024-01-10 15:52:43.331900", "rc": 0, "start": "2024-01-10 15:52:43.328077" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.137) 0:00:45.021 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.022) 0:00:45.043 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.021) 0:00:45.065 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.047) 0:00:45.112 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.038) 0:00:45.151 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.038) 0:00:45.189 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.024) 0:00:45.214 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.020) 0:00:45.234 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.020) 0:00:45.254 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.761) 0:00:46.015 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.688) 0:00:46.703 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.037) 0:00:46.741 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.058) 0:00:46.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.021) 0:00:46.821 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.075) 0:00:46.897 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.039) 0:00:46.937 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.035) 0:00:46.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.034) 0:00:47.007 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.251) 0:00:47.259 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.025) 0:00:47.284 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.019) 0:00:47.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.020) 0:00:47.325 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f95f8b03-a1d4-4851-8c67-cb11c4b037e2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.353) 0:00:47.678 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.020) 0:00:47.699 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f95f8b03-a1d4-4851-8c67-cb11c4b037e2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.020) 0:00:47.719 ***** 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, f95f8b03-a1d4-4851-8c67-cb11c4b037e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f95f8b03-a1d4-4851-8c67-cb11c4b037e2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.020) 0:00:47.740 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.019) 0:00:47.759 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.129) 0:00:47.889 ***** 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, f95f8b03-a1d4-4851-8c67-cb11c4b037e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f95f8b03-a1d4-4851-8c67-cb11c4b037e2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.022) 0:00:47.912 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.033) 0:00:47.945 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.037) 0:00:47.983 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.025) 0:00:48.008 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.020) 0:00:48.028 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.019) 0:00:48.047 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.785) 0:00:48.833 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.648) 0:00:49.482 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.022) 0:00:49.504 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.022) 0:00:49.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.020) 0:00:49.547 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.042) 0:00:49.590 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.019) 0:00:49.609 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.021) 0:00:49.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.025) 0:00:49.657 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.238) 0:00:49.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.024) 0:00:49.920 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.019) 0:00:49.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.019) 0:00:49.959 ***** 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, f95f8b03-a1d4-4851-8c67-cb11c4b037e2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.303) 0:00:50.262 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.021) 0:00:50.284 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f95f8b03-a1d4-4851-8c67-cb11c4b037e2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.021) 0:00:50.306 ***** 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, f95f8b03-a1d4-4851-8c67-cb11c4b037e2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f95f8b03-a1d4-4851-8c67-cb11c4b037e2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.022) 0:00:50.328 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.021) 0:00:50.350 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.130) 0:00:50.480 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.033) 0:00:50.514 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.049) 0:00:50.563 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.054) 0:00:50.617 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.022) 0:00:50.640 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.032) 0:00:50.672 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.798) 0:00:51.471 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.648) 0:00:52.120 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.023) 0:00:52.144 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.022) 0:00:52.166 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.021) 0:00:52.188 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.042) 0:00:52.230 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.019) 0:00:52.250 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.020) 0:00:52.271 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.023) 0:00:52.294 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.226) 0:00:52.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.026) 0:00:52.548 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.020) 0:00:52.569 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.019) 0:00:52.588 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.401) 0:00:52.989 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.023) 0:00:53.012 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.022) 0:00:53.035 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.022) 0:00:53.057 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.019) 0:00:53.077 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.128) 0:00:53.205 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.040) 0:00:53.245 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.036) 0:00:53.282 ***** included: /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.041) 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.025) 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.022) 0:00:53.372 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.026) 0:00:53.399 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.770) 0:00:54.169 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.639) 0:00:54.809 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.021) 0:00:54.831 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.022) 0:00:54.853 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.021) 0:00:54.875 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.056) 0:00:54.931 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.033) 0:00:54.964 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.032) 0:00:54.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.025) 0:00:55.023 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.240) 0:00:55.264 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.031) 0:00:55.295 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.048) 0:00:55.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.019) 0:00:55.363 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.294) 0:00:55.658 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.022) 0:00:55.680 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.025) 0:00:55.705 ***** 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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.033) 0:00:55.739 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.037) 0:00:55.776 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.133) 0:00:55.910 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.055) 0:00:55.965 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.041) 0:00:56.007 ***** 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.022) 0:00:56.029 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.131) 0:00:56.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.026) 0:00:56.187 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020367", "end": "2024-01-10 15:52:54.655930", "rc": 1, "start": "2024-01-10 15:52:54.635563" } 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_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.172) 0:00:56.360 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.026) 0:00:56.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.064) 0:00:56.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.047) 0:00:56.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.039) 0:00:56.539 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.027) 0:00:56.566 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.029) 0:00:56.595 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.408690", "end": "2024-01-10 15:52:55.448364", "rc": 0, "start": "2024-01-10 15:52:55.039674" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.543) 0:00:57.139 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.022) 0:00:57.161 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.022) 0:00:57.184 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.042) 0:00:57.226 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.033) 0:00:57.259 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.132) 0:00:57.392 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.024) 0:00:57.417 ***** 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_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.037) 0:00:57.454 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.070) 0:00:57.525 ***** 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.045506", "end": "2024-01-10 15:52:56.015159", "rc": 1, "start": "2024-01-10 15:52:55.969653" } 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 15:52:56 +0000 (0:00:00.168) 0:00:57.693 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.82s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.33s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.25s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.07s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.99s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.79s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_typejcodjm1o/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_typejcodjm1o/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_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typejcodjm1o/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. ---^---^---^---^---^---