# 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_type10xdy443/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 18:36:27 +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_type10xdy443/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 18:36:27 +0000 (0:00:00.531) 0:00:00.542 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:36:27 +0000 (0:00:00.021) 0:00:00.564 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 18:36:28 +0000 (0:00:00.240) 0:00:00.805 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 18:36:28 +0000 (0:00:00.191) 0:00:00.996 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 18:36:28 +0000 (0:00:00.020) 0:00:01.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 18:36:28 +0000 (0:00:00.017) 0:00:01.034 ***** included: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:36:28 +0000 (0:00:00.029) 0:00:01.063 ***** 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_type10xdy443/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:36:28 +0000 (0:00:00.187) 0:00:01.251 ***** 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_type10xdy443/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:36:28 +0000 (0:00:00.455) 0:00:01.706 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177450", "end": "2024-01-10 18:36:29.253473", "rc": 0, "start": "2024-01-10 18:36:29.076023" } 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_type10xdy443/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.302) 0:00:02.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.010) 0:00:02.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.009) 0:00:02.029 ***** 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_type10xdy443/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.009) 0:00:02.038 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.392) 0:00:02.431 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.009) 0:00:02.441 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.016) 0:00:02.457 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.010) 0:00:02.468 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.034) 0:00:02.502 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.013) 0:00:02.516 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.014) 0:00:02.530 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003422", "end": "2024-01-10 18:36:29.900464", "rc": 0, "start": "2024-01-10 18:36:29.897042" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.124) 0:00:02.655 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.010) 0:00:02.666 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.010) 0:00:02.677 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.019) 0:00:02.696 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010924", "end": "2024-01-10 18:36:30.074509", "rc": 1, "start": "2024-01-10 18:36:30.063585" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.132) 0:00:02.829 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.015) 0:00:02.845 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.136) 0:00:02.981 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.012) 0:00:02.994 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.018) 0:00:03.012 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.031) 0:00:03.044 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.067) 0:00:03.111 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.013) 0:00:03.124 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.010) 0:00:03.135 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.009) 0:00:03.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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.787) 0:00:03.932 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:32 +0000 (0:00:01.098) 0:00:05.030 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.023) 0:00:05.053 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.022) 0:00:05.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.019) 0:00:05.095 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.042) 0:00:05.137 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.019) 0:00:05.157 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.019) 0:00:05.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.024) 0:00:05.201 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.355) 0:00:05.557 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.024) 0:00:05.581 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.019) 0:00:05.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.019) 0:00:05.621 ***** 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, 6fd78385-e703-4406-a926-1d503bc7c27f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.449) 0:00:06.070 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.019) 0:00:06.090 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6fd78385-e703-4406-a926-1d503bc7c27f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.038) 0:00:06.128 ***** 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, 6fd78385-e703-4406-a926-1d503bc7c27f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6fd78385-e703-4406-a926-1d503bc7c27f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.021) 0:00:06.150 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.019) 0:00:06.170 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.182) 0:00:06.352 ***** 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, 6fd78385-e703-4406-a926-1d503bc7c27f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6fd78385-e703-4406-a926-1d503bc7c27f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.022) 0:00:06.374 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.036) 0:00:06.411 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.034) 0:00:06.446 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.020) 0:00:06.467 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911793.2410634, "block_size": 4096, "blocks": 8, "ctime": 1704911793.2400634, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704911793.2400634, "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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.133) 0:00:06.600 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.022) 0:00:06.622 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027832", "end": "2024-01-10 18:36:34.017251", "rc": 0, "start": "2024-01-10 18:36:33.989419" } 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.159) 0:00:06.781 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.022) 0:00:06.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.021) 0:00:06.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.021) 0:00:06.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.021) 0:00:06.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.061) 0:00:06.930 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.023) 0:00:06.953 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.021) 0:00:06.975 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.021) 0:00:06.996 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.039) 0:00:07.036 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.032) 0:00:07.069 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911793.2470634, "block_size": 4096, "blocks": 0, "ctime": 1704911793.2430634, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1704911793.2430634, "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_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.133) 0:00:07.202 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.025) 0:00:07.227 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.021) 0:00:07.249 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.039) 0:00:07.288 ***** 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.085377", "end": "2024-01-10 18:36:34.742908", "rc": 1, "start": "2024-01-10 18:36:34.657531" } STDOUT: Connection 'statebr' (6fd78385-e703-4406-a926-1d503bc7c27f) successfully deleted. STDERR: (process:1122): GLib-GIO-WARNING **: 18:36:34.719: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/36 but no object proxy exists (process:1122): GLib-GIO-WARNING **: 18:36:34.723: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/79 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_type10xdy443/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.219) 0:00:07.508 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.034) 0:00:07.542 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.048) 0:00:07.590 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.050) 0:00:07.641 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.043) 0:00:07.684 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.034) 0:00:07.719 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-01-10 18:36:35.097443", "rc": 0, "start": "2024-01-10 18:36:35.093707" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.143) 0:00:07.862 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.022) 0:00:07.885 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.022) 0:00:07.907 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.038) 0:00:07.945 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007432", "end": "2024-01-10 18:36:35.319571", "rc": 1, "start": "2024-01-10 18:36:35.312139" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.137) 0:00:08.083 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.034) 0:00:08.118 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.133) 0:00:08.251 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.021) 0:00:08.273 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.061) 0:00:08.335 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.040) 0:00:08.375 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.039) 0:00:08.415 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.026) 0:00:08.441 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.034) 0:00:08.476 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.021) 0:00:08.497 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.717) 0:00:09.215 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.941) 0:00:10.156 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.023) 0:00:10.179 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.020) 0:00:10.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.020) 0:00:10.221 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.043) 0:00:10.264 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.021) 0:00:10.285 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.028) 0:00:10.314 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.039) 0:00:10.354 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.233) 0:00:10.587 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.030) 0:00:10.617 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.022) 0:00:10.640 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.020) 0:00:10.660 ***** 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, 81b2d968-f0b2-4d66-b8eb-3d56d41048c9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.303) 0:00:10.964 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.020) 0:00:10.984 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81b2d968-f0b2-4d66-b8eb-3d56d41048c9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.021) 0:00:11.005 ***** 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, 81b2d968-f0b2-4d66-b8eb-3d56d41048c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81b2d968-f0b2-4d66-b8eb-3d56d41048c9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.021) 0:00:11.027 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.041) 0:00:11.068 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.132) 0:00:11.200 ***** 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, 81b2d968-f0b2-4d66-b8eb-3d56d41048c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81b2d968-f0b2-4d66-b8eb-3d56d41048c9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.022) 0:00:11.222 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.040) 0:00:11.263 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.033) 0:00:11.296 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.137) 0:00:11.434 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.022) 0:00:11.457 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.034) 0:00:11.492 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.023) 0:00:11.515 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911798.1800392, "block_size": 4096, "blocks": 8, "ctime": 1704911798.1790392, "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": 1704911798.1790392, "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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.135) 0:00:11.651 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.022) 0:00:11.673 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023816", "end": "2024-01-10 18:36:39.063633", "rc": 0, "start": "2024-01-10 18:36:39.039817" } 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.155) 0:00:11.829 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.022) 0:00:11.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.047) 0:00:11.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.023) 0:00:11.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.023) 0:00:11.946 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.022) 0:00:11.969 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.025) 0:00:11.994 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.024) 0:00:12.018 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.022) 0:00:12.041 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.022) 0:00:12.063 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.026) 0:00:12.089 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.041) 0:00:12.131 ***** 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.052949", "end": "2024-01-10 18:36:39.553172", "rc": 1, "start": "2024-01-10 18:36:39.500223" } STDOUT: Connection 'statebr' (81b2d968-f0b2-4d66-b8eb-3d56d41048c9) 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_type10xdy443/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.186) 0:00:12.318 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.035) 0:00:12.353 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.020) 0:00:12.374 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.042) 0:00:12.417 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.034) 0:00:12.452 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.060) 0:00:12.512 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003609", "end": "2024-01-10 18:36:39.885995", "rc": 0, "start": "2024-01-10 18:36:39.882386" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.138) 0:00:12.651 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.021) 0:00:12.672 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.021) 0:00:12.694 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.035) 0:00:12.730 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.033) 0:00:12.764 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.046) 0:00:12.810 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.028) 0:00:12.838 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.021) 0:00:12.859 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.022) 0:00:12.881 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.736) 0:00:13.617 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.930) 0:00:14.548 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.021) 0:00:14.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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.019) 0:00:14.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.020) 0:00:14.609 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.042) 0:00:14.651 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.019) 0:00:14.671 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.020) 0:00:14.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.024) 0:00:14.715 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.227) 0:00:14.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.023) 0:00:14.966 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.042) 0:00:15.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.020) 0:00:15.029 ***** 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, 2f89e366-7a01-43d5-9490-457b98f4e031 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.336) 0:00:15.365 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.021) 0:00:15.387 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f89e366-7a01-43d5-9490-457b98f4e031" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.023) 0:00:15.410 ***** 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, 2f89e366-7a01-43d5-9490-457b98f4e031\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f89e366-7a01-43d5-9490-457b98f4e031" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.022) 0:00:15.433 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.020) 0:00:15.454 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.133) 0:00:15.587 ***** 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, 2f89e366-7a01-43d5-9490-457b98f4e031\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f89e366-7a01-43d5-9490-457b98f4e031" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.023) 0:00:15.611 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.036) 0:00:15.647 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.038) 0:00:15.685 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.038) 0:00:15.724 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.024) 0:00:15.748 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.042) 0:00:15.791 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.021) 0:00:15.812 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.704) 0:00:16.517 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.927) 0:00:17.444 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.023) 0:00:17.468 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.022) 0:00:17.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.022) 0:00:17.512 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.055) 0:00:17.568 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.021) 0:00:17.589 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.048) 0:00:17.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.024) 0:00:17.661 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.231) 0:00:17.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.024) 0:00:17.917 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.020) 0:00:17.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.019) 0:00:17.957 ***** 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, 2f89e366-7a01-43d5-9490-457b98f4e031 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.295) 0:00:18.253 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.022) 0:00:18.276 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2f89e366-7a01-43d5-9490-457b98f4e031 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.022) 0:00:18.298 ***** 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, 2f89e366-7a01-43d5-9490-457b98f4e031 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2f89e366-7a01-43d5-9490-457b98f4e031 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.021) 0:00:18.320 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.020) 0:00:18.340 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.128) 0:00:18.469 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.041) 0:00:18.510 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.034) 0:00:18.545 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911802.549018, "block_size": 4096, "blocks": 0, "ctime": 1704911802.5440178, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1704911802.5440178, "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_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.156) 0:00:18.701 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.023) 0:00:18.725 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.034) 0:00:18.760 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.020) 0:00:18.780 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911802.5960176, "block_size": 4096, "blocks": 8, "ctime": 1704911802.542018, "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": 1704911802.542018, "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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.135) 0:00:18.916 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.022) 0:00:18.939 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024185", "end": "2024-01-10 18:36:46.331651", "rc": 0, "start": "2024-01-10 18:36:46.307466" } 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.158) 0:00:19.097 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.023) 0:00:19.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.024) 0:00:19.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.022) 0:00:19.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.021) 0:00:19.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.022) 0:00:19.210 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.021) 0:00:19.232 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.022) 0:00:19.254 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.022) 0:00:19.276 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.019) 0:00:19.296 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.048) 0:00:19.344 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.040) 0:00:19.384 ***** 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.083355", "end": "2024-01-10 18:36:46.839747", "rc": 1, "start": "2024-01-10 18:36:46.756392" } STDOUT: Connection 'statebr' (2f89e366-7a01-43d5-9490-457b98f4e031) successfully deleted. STDERR: (process:1848): GLib-GIO-WARNING **: 18:36:46.813: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/37 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_type10xdy443/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.219) 0:00:19.604 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.034) 0:00:19.639 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.021) 0:00:19.661 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.042) 0:00:19.704 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.032) 0:00:19.736 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.031) 0:00:19.768 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003891", "end": "2024-01-10 18:36:47.140765", "rc": 0, "start": "2024-01-10 18:36:47.136874" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.140) 0:00:19.908 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.022) 0:00:19.930 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.021) 0:00:19.952 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.039) 0:00:19.991 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.064) 0:00:20.055 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.038) 0:00:20.094 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.027) 0:00:20.121 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.022) 0:00:20.143 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.021) 0:00:20.165 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.701) 0:00:20.866 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.920) 0:00:21.786 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.040) 0:00:21.827 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.021) 0:00:21.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.021) 0:00:21.869 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.043) 0:00:21.913 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.024) 0:00:21.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.025) 0:00:21.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.028) 0:00:21.992 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.236) 0:00:22.228 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.025) 0:00:22.254 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.020) 0:00:22.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.019) 0:00:22.294 ***** 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, 6c9b263a-09b8-4662-81c0-505f73ef48fb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.341) 0:00:22.636 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.019) 0:00:22.656 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c9b263a-09b8-4662-81c0-505f73ef48fb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.021) 0:00:22.677 ***** 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, 6c9b263a-09b8-4662-81c0-505f73ef48fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c9b263a-09b8-4662-81c0-505f73ef48fb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.021) 0:00:22.698 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.019) 0:00:22.718 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.153) 0:00:22.871 ***** 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, 6c9b263a-09b8-4662-81c0-505f73ef48fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6c9b263a-09b8-4662-81c0-505f73ef48fb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.023) 0:00:22.894 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.035) 0:00:22.930 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.039) 0:00:22.969 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.025) 0:00:22.995 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.021) 0:00:23.016 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.021) 0:00:23.038 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.703) 0:00:23.741 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.946) 0:00:24.688 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.022) 0:00:24.710 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.022) 0:00:24.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.026) 0:00:24.759 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.042) 0:00:24.801 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.023) 0:00:24.825 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.020) 0:00:24.845 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.024) 0:00:24.870 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.227) 0:00:25.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.024) 0:00:25.122 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.019) 0:00:25.142 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.019) 0:00:25.161 ***** 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, 6c9b263a-09b8-4662-81c0-505f73ef48fb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.293) 0:00:25.455 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.021) 0:00:25.476 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6c9b263a-09b8-4662-81c0-505f73ef48fb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.021) 0:00:25.498 ***** 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, 6c9b263a-09b8-4662-81c0-505f73ef48fb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6c9b263a-09b8-4662-81c0-505f73ef48fb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.046) 0:00:25.544 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.020) 0:00:25.565 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.131) 0:00:25.696 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.039) 0:00:25.736 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.037) 0:00:25.774 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.037) 0:00:25.811 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.025) 0:00:25.837 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.019) 0:00:25.857 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.019) 0:00:25.876 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.694) 0:00:26.571 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.949) 0:00:27.520 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.027) 0:00:27.547 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.031) 0:00:27.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.029) 0:00:27.608 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.045) 0:00:27.654 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.021) 0:00:27.676 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.020) 0:00:27.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.023) 0:00:27.720 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.231) 0:00:27.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.024) 0:00:27.976 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.019) 0:00:27.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.019) 0:00:28.016 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.363) 0:00:28.379 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.022) 0:00:28.402 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.024) 0:00:28.426 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.022) 0:00:28.449 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.020) 0:00:28.470 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.129) 0:00:28.599 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.041) 0:00:28.640 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.034) 0:00:28.675 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911809.8189821, "block_size": 4096, "blocks": 0, "ctime": 1704911809.8149822, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17687, "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": 1704911809.8149822, "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_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.136) 0:00:28.812 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.024) 0:00:28.836 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.034) 0:00:28.870 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.020) 0:00:28.891 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.131) 0:00:29.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.058) 0:00:29.081 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024543", "end": "2024-01-10 18:36:56.485518", "rc": 1, "start": "2024-01-10 18:36:56.460975" } 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.169) 0:00:29.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:29.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:29.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:29.315 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.020) 0:00:29.336 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:29.358 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:29.379 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.019) 0:00:29.399 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.020) 0:00:29.420 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.040) 0:00:29.460 ***** 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.086380", "end": "2024-01-10 18:36:56.914704", "rc": 1, "start": "2024-01-10 18:36:56.828324" } STDOUT: Connection 'statebr' (6c9b263a-09b8-4662-81c0-505f73ef48fb) 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_type10xdy443/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.219) 0:00:29.679 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.035) 0:00:29.715 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:29.737 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.041) 0:00:29.778 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.058) 0:00:29.837 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.033) 0:00:29.870 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-01-10 18:36:57.242079", "rc": 0, "start": "2024-01-10 18:36:57.238631" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.137) 0:00:30.008 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.022) 0:00:30.031 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.021) 0:00:30.052 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.042) 0:00:30.095 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.035) 0:00:30.131 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.040) 0:00:30.171 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.038) 0:00:30.210 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.021) 0:00:30.232 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.020) 0:00:30.252 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.713) 0:00:30.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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.930) 0:00:31.896 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.023) 0:00:31.919 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.023) 0:00:31.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.023) 0:00:31.967 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.046) 0:00:32.013 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.022) 0:00:32.036 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.022) 0:00:32.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.028) 0:00:32.086 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.236) 0:00:32.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.051) 0:00:32.374 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.021) 0:00:32.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.023) 0:00:32.418 ***** 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, 85e3ae9b-44be-4909-9b75-4b8c987d2492 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.356) 0:00:32.775 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.020) 0:00:32.796 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85e3ae9b-44be-4909-9b75-4b8c987d2492" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.024) 0:00:32.820 ***** 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, 85e3ae9b-44be-4909-9b75-4b8c987d2492\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85e3ae9b-44be-4909-9b75-4b8c987d2492" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.024) 0:00:32.844 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.021) 0:00:32.866 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.130) 0:00:32.997 ***** 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, 85e3ae9b-44be-4909-9b75-4b8c987d2492\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85e3ae9b-44be-4909-9b75-4b8c987d2492" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.024) 0:00:33.022 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.036) 0:00:33.058 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.040) 0:00:33.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.024) 0:00:33.124 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.020) 0:00:33.144 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.021) 0:00:33.166 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.754) 0:00:33.920 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.943) 0:00:34.864 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.028) 0:00:34.892 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.023) 0:00:34.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.031) 0:00:34.947 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.047) 0:00:34.995 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.021) 0:00:35.017 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.021) 0:00:35.038 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.025) 0:00:35.064 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.240) 0:00:35.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.048) 0:00:35.353 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.043) 0:00:35.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.022) 0:00:35.418 ***** 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, 85e3ae9b-44be-4909-9b75-4b8c987d2492 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.301) 0:00:35.720 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.021) 0:00:35.741 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85e3ae9b-44be-4909-9b75-4b8c987d2492 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.026) 0:00:35.768 ***** 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, 85e3ae9b-44be-4909-9b75-4b8c987d2492 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85e3ae9b-44be-4909-9b75-4b8c987d2492 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.022) 0:00:35.790 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.020) 0:00:35.810 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.136) 0:00:35.947 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.035) 0:00:35.982 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.038) 0:00:36.021 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.026) 0:00:36.047 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.019) 0:00:36.067 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.046) 0:00:36.113 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.708) 0:00:36.822 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.918) 0:00:37.740 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.022) 0:00:37.763 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.021) 0:00:37.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.026) 0:00:37.811 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.052) 0:00:37.864 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.022) 0:00:37.887 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.021) 0:00:37.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.023) 0:00:37.932 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.230) 0:00:38.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.028) 0:00:38.191 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.033) 0:00:38.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.021) 0:00:38.246 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.343) 0:00:38.589 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.029) 0:00:38.618 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.022) 0:00:38.641 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.022) 0:00:38.664 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.021) 0:00:38.686 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.144) 0:00:38.830 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.040) 0:00:38.871 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.043) 0:00:38.914 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.039) 0:00:38.953 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.054) 0:00:39.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.022) 0:00:39.030 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.025) 0:00:39.055 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.705) 0:00:39.760 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.938) 0:00:40.699 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.038) 0:00:40.738 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.024) 0:00:40.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.024) 0:00:40.786 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.044) 0:00:40.830 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.044) 0:00:40.875 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.021) 0:00:40.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.026) 0:00:40.923 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.239) 0:00:41.162 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.025) 0:00:41.188 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.020) 0:00:41.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.020) 0:00:41.229 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.402) 0:00:41.632 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.030) 0:00:41.663 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.024) 0:00:41.687 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.023) 0:00:41.711 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.023) 0:00:41.735 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.160) 0:00:41.896 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.055) 0:00:41.951 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.088) 0:00:42.040 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.033) 0:00:42.073 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.156) 0:00:42.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.043) 0:00:42.273 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023628", "end": "2024-01-10 18:37:09.685567", "rc": 1, "start": "2024-01-10 18:37:09.661939" } 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.182) 0:00:42.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.047) 0:00:42.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.049) 0:00:42.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.028) 0:00:42.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.035) 0:00:42.617 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.023) 0:00:42.641 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.027) 0:00:42.668 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.056) 0:00:42.725 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.046) 0:00:42.771 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.149) 0:00:42.920 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.024) 0:00:42.945 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.052) 0:00:42.997 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.041) 0:00:43.038 ***** 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.049266", "end": "2024-01-10 18:37:10.457298", "rc": 1, "start": "2024-01-10 18:37:10.408032" } 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_type10xdy443/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.184) 0:00:43.223 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.038) 0:00:43.261 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.023) 0:00:43.284 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.046) 0:00:43.330 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.035) 0:00:43.366 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.033) 0:00:43.399 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003564", "end": "2024-01-10 18:37:10.773400", "rc": 0, "start": "2024-01-10 18:37:10.769836" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.141) 0:00:43.541 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.024) 0:00:43.566 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.021) 0:00:43.587 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.043) 0:00:43.631 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.062) 0:00:43.693 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.040) 0:00:43.733 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:11 +0000 (0:00:00.025) 0:00:43.759 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:11 +0000 (0:00:00.022) 0:00:43.781 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:11 +0000 (0:00:00.021) 0:00:43.802 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:11 +0000 (0:00:00.738) 0:00:44.541 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.926) 0:00:45.468 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.053) 0:00:45.522 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.022) 0:00:45.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.019) 0:00:45.564 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.042) 0:00:45.607 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.021) 0:00:45.628 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.022) 0:00:45.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.026) 0:00:45.676 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.235) 0:00:45.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.024) 0:00:45.937 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.020) 0:00:45.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.021) 0:00:45.978 ***** 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, 93d26b0a-3092-4e7a-8dc4-f4ea873df793 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.342) 0:00:46.321 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.019) 0:00:46.341 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 93d26b0a-3092-4e7a-8dc4-f4ea873df793" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.022) 0:00:46.363 ***** 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, 93d26b0a-3092-4e7a-8dc4-f4ea873df793\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 93d26b0a-3092-4e7a-8dc4-f4ea873df793" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.021) 0:00:46.384 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.019) 0:00:46.404 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.157) 0:00:46.561 ***** 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, 93d26b0a-3092-4e7a-8dc4-f4ea873df793\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 93d26b0a-3092-4e7a-8dc4-f4ea873df793" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.026) 0:00:46.587 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.033) 0:00:46.621 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.039) 0:00:46.660 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.025) 0:00:46.685 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.019) 0:00:46.705 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.023) 0:00:46.728 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:14 +0000 (0:00:00.711) 0:00:47.440 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.944) 0:00:48.385 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.022) 0:00:48.407 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.020) 0:00:48.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.020) 0:00:48.449 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.043) 0:00:48.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.022) 0:00:48.515 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.020) 0:00:48.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.026) 0:00:48.562 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.228) 0:00:48.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.024) 0:00:48.815 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.019) 0:00:48.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.021) 0:00:48.856 ***** 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, 93d26b0a-3092-4e7a-8dc4-f4ea873df793 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.291) 0:00:49.147 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.022) 0:00:49.170 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 93d26b0a-3092-4e7a-8dc4-f4ea873df793 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.027) 0:00:49.198 ***** 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, 93d26b0a-3092-4e7a-8dc4-f4ea873df793 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 93d26b0a-3092-4e7a-8dc4-f4ea873df793 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.050) 0:00:49.249 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.022) 0:00:49.271 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.134) 0:00:49.406 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.037) 0:00:49.444 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.055) 0:00:49.500 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.027) 0:00:49.528 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.021) 0:00:49.549 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.024) 0:00:49.573 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:17 +0000 (0:00:00.706) 0:00:50.280 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.947) 0:00:51.228 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.021) 0:00:51.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.021) 0:00:51.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.022) 0:00:51.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.049) 0:00:51.342 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.023) 0:00:51.366 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.022) 0:00:51.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.024) 0:00:51.414 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.225) 0:00:51.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.024) 0:00:51.664 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.019) 0:00:51.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.019) 0:00:51.703 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.468) 0:00:52.172 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.025) 0:00:52.197 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.029) 0:00:52.227 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.032) 0:00:52.259 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.022) 0:00:52.282 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.138) 0:00:52.420 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.047) 0:00:52.467 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.035) 0:00:52.502 ***** included: /WORKDIR/git-route_type10xdy443/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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.038) 0:00:52.540 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.025) 0:00:52.565 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.022) 0:00:52.587 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.021) 0:00:52.609 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:20 +0000 (0:00:00.720) 0:00:53.329 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.921) 0:00:54.250 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.021) 0:00:54.272 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.023) 0:00:54.296 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.021) 0:00:54.318 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.044) 0:00:54.362 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.021) 0:00:54.384 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.022) 0:00:54.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.025) 0:00:54.433 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.229) 0:00:54.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.024) 0:00:54.686 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.043) 0:00:54.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.020) 0:00:54.750 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.316) 0:00:55.067 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.020) 0:00:55.088 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.023) 0:00:55.111 ***** 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_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.022) 0:00:55.133 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.019) 0:00:55.153 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.128) 0:00:55.282 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.041) 0:00:55.323 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.035) 0:00:55.359 ***** 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.020) 0:00:55.379 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.135) 0:00:55.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.022) 0:00:55.537 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022955", "end": "2024-01-10 18:37:22.927949", "rc": 1, "start": "2024-01-10 18:37:22.904994" } 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_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.179) 0:00:55.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.022) 0:00:55.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.021) 0:00:55.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.020) 0:00:55.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.022) 0:00:55.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.020) 0:00:55.825 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.024) 0:00:55.849 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.673586", "end": "2024-01-10 18:37:23.891233", "rc": 0, "start": "2024-01-10 18:37:23.217647" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.808) 0:00:56.657 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.022) 0:00:56.680 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.024) 0:00:56.704 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:37:24 +0000 (0:00:00.043) 0:00:56.748 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:37:24 +0000 (0:00:00.033) 0:00:56.782 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:37:24 +0000 (0:00:00.134) 0:00:56.917 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:37:24 +0000 (0:00:00.047) 0:00:56.964 ***** 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_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:37:24 +0000 (0:00:00.022) 0:00:56.986 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:37:24 +0000 (0:00:00.039) 0:00:57.025 ***** 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.051523", "end": "2024-01-10 18:37:24.445004", "rc": 1, "start": "2024-01-10 18:37:24.393481" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Wednesday 10 January 2024 18:37:24 +0000 (0:00:00.172) 0:00:57.197 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.83s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.29s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.19s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.18s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/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. ---^---^---^---^---^---