# 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_type6uhcryls/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 20:25:32 +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_type6uhcryls/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.541) 0:00:00.552 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.022) 0:00:00.575 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:25:33 +0000 (0:00:00.240) 0:00:00.815 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.211) 0:00:01.027 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.020) 0:00:01.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.018) 0:00:01.066 ******* included: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.030) 0:00:01.097 ******* 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_type6uhcryls/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.194) 0:00:01.292 ******* 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_type6uhcryls/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:25:34 +0000 (0:00:00.474) 0:00:01.766 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.185982", "end": "2024-01-09 20:25:35.040706", "rc": 0, "start": "2024-01-09 20:25:34.854724" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.327) 0:00:02.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.011) 0:00:02.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.010) 0:00:02.115 ******* 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_type6uhcryls/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.010) 0:00:02.125 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.388) 0:00:02.514 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.009) 0:00:02.523 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.015) 0:00:02.539 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.010) 0:00:02.549 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.031) 0:00:02.580 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.013) 0:00:02.594 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.012) 0:00:02.606 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003940", "end": "2024-01-09 20:25:35.699597", "rc": 0, "start": "2024-01-09 20:25:35.695657" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.133) 0:00:02.740 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.010) 0:00:02.751 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.009) 0:00:02.760 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.019) 0:00:02.779 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012181", "end": "2024-01-09 20:25:35.882975", "rc": 1, "start": "2024-01-09 20:25:35.870794" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.143) 0:00:02.923 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:35 +0000 (0:00:00.013) 0:00:02.937 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.138) 0:00:03.076 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.013) 0:00:03.090 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.022) 0:00:03.112 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.056) 0:00:03.169 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.069) 0:00:03.238 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.018) 0:00:03.256 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.011) 0:00:03.267 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:36 +0000 (0:00:00.014) 0:00:03.282 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:37 +0000 (0:00:00.828) 0:00:04.110 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:38 +0000 (0:00:01.161) 0:00:05.272 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.022) 0:00:05.294 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.020) 0:00:05.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.019) 0:00:05.334 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.041) 0:00:05.376 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.019) 0:00:05.395 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.019) 0:00:05.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.022) 0:00:05.437 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.365) 0:00:05.803 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.023) 0:00:05.827 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.019) 0:00:05.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:38 +0000 (0:00:00.019) 0:00:05.865 ******* 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, e315f8b3-d17a-4c72-87a0-954bc99138d9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.457) 0:00:06.322 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.021) 0:00:06.344 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e315f8b3-d17a-4c72-87a0-954bc99138d9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.045) 0:00:06.389 ******* 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, e315f8b3-d17a-4c72-87a0-954bc99138d9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e315f8b3-d17a-4c72-87a0-954bc99138d9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.021) 0:00:06.411 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.020) 0:00:06.432 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.187) 0:00:06.620 ******* 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, e315f8b3-d17a-4c72-87a0-954bc99138d9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e315f8b3-d17a-4c72-87a0-954bc99138d9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.021) 0:00:06.641 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.038) 0:00:06.680 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.034) 0:00:06.714 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.020) 0:00:06.735 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831939.287106, "block_size": 4096, "blocks": 8, "ctime": 1704831939.2101054, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831939.2101054, "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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.143) 0:00:06.879 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:39 +0000 (0:00:00.021) 0:00:06.901 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027214", "end": "2024-01-09 20:25:40.017174", "rc": 0, "start": "2024-01-09 20:25:39.989960" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.166) 0:00:07.068 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.023) 0:00:07.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.024) 0:00:07.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.021) 0:00:07.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.021) 0:00:07.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.043) 0:00:07.202 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.028) 0:00:07.230 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.024) 0:00:07.254 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.025) 0:00:07.280 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.047) 0:00:07.328 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.037) 0:00:07.365 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831939.2161055, "block_size": 4096, "blocks": 0, "ctime": 1704831939.2131054, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17660, "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": 1704831939.2131054, "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_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.145) 0:00:07.510 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.024) 0:00:07.535 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.021) 0:00:07.557 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.039) 0:00:07.596 ******* 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.083262", "end": "2024-01-09 20:25:40.783530", "rc": 1, "start": "2024-01-09 20:25:40.700268" } STDOUT: Connection 'statebr' (e315f8b3-d17a-4c72-87a0-954bc99138d9) successfully deleted. STDERR: (process:31045): GLib-GIO-WARNING **: 20:25:40.760: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/39 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_type6uhcryls/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.238) 0:00:07.835 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.036) 0:00:07.871 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.022) 0:00:07.893 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.096) 0:00:07.989 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:40 +0000 (0:00:00.034) 0:00:08.023 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.031) 0:00:08.055 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003999", "end": "2024-01-09 20:25:41.148955", "rc": 0, "start": "2024-01-09 20:25:41.144956" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.145) 0:00:08.200 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.021) 0:00:08.221 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.019) 0:00:08.241 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.039) 0:00:08.281 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008157", "end": "2024-01-09 20:25:41.378389", "rc": 1, "start": "2024-01-09 20:25:41.370232" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.148) 0:00:08.429 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.034) 0:00:08.463 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.141) 0:00:08.604 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.021) 0:00:08.626 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.036) 0:00:08.663 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.059) 0:00:08.722 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.038) 0:00:08.761 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.024) 0:00:08.785 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.020) 0:00:08.806 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:41 +0000 (0:00:00.020) 0:00:08.827 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:42 +0000 (0:00:00.759) 0:00:09.586 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:43 +0000 (0:00:01.015) 0:00:10.602 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.031) 0:00:10.633 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.033) 0:00:10.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.036) 0:00:10.703 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.046) 0:00:10.749 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.034) 0:00:10.784 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.023) 0:00:10.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:43 +0000 (0:00:00.024) 0:00:10.832 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.243) 0:00:11.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.024) 0:00:11.099 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.021) 0:00:11.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.020) 0:00:11.141 ******* 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, fc5ad8b0-bb6f-48a1-9c37-6777bc134ad6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.323) 0:00:11.465 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.021) 0:00:11.486 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5ad8b0-bb6f-48a1-9c37-6777bc134ad6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.022) 0:00:11.509 ******* 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, fc5ad8b0-bb6f-48a1-9c37-6777bc134ad6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5ad8b0-bb6f-48a1-9c37-6777bc134ad6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.045) 0:00:11.555 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.074) 0:00:11.629 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.175) 0:00:11.805 ******* 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, fc5ad8b0-bb6f-48a1-9c37-6777bc134ad6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5ad8b0-bb6f-48a1-9c37-6777bc134ad6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.052) 0:00:11.858 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.044) 0:00:11.902 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:44 +0000 (0:00:00.034) 0:00:11.937 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.150) 0:00:12.088 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.040) 0:00:12.128 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.056) 0:00:12.184 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.032) 0:00:12.217 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831944.38714, "block_size": 4096, "blocks": 8, "ctime": 1704831944.38714, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831944.38714, "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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.150) 0:00:12.367 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.028) 0:00:12.395 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024090", "end": "2024-01-09 20:25:45.512295", "rc": 0, "start": "2024-01-09 20:25:45.488205" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.168) 0:00:12.564 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.023) 0:00:12.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.021) 0:00:12.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.055) 0:00:12.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.028) 0:00:12.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.023) 0:00:12.717 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.024) 0:00:12.741 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.023) 0:00:12.765 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.022) 0:00:12.787 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.020) 0:00:12.807 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.031) 0:00:12.838 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:45 +0000 (0:00:00.040) 0:00:12.879 ******* 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.055175", "end": "2024-01-09 20:25:46.036676", "rc": 1, "start": "2024-01-09 20:25:45.981501" } STDOUT: Connection 'statebr' (fc5ad8b0-bb6f-48a1-9c37-6777bc134ad6) 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_type6uhcryls/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.213) 0:00:13.092 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.037) 0:00:13.130 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.020) 0:00:13.151 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.042) 0:00:13.193 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.032) 0:00:13.225 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:46 +0000 (0:00:00.056) 0:00:13.282 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005075", "end": "2024-01-09 20:25:47.378545", "rc": 0, "start": "2024-01-09 20:25:46.373470" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:47 +0000 (0:00:01.149) 0:00:14.432 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.029) 0:00:14.461 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.027) 0:00:14.488 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.037) 0:00:14.526 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.036) 0:00:14.563 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.040) 0:00:14.603 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.025) 0:00:14.628 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.021) 0:00:14.650 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:47 +0000 (0:00:00.024) 0:00:14.675 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:48 +0000 (0:00:00.782) 0:00:15.457 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.992) 0:00:16.449 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.022) 0:00:16.471 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.022) 0:00:16.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.021) 0:00:16.515 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.048) 0:00:16.564 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.022) 0:00:16.587 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.022) 0:00:16.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.050) 0:00:16.660 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.248) 0:00:16.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.027) 0:00:16.936 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.024) 0:00:16.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:49 +0000 (0:00:00.022) 0:00:16.984 ******* 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, c61cc718-f73d-4acc-9698-08f33b691c6d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.355) 0:00:17.340 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.022) 0:00:17.362 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c61cc718-f73d-4acc-9698-08f33b691c6d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.030) 0:00:17.392 ******* 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, c61cc718-f73d-4acc-9698-08f33b691c6d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c61cc718-f73d-4acc-9698-08f33b691c6d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.031) 0:00:17.423 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.029) 0:00:17.453 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.156) 0:00:17.609 ******* 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, c61cc718-f73d-4acc-9698-08f33b691c6d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c61cc718-f73d-4acc-9698-08f33b691c6d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.024) 0:00:17.633 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.040) 0:00:17.673 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.066) 0:00:17.740 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.046) 0:00:17.786 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.042) 0:00:17.828 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.032) 0:00:17.861 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:50 +0000 (0:00:00.029) 0:00:17.890 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:51 +0000 (0:00:00.756) 0:00:18.647 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:52 +0000 (0:00:01.028) 0:00:19.676 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.039) 0:00:19.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.060) 0:00:19.776 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.021) 0:00:19.798 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.044) 0:00:19.843 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.024) 0:00:19.868 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.022) 0:00:19.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:52 +0000 (0:00:00.026) 0:00:19.917 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.261) 0:00:20.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.033) 0:00:20.213 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.025) 0:00:20.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.044) 0:00:20.283 ******* 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, c61cc718-f73d-4acc-9698-08f33b691c6d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.308) 0:00:20.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.021) 0:00:20.612 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c61cc718-f73d-4acc-9698-08f33b691c6d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.023) 0:00:20.636 ******* 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, c61cc718-f73d-4acc-9698-08f33b691c6d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c61cc718-f73d-4acc-9698-08f33b691c6d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.024) 0:00:20.660 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.028) 0:00:20.689 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.142) 0:00:20.831 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.074) 0:00:20.905 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:25:53 +0000 (0:00:00.066) 0:00:20.972 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831950.2401788, "block_size": 4096, "blocks": 0, "ctime": 1704831950.2371788, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17660, "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": 1704831950.2371788, "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_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.149) 0:00:21.122 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.025) 0:00:21.147 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.037) 0:00:21.185 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.025) 0:00:21.210 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831950.2971792, "block_size": 4096, "blocks": 8, "ctime": 1704831950.235179, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25425, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831950.235179, "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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.148) 0:00:21.358 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.022) 0:00:21.380 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025721", "end": "2024-01-09 20:25:54.495364", "rc": 0, "start": "2024-01-09 20:25:54.469643" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.167) 0:00:21.548 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.033) 0:00:21.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.028) 0:00:21.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.022) 0:00:21.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.023) 0:00:21.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.023) 0:00:21.680 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.057) 0:00:21.738 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.024) 0:00:21.762 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.023) 0:00:21.786 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.029) 0:00:21.815 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.024) 0:00:21.840 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:25:54 +0000 (0:00:00.043) 0:00:21.883 ******* 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.083133", "end": "2024-01-09 20:25:55.055532", "rc": 1, "start": "2024-01-09 20:25:54.972399" } STDOUT: Connection 'statebr' (c61cc718-f73d-4acc-9698-08f33b691c6d) successfully deleted. STDERR: (process:31765): GLib-GIO-WARNING **: 20:25:55.032: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/40 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_type6uhcryls/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.222) 0:00:22.106 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.036) 0:00:22.143 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.021) 0:00:22.164 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.042) 0:00:22.206 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.033) 0:00:22.239 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.033) 0:00:22.273 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003640", "end": "2024-01-09 20:25:55.365436", "rc": 0, "start": "2024-01-09 20:25:55.361796" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.143) 0:00:22.416 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.021) 0:00:22.438 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.043) 0:00:22.482 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.040) 0:00:22.522 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.034) 0:00:22.557 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.037) 0:00:22.594 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.024) 0:00:22.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.020) 0:00:22.639 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:55 +0000 (0:00:00.020) 0:00:22.659 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:56 +0000 (0:00:00.747) 0:00:23.406 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.984) 0:00:24.391 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.023) 0:00:24.415 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.021) 0:00:24.436 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.021) 0:00:24.457 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.042) 0:00:24.500 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.022) 0:00:24.522 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.022) 0:00:24.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.024) 0:00:24.568 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.240) 0:00:24.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.027) 0:00:24.837 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.024) 0:00:24.862 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:25:57 +0000 (0:00:00.029) 0:00:24.892 ******* 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, e76fe6f7-6415-4186-bac7-37c72792cb1c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.405) 0:00:25.297 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.021) 0:00:25.319 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e76fe6f7-6415-4186-bac7-37c72792cb1c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.025) 0:00:25.345 ******* 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, e76fe6f7-6415-4186-bac7-37c72792cb1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e76fe6f7-6415-4186-bac7-37c72792cb1c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.026) 0:00:25.371 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.030) 0:00:25.402 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.143) 0:00:25.546 ******* 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, e76fe6f7-6415-4186-bac7-37c72792cb1c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e76fe6f7-6415-4186-bac7-37c72792cb1c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.022) 0:00:25.568 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.034) 0:00:25.603 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.041) 0:00:25.644 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.062) 0:00:25.706 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.051) 0:00:25.758 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:25:58 +0000 (0:00:00.026) 0:00:25.785 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:25:59 +0000 (0:00:00.746) 0:00:26.531 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:00 +0000 (0:00:01.014) 0:00:27.546 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.023) 0:00:27.569 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.021) 0:00:27.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.041) 0:00:27.632 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.059) 0:00:27.692 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.041) 0:00:27.734 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.022) 0:00:27.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.026) 0:00:27.782 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:00 +0000 (0:00:00.240) 0:00:28.023 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.025) 0:00:28.048 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.042) 0:00:28.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.022) 0:00:28.114 ******* 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, e76fe6f7-6415-4186-bac7-37c72792cb1c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.309) 0:00:28.423 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.022) 0:00:28.445 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e76fe6f7-6415-4186-bac7-37c72792cb1c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.022) 0:00:28.468 ******* 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, e76fe6f7-6415-4186-bac7-37c72792cb1c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e76fe6f7-6415-4186-bac7-37c72792cb1c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.022) 0:00:28.491 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.022) 0:00:28.513 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.155) 0:00:28.668 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.053) 0:00:28.722 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.041) 0:00:28.763 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.042) 0:00:28.805 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.025) 0:00:28.831 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.021) 0:00:28.852 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:01 +0000 (0:00:00.032) 0:00:28.885 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:02 +0000 (0:00:00.774) 0:00:29.659 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.991) 0:00:30.650 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.028) 0:00:30.678 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.041) 0:00:30.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.043) 0:00:30.763 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.056) 0:00:30.819 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.031) 0:00:30.850 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.024) 0:00:30.875 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:03 +0000 (0:00:00.031) 0:00:30.906 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.268) 0:00:31.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.024) 0:00:31.199 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.019) 0:00:31.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.019) 0:00:31.238 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.344) 0:00:31.582 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.021) 0:00:31.604 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.026) 0:00:31.630 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.025) 0:00:31.656 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.020) 0:00:31.676 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.134) 0:00:31.810 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.040) 0:00:31.851 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:26:04 +0000 (0:00:00.033) 0:00:31.884 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831958.1702316, "block_size": 4096, "blocks": 0, "ctime": 1704831958.1692317, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17662, "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": 1704831958.1692317, "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_type6uhcryls/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.142) 0:00:32.026 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.048) 0:00:32.075 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.036) 0:00:32.111 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.021) 0:00:32.133 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.143) 0:00:32.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.022) 0:00:32.298 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025033", "end": "2024-01-09 20:26:05.415340", "rc": 1, "start": "2024-01-09 20:26:05.390307" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.166) 0:00:32.465 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.021) 0:00:32.486 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.020) 0:00:32.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.023) 0:00:32.530 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.021) 0:00:32.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.024) 0:00:32.577 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.024) 0:00:32.602 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.021) 0:00:32.623 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.022) 0:00:32.645 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.045) 0:00:32.691 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.083227", "end": "2024-01-09 20:26:05.863936", "rc": 1, "start": "2024-01-09 20:26:05.780709" } STDOUT: Connection 'statebr' (e76fe6f7-6415-4186-bac7-37c72792cb1c) 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_type6uhcryls/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.222) 0:00:32.913 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.035) 0:00:32.949 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.020) 0:00:32.970 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:26:05 +0000 (0:00:00.043) 0:00:33.013 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.034) 0:00:33.048 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.034) 0:00:33.082 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003699", "end": "2024-01-09 20:26:06.177685", "rc": 0, "start": "2024-01-09 20:26:06.173986" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.146) 0:00:33.229 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.022) 0:00:33.251 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.020) 0:00:33.271 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.041) 0:00:33.313 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.033) 0:00:33.347 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.062) 0:00:33.409 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.025) 0:00:33.435 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.021) 0:00:33.456 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:06 +0000 (0:00:00.020) 0:00:33.476 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:07 +0000 (0:00:00.745) 0:00:34.221 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:08 +0000 (0:00:01.005) 0:00:35.227 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.023) 0:00:35.250 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.020) 0:00:35.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.048) 0:00:35.320 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.048) 0:00:35.368 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.040) 0:00:35.409 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.024) 0:00:35.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.047) 0:00:35.481 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.251) 0:00:35.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.027) 0:00:35.760 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.028) 0:00:35.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:08 +0000 (0:00:00.035) 0:00:35.824 ******* 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, c5812328-b023-4ee1-85b8-87c593d7be8b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.379) 0:00:36.203 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.025) 0:00:36.229 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5812328-b023-4ee1-85b8-87c593d7be8b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.023) 0:00:36.252 ******* 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, c5812328-b023-4ee1-85b8-87c593d7be8b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5812328-b023-4ee1-85b8-87c593d7be8b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.026) 0:00:36.279 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.025) 0:00:36.304 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.150) 0:00:36.455 ******* 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, c5812328-b023-4ee1-85b8-87c593d7be8b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5812328-b023-4ee1-85b8-87c593d7be8b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.023) 0:00:36.478 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.060) 0:00:36.539 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.043) 0:00:36.582 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.025) 0:00:36.608 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.021) 0:00:36.629 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:09 +0000 (0:00:00.020) 0:00:36.649 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:10 +0000 (0:00:00.769) 0:00:37.419 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:11 +0000 (0:00:01.021) 0:00:38.440 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.021) 0:00:38.462 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.020) 0:00:38.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.019) 0:00:38.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.043) 0:00:38.544 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.021) 0:00:38.566 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.022) 0:00:38.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.024) 0:00:38.613 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.245) 0:00:38.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.026) 0:00:38.885 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.020) 0:00:38.906 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:11 +0000 (0:00:00.021) 0:00:38.928 ******* 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, c5812328-b023-4ee1-85b8-87c593d7be8b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.301) 0:00:39.229 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.020) 0:00:39.249 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5812328-b023-4ee1-85b8-87c593d7be8b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.020) 0:00:39.270 ******* 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, c5812328-b023-4ee1-85b8-87c593d7be8b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5812328-b023-4ee1-85b8-87c593d7be8b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.020) 0:00:39.291 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.019) 0:00:39.310 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.161) 0:00:39.472 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.035) 0:00:39.507 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.037) 0:00:39.545 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.024) 0:00:39.570 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.019) 0:00:39.589 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:12 +0000 (0:00:00.020) 0:00:39.610 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:13 +0000 (0:00:00.744) 0:00:40.355 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:14 +0000 (0:00:01.011) 0:00:41.366 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.021) 0:00:41.387 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.020) 0:00:41.407 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.021) 0:00:41.429 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.041) 0:00:41.470 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.020) 0:00:41.490 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.019) 0:00:41.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.024) 0:00:41.535 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.240) 0:00:41.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.024) 0:00:41.799 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.019) 0:00:41.819 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:14 +0000 (0:00:00.021) 0:00:41.840 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.343) 0:00:42.184 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.020) 0:00:42.204 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.048) 0:00:42.253 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.022) 0:00:42.275 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.020) 0:00:42.295 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.135) 0:00:42.431 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.038) 0:00:42.469 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.039) 0:00:42.508 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.038) 0:00:42.546 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.025) 0:00:42.572 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.020) 0:00:42.592 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:15 +0000 (0:00:00.019) 0:00:42.611 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:16 +0000 (0:00:00.739) 0:00:43.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:17 +0000 (0:00:01.009) 0:00:44.361 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.021) 0:00:44.383 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.019) 0:00:44.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.020) 0:00:44.423 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.041) 0:00:44.464 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.020) 0:00:44.484 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.020) 0:00:44.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.022) 0:00:44.527 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.240) 0:00:44.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.028) 0:00:44.795 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.051) 0:00:44.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:17 +0000 (0:00:00.021) 0:00:44.868 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.406) 0:00:45.275 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.026) 0:00:45.301 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.022) 0:00:45.324 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.023) 0:00:45.347 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.021) 0:00:45.368 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.139) 0:00:45.508 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.041) 0:00:45.549 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.037) 0:00:45.586 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.021) 0:00:45.608 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.142) 0:00:45.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.021) 0:00:45.772 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023722", "end": "2024-01-09 20:26:18.886569", "rc": 1, "start": "2024-01-09 20:26:18.862847" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.194) 0:00:45.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.023) 0:00:45.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:26:18 +0000 (0:00:00.023) 0:00:46.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.021) 0:00:46.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.022) 0:00:46.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.022) 0:00:46.079 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.025) 0:00:46.105 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.042) 0:00:46.147 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.034) 0:00:46.182 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.143) 0:00:46.325 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.022) 0:00:46.348 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.021) 0:00:46.369 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.038) 0:00:46.407 ******* 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.052634", "end": "2024-01-09 20:26:19.553702", "rc": 1, "start": "2024-01-09 20:26:19.501068" } 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_type6uhcryls/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.197) 0:00:46.605 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.059) 0:00:46.665 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.022) 0:00:46.687 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.042) 0:00:46.730 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.032) 0:00:46.763 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.034) 0:00:46.797 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003792", "end": "2024-01-09 20:26:19.892664", "rc": 0, "start": "2024-01-09 20:26:19.888872" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.146) 0:00:46.944 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.021) 0:00:46.965 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:26:19 +0000 (0:00:00.023) 0:00:46.988 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:26:20 +0000 (0:00:00.043) 0:00:47.032 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:20 +0000 (0:00:00.036) 0:00:47.068 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:20 +0000 (0:00:00.045) 0:00:47.113 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:20 +0000 (0:00:00.025) 0:00:47.139 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:20 +0000 (0:00:00.044) 0:00:47.183 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:20 +0000 (0:00:00.021) 0:00:47.204 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:20 +0000 (0:00:00.744) 0:00:47.948 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:21 +0000 (0:00:00.988) 0:00:48.937 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:21 +0000 (0:00:00.020) 0:00:48.958 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:21 +0000 (0:00:00.020) 0:00:48.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:21 +0000 (0:00:00.019) 0:00:48.998 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.042) 0:00:49.040 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.040) 0:00:49.080 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.020) 0:00:49.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.023) 0:00:49.125 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.245) 0:00:49.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.026) 0:00:49.397 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.020) 0:00:49.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.020) 0:00:49.438 ******* 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, 071dd710-fe48-476f-a3e1-97b84a77e11f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.348) 0:00:49.786 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.020) 0:00:49.807 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 071dd710-fe48-476f-a3e1-97b84a77e11f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.021) 0:00:49.828 ******* 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, 071dd710-fe48-476f-a3e1-97b84a77e11f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 071dd710-fe48-476f-a3e1-97b84a77e11f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.021) 0:00:49.850 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.019) 0:00:49.870 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:26:22 +0000 (0:00:00.137) 0:00:50.007 ******* 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, 071dd710-fe48-476f-a3e1-97b84a77e11f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 071dd710-fe48-476f-a3e1-97b84a77e11f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:26:23 +0000 (0:00:00.022) 0:00:50.029 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:23 +0000 (0:00:00.035) 0:00:50.064 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:23 +0000 (0:00:00.063) 0:00:50.127 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:23 +0000 (0:00:00.025) 0:00:50.152 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:23 +0000 (0:00:00.021) 0:00:50.174 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:23 +0000 (0:00:00.020) 0:00:50.195 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:23 +0000 (0:00:00.740) 0:00:50.935 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:24 +0000 (0:00:00.989) 0:00:51.924 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:24 +0000 (0:00:00.023) 0:00:51.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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:24 +0000 (0:00:00.055) 0:00:52.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.022) 0:00:52.026 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.048) 0:00:52.074 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.021) 0:00:52.096 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.020) 0:00:52.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.023) 0:00:52.140 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.244) 0:00:52.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.024) 0:00:52.408 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.021) 0:00:52.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.019) 0:00:52.450 ******* 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, 071dd710-fe48-476f-a3e1-97b84a77e11f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.306) 0:00:52.756 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.020) 0:00:52.776 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 071dd710-fe48-476f-a3e1-97b84a77e11f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.020) 0:00:52.797 ******* 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, 071dd710-fe48-476f-a3e1-97b84a77e11f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 071dd710-fe48-476f-a3e1-97b84a77e11f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.022) 0:00:52.820 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.020) 0:00:52.840 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:26:25 +0000 (0:00:00.137) 0:00:52.978 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:26 +0000 (0:00:00.058) 0:00:53.037 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:26 +0000 (0:00:00.038) 0:00:53.075 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:26 +0000 (0:00:00.025) 0:00:53.101 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:26 +0000 (0:00:00.022) 0:00:53.123 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:26 +0000 (0:00:00.022) 0:00:53.145 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:26 +0000 (0:00:00.742) 0:00:53.888 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:27 +0000 (0:00:01.011) 0:00:54.899 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:27 +0000 (0:00:00.021) 0:00:54.921 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:27 +0000 (0:00:00.019) 0:00:54.941 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:27 +0000 (0:00:00.021) 0:00:54.963 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:27 +0000 (0:00:00.042) 0:00:55.005 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.022) 0:00:55.028 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.021) 0:00:55.049 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.024) 0:00:55.073 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.242) 0:00:55.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.024) 0:00:55.341 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.020) 0:00:55.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.019) 0:00:55.380 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.414) 0:00:55.795 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.019) 0:00:55.815 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.022) 0:00:55.837 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.021) 0:00:55.858 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:28 +0000 (0:00:00.045) 0:00:55.904 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.141) 0:00:56.045 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.037) 0:00:56.083 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.035) 0:00:56.119 ******* included: /WORKDIR/git-route_type6uhcryls/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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.040) 0:00:56.159 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.026) 0:00:56.185 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.021) 0:00:56.206 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.022) 0:00:56.229 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:26:29 +0000 (0:00:00.736) 0:00:56.965 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:26:30 +0000 (0:00:01.009) 0:00:57.975 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:26:30 +0000 (0:00:00.022) 0:00:57.998 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:26:30 +0000 (0:00:00.019) 0:00:58.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.021) 0:00:58.039 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.045) 0:00:58.084 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.021) 0:00:58.106 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.021) 0:00:58.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.024) 0:00:58.151 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.245) 0:00:58.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.026) 0:00:58.424 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.024) 0:00:58.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.021) 0:00:58.470 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.361) 0:00:58.832 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.021) 0:00:58.853 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.023) 0:00:58.876 ******* 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_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.022) 0:00:58.899 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:26:31 +0000 (0:00:00.021) 0:00:58.920 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.137) 0:00:59.058 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.040) 0:00:59.099 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.035) 0:00:59.134 ******* 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.021) 0:00:59.155 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.140) 0:00:59.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.019) 0:00:59.315 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021847", "end": "2024-01-09 20:26:32.425957", "rc": 1, "start": "2024-01-09 20:26:32.404110" } 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_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.159) 0:00:59.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.022) 0:00:59.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.020) 0:00:59.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.045) 0:00:59.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.021) 0:00:59.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.021) 0:00:59.606 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:26:32 +0000 (0:00:00.027) 0:00:59.634 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.736340", "end": "2024-01-09 20:26:33.461709", "rc": 0, "start": "2024-01-09 20:26:32.725369" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.883) 0:01:00.518 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.021) 0:01:00.540 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.024) 0:01:00.564 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.048) 0:01:00.612 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.034) 0:01:00.647 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.140) 0:01:00.787 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.025) 0:01:00.813 ******* 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_type6uhcryls/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.022) 0:01:00.835 ******* included: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:26:33 +0000 (0:00:00.068) 0:01:00.903 ******* 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.052059", "end": "2024-01-09 20:26:34.046607", "rc": 1, "start": "2024-01-09 20:26:33.994548" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 09 January 2024 20:26:34 +0000 (0:00:00.181) 0:01:01.085 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.95s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.35s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.23s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.18s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.16s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_type6uhcryls/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.99s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-route_type6uhcryls/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---