# 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_type4pab85kt/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/tests_states_nm.yml:5 Tuesday 19 December 2023 23:14:51 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4pab85kt/tests/tests_states_nm.yml:9 Tuesday 19 December 2023 23:14:51 +0000 (0:00:00.546) 0:00:00.566 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 23:14:51 +0000 (0:00:00.021) 0:00:00.587 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/tasks/el_repo_setup.yml:19 Tuesday 19 December 2023 23:14:52 +0000 (0:00:00.239) 0:00:00.827 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4pab85kt/tests/tasks/el_repo_setup.yml:24 Tuesday 19 December 2023 23:14:52 +0000 (0:00:00.203) 0:00:01.030 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/tasks/el_repo_setup.yml:28 Tuesday 19 December 2023 23:14:52 +0000 (0:00:00.020) 0:00:01.051 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/tasks/el_repo_setup.yml:53 Tuesday 19 December 2023 23:14:52 +0000 (0:00:00.018) 0:00:01.069 ****** included: /WORKDIR/git-route_type4pab85kt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 23:14:52 +0000 (0:00:00.031) 0:00:01.101 ****** 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_type4pab85kt/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 23:14:52 +0000 (0:00:00.195) 0:00:01.296 ****** 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_type4pab85kt/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.486) 0:00:01.783 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193637", "end": "2023-12-19 23:14:53.389203", "rc": 0, "start": "2023-12-19 23:14:53.195566" } 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_type4pab85kt/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.329) 0:00:02.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.010) 0:00:02.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/tests_states_nm.yml:11 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.012) 0:00:02.136 ****** 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_type4pab85kt/tests/playbooks/tests_states.yml:3 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.010) 0:00:02.147 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tests_states.yml:11 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.404) 0:00:02.552 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tests_states.yml:22 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.010) 0:00:02.563 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.015) 0:00:02.578 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.010) 0:00:02.589 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.031) 0:00:02.621 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.013) 0:00:02.634 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:14:53 +0000 (0:00:00.013) 0:00:02.648 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005060", "end": "2023-12-19 23:14:55.064736", "rc": 0, "start": "2023-12-19 23:14:54.059676" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:14:55 +0000 (0:00:01.139) 0:00:03.788 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.010) 0:00:03.798 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.010) 0:00:03.809 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.020) 0:00:03.830 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.013797", "end": "2023-12-19 23:14:55.253298", "rc": 1, "start": "2023-12-19 23:14:55.239501" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.145) 0:00:03.975 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.014) 0:00:03.989 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.131) 0:00:04.121 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.011) 0:00:04.133 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.017) 0:00:04.151 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.030) 0:00:04.181 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.068) 0:00:04.250 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.013) 0:00:04.263 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.018) 0:00:04.281 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:14:55 +0000 (0:00:00.009) 0:00:04.291 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:14:56 +0000 (0:00:00.837) 0:00:05.128 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:14:57 +0000 (0:00:01.162) 0:00:06.291 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:14:57 +0000 (0:00:00.021) 0:00:06.313 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:14:57 +0000 (0:00:00.019) 0:00:06.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:14:57 +0000 (0:00:00.019) 0:00:06.352 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:14:57 +0000 (0:00:00.042) 0:00:06.395 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:14:57 +0000 (0:00:00.044) 0:00:06.439 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:14:57 +0000 (0:00:00.025) 0:00:06.465 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:14:57 +0000 (0:00:00.029) 0:00:06.495 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.371) 0:00:06.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.025) 0:00:06.892 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.023) 0:00:06.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.019) 0:00:06.935 ****** 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, 6a1c81c0-f10a-4efd-a068-84abca74d790 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.523) 0:00:07.459 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.044) 0:00:07.504 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a1c81c0-f10a-4efd-a068-84abca74d790" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.040) 0:00:07.544 ****** 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, 6a1c81c0-f10a-4efd-a068-84abca74d790\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a1c81c0-f10a-4efd-a068-84abca74d790" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.039) 0:00:07.583 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:14:58 +0000 (0:00:00.048) 0:00:07.632 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.201) 0:00:07.834 ****** 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, 6a1c81c0-f10a-4efd-a068-84abca74d790\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a1c81c0-f10a-4efd-a068-84abca74d790" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.022) 0:00:07.856 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.038) 0:00:07.894 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.037) 0:00:07.932 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.022) 0:00:07.955 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027698.6124492, "block_size": 4096, "blocks": 8, "ctime": 1703027698.6114492, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703027698.6114492, "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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.190) 0:00:08.145 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.022) 0:00:08.168 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025910", "end": "2023-12-19 23:14:59.605292", "rc": 0, "start": "2023-12-19 23:14:59.579382" } 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.170) 0:00:08.338 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.022) 0:00:08.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.022) 0:00:08.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.022) 0:00:08.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.067) 0:00:08.474 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.024) 0:00:08.498 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.023) 0:00:08.522 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.024) 0:00:08.546 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.022) 0:00:08.568 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.044) 0:00:08.613 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:14:59 +0000 (0:00:00.037) 0:00:08.650 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027698.6154492, "block_size": 4096, "blocks": 0, "ctime": 1703027698.6144493, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17766, "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": 1703027698.6144493, "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_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.148) 0:00:08.799 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.025) 0:00:08.824 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.023) 0:00:08.848 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.059) 0:00:08.908 ****** 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.083067", "end": "2023-12-19 23:15:00.405883", "rc": 1, "start": "2023-12-19 23:15:00.322816" } STDOUT: Connection 'statebr' (6a1c81c0-f10a-4efd-a068-84abca74d790) successfully deleted. STDERR: (process:25660): GLib-GIO-WARNING **: 23:15:00.378: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/34 but no object proxy exists (process:25660): GLib-GIO-WARNING **: 23:15:00.378: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/55 but no object proxy exists (process:25660): GLib-GIO-WARNING **: 23:15:00.378: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/31 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_type4pab85kt/tests/playbooks/tests_states.yml:45 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.233) 0:00:09.141 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.036) 0:00:09.178 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.041) 0:00:09.219 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.043) 0:00:09.262 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.033) 0:00:09.296 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.033) 0:00:09.329 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004100", "end": "2023-12-19 23:15:00.743485", "rc": 0, "start": "2023-12-19 23:15:00.739385" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.146) 0:00:09.476 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.023) 0:00:09.499 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.021) 0:00:09.521 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 23:15:00 +0000 (0:00:00.040) 0:00:09.561 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008142", "end": "2023-12-19 23:15:00.978416", "rc": 1, "start": "2023-12-19 23:15:00.970274" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.148) 0:00:09.709 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.035) 0:00:09.745 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.145) 0:00:09.890 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.037) 0:00:09.927 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.090) 0:00:10.018 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.060) 0:00:10.078 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.040) 0:00:10.119 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.040) 0:00:10.159 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.022) 0:00:10.182 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:01 +0000 (0:00:00.020) 0:00:10.203 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:02 +0000 (0:00:00.803) 0:00:11.006 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:03 +0000 (0:00:01.015) 0:00:12.021 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.022) 0:00:12.044 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.024) 0:00:12.068 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.028) 0:00:12.096 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.046) 0:00:12.143 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.035) 0:00:12.179 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.022) 0:00:12.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.022) 0:00:12.224 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.244) 0:00:12.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.026) 0:00:12.495 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.020) 0:00:12.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:03 +0000 (0:00:00.019) 0:00:12.536 ****** 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, 6471502c-906f-4115-86b4-dcc9f4147884 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.314) 0:00:12.851 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.020) 0:00:12.871 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6471502c-906f-4115-86b4-dcc9f4147884" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.046) 0:00:12.918 ****** 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, 6471502c-906f-4115-86b4-dcc9f4147884\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6471502c-906f-4115-86b4-dcc9f4147884" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.022) 0:00:12.940 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.021) 0:00:12.962 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.155) 0:00:13.118 ****** 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, 6471502c-906f-4115-86b4-dcc9f4147884\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6471502c-906f-4115-86b4-dcc9f4147884" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.025) 0:00:13.143 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.055) 0:00:13.199 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.036) 0:00:13.236 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.148) 0:00:13.385 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.027) 0:00:13.412 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.035) 0:00:13.447 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.020) 0:00:13.468 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027704.099465, "block_size": 4096, "blocks": 8, "ctime": 1703027704.099465, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703027704.099465, "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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.145) 0:00:13.613 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:15:04 +0000 (0:00:00.023) 0:00:13.637 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024438", "end": "2023-12-19 23:15:05.080200", "rc": 0, "start": "2023-12-19 23:15:05.055762" } 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.175) 0:00:13.813 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.045) 0:00:13.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.024) 0:00:13.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.022) 0:00:13.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.023) 0:00:13.929 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.024) 0:00:13.953 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.025) 0:00:13.979 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.027) 0:00:14.006 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.022) 0:00:14.029 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.020) 0:00:14.050 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.021) 0:00:14.071 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.043) 0:00:14.115 ****** 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.055016", "end": "2023-12-19 23:15:05.582971", "rc": 1, "start": "2023-12-19 23:15:05.527955" } STDOUT: Connection 'statebr' (6471502c-906f-4115-86b4-dcc9f4147884) 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_type4pab85kt/tests/playbooks/tests_states.yml:65 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.216) 0:00:14.331 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.051) 0:00:14.382 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.022) 0:00:14.405 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.051) 0:00:14.456 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.061) 0:00:14.518 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.035) 0:00:14.553 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004001", "end": "2023-12-19 23:15:05.967881", "rc": 0, "start": "2023-12-19 23:15:05.963880" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:15:05 +0000 (0:00:00.147) 0:00:14.701 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.022) 0:00:14.723 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.020) 0:00:14.744 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.036) 0:00:14.780 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.034) 0:00:14.815 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.038) 0:00:14.853 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.025) 0:00:14.879 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.021) 0:00:14.900 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.021) 0:00:14.922 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:06 +0000 (0:00:00.751) 0:00:15.673 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:07 +0000 (0:00:00.989) 0:00:16.663 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:07 +0000 (0:00:00.022) 0:00:16.685 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:07 +0000 (0:00:00.019) 0:00:16.705 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.022) 0:00:16.727 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.046) 0:00:16.774 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.036) 0:00:16.810 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.026) 0:00:16.836 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.035) 0:00:16.872 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.245) 0:00:17.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.047) 0:00:17.165 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.021) 0:00:17.186 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.021) 0:00:17.207 ****** 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, b1785514-dc40-4c6a-846c-05dd4c8fb9c9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.346) 0:00:17.553 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.036) 0:00:17.590 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1785514-dc40-4c6a-846c-05dd4c8fb9c9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.023) 0:00:17.614 ****** 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, b1785514-dc40-4c6a-846c-05dd4c8fb9c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1785514-dc40-4c6a-846c-05dd4c8fb9c9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.027) 0:00:17.641 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:08 +0000 (0:00:00.023) 0:00:17.664 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.144) 0:00:17.808 ****** 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, b1785514-dc40-4c6a-846c-05dd4c8fb9c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1785514-dc40-4c6a-846c-05dd4c8fb9c9" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.023) 0:00:17.831 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.040) 0:00:17.872 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.040) 0:00:17.912 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.039) 0:00:17.952 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.080) 0:00:18.032 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.022) 0:00:18.054 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:09 +0000 (0:00:00.021) 0:00:18.076 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:10 +0000 (0:00:00.766) 0:00:18.843 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:11 +0000 (0:00:01.000) 0:00:19.843 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.021) 0:00:19.865 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.022) 0:00:19.887 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.022) 0:00:19.910 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.104) 0:00:20.015 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.022) 0:00:20.037 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.019) 0:00:20.057 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.025) 0:00:20.082 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.246) 0:00:20.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.026) 0:00:20.355 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.021) 0:00:20.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.022) 0:00:20.398 ****** 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, b1785514-dc40-4c6a-846c-05dd4c8fb9c9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:11 +0000 (0:00:00.304) 0:00:20.703 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.021) 0:00:20.724 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1785514-dc40-4c6a-846c-05dd4c8fb9c9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.022) 0:00:20.746 ****** 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, b1785514-dc40-4c6a-846c-05dd4c8fb9c9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1785514-dc40-4c6a-846c-05dd4c8fb9c9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.022) 0:00:20.769 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.021) 0:00:20.791 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.140) 0:00:20.932 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.041) 0:00:20.973 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.064) 0:00:21.038 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027708.773482, "block_size": 4096, "blocks": 0, "ctime": 1703027708.7694821, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17766, "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": 1703027708.7694821, "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_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.172) 0:00:21.211 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.040) 0:00:21.251 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.048) 0:00:21.300 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.022) 0:00:21.322 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027708.7684822, "block_size": 4096, "blocks": 8, "ctime": 1703027708.767482, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703027708.767482, "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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.158) 0:00:21.481 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.027) 0:00:21.509 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025257", "end": "2023-12-19 23:15:12.945002", "rc": 0, "start": "2023-12-19 23:15:12.919745" } 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:15:12 +0000 (0:00:00.186) 0:00:21.695 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.026) 0:00:21.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.023) 0:00:21.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.034) 0:00:21.779 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.028) 0:00:21.808 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.028) 0:00:21.836 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.025) 0:00:21.861 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.023) 0:00:21.884 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.045) 0:00:21.930 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.020) 0:00:21.950 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.024) 0:00:21.975 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.042) 0:00:22.017 ****** 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.087578", "end": "2023-12-19 23:15:13.516997", "rc": 1, "start": "2023-12-19 23:15:13.429419" } STDOUT: Connection 'statebr' (b1785514-dc40-4c6a-846c-05dd4c8fb9c9) successfully deleted. STDERR: (process:26377): GLib-GIO-WARNING **: 23:15:13.494: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/35 but no object proxy exists (process:26377): GLib-GIO-WARNING **: 23:15:13.495: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/32 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_type4pab85kt/tests/playbooks/tests_states.yml:83 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.232) 0:00:22.250 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.036) 0:00:22.286 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.021) 0:00:22.307 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.048) 0:00:22.355 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.043) 0:00:22.399 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:15:13 +0000 (0:00:00.039) 0:00:22.439 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005017", "end": "2023-12-19 23:15:14.875558", "rc": 0, "start": "2023-12-19 23:15:13.870541" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:15:14 +0000 (0:00:01.169) 0:00:23.608 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:15:14 +0000 (0:00:00.028) 0:00:23.637 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 23:15:14 +0000 (0:00:00.022) 0:00:23.659 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 23:15:14 +0000 (0:00:00.040) 0:00:23.700 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:15 +0000 (0:00:00.036) 0:00:23.736 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:15 +0000 (0:00:00.040) 0:00:23.777 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:15 +0000 (0:00:00.029) 0:00:23.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:15 +0000 (0:00:00.021) 0:00:23.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:15 +0000 (0:00:00.019) 0:00:23.848 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:15 +0000 (0:00:00.750) 0:00:24.598 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:16 +0000 (0:00:01.039) 0:00:25.638 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:16 +0000 (0:00:00.022) 0:00:25.661 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:16 +0000 (0:00:00.021) 0:00:25.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:16 +0000 (0:00:00.021) 0:00:25.704 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.042) 0:00:25.747 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.022) 0:00:25.769 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.019) 0:00:25.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.024) 0:00:25.814 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.250) 0:00:26.065 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.026) 0:00:26.091 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.026) 0:00:26.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.048) 0:00:26.166 ****** 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, 129ec11e-0423-4fc2-9890-1b83e47a59a4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.354) 0:00:26.521 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.022) 0:00:26.543 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 129ec11e-0423-4fc2-9890-1b83e47a59a4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.022) 0:00:26.565 ****** 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, 129ec11e-0423-4fc2-9890-1b83e47a59a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 129ec11e-0423-4fc2-9890-1b83e47a59a4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.027) 0:00:26.592 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:17 +0000 (0:00:00.021) 0:00:26.614 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.140) 0:00:26.755 ****** 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, 129ec11e-0423-4fc2-9890-1b83e47a59a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 129ec11e-0423-4fc2-9890-1b83e47a59a4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.022) 0:00:26.777 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.034) 0:00:26.812 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.039) 0:00:26.852 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.025) 0:00:26.877 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.020) 0:00:26.897 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.019) 0:00:26.916 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:18 +0000 (0:00:00.773) 0:00:27.690 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:19 +0000 (0:00:01.002) 0:00:28.692 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.022) 0:00:28.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.020) 0:00:28.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.021) 0:00:28.756 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.042) 0:00:28.799 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.021) 0:00:28.821 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.020) 0:00:28.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.024) 0:00:28.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.268) 0:00:29.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.025) 0:00:29.160 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.025) 0:00:29.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.022) 0:00:29.208 ****** 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, 129ec11e-0423-4fc2-9890-1b83e47a59a4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.300) 0:00:29.508 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.022) 0:00:29.530 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 129ec11e-0423-4fc2-9890-1b83e47a59a4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.022) 0:00:29.553 ****** 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, 129ec11e-0423-4fc2-9890-1b83e47a59a4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 129ec11e-0423-4fc2-9890-1b83e47a59a4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.023) 0:00:29.576 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:20 +0000 (0:00:00.021) 0:00:29.597 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 23:15:21 +0000 (0:00:00.139) 0:00:29.737 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 23:15:21 +0000 (0:00:00.038) 0:00:29.775 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:21 +0000 (0:00:00.037) 0:00:29.812 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:21 +0000 (0:00:00.037) 0:00:29.850 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:21 +0000 (0:00:00.058) 0:00:29.908 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:21 +0000 (0:00:00.021) 0:00:29.930 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:21 +0000 (0:00:00.021) 0:00:29.951 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:22 +0000 (0:00:00.755) 0:00:30.707 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.999) 0:00:31.707 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.021) 0:00:31.729 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.020) 0:00:31.749 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.020) 0:00:31.769 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.068) 0:00:31.838 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.032) 0:00:31.871 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.021) 0:00:31.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.024) 0:00:31.918 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.249) 0:00:32.167 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.024) 0:00:32.192 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.021) 0:00:32.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.019) 0:00:32.233 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.337) 0:00:32.571 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.021) 0:00:32.592 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.022) 0:00:32.614 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.021) 0:00:32.636 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:23 +0000 (0:00:00.019) 0:00:32.655 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.137) 0:00:32.793 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.041) 0:00:32.834 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.061) 0:00:32.895 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703027717.7355154, "block_size": 4096, "blocks": 0, "ctime": 1703027717.7345152, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17768, "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": 1703027717.7345152, "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_type4pab85kt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.149) 0:00:33.045 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.025) 0:00:33.070 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.038) 0:00:33.109 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.022) 0:00:33.131 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.144) 0:00:33.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.020) 0:00:33.296 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024630", "end": "2023-12-19 23:15:24.731291", "rc": 1, "start": "2023-12-19 23:15:24.706661" } 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.167) 0:00:33.464 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.025) 0:00:33.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.024) 0:00:33.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.026) 0:00:33.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.022) 0:00:33.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.022) 0:00:33.585 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.024) 0:00:33.610 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.019) 0:00:33.629 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 23:15:24 +0000 (0:00:00.050) 0:00:33.680 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.040) 0:00:33.720 ****** 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.080947", "end": "2023-12-19 23:15:25.210452", "rc": 1, "start": "2023-12-19 23:15:25.129505" } STDOUT: Connection 'statebr' (129ec11e-0423-4fc2-9890-1b83e47a59a4) 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_type4pab85kt/tests/playbooks/tests_states.yml:103 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.230) 0:00:33.950 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.038) 0:00:33.988 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.024) 0:00:34.013 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.052) 0:00:34.066 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.043) 0:00:34.109 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.036) 0:00:34.145 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004180", "end": "2023-12-19 23:15:25.558839", "rc": 0, "start": "2023-12-19 23:15:25.554659" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.172) 0:00:34.318 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.035) 0:00:34.353 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.032) 0:00:34.386 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.047) 0:00:34.434 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.067) 0:00:34.501 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.047) 0:00:34.549 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.028) 0:00:34.578 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.022) 0:00:34.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:25 +0000 (0:00:00.032) 0:00:34.632 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:26 +0000 (0:00:00.763) 0:00:35.396 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:27 +0000 (0:00:01.015) 0:00:36.411 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:27 +0000 (0:00:00.024) 0:00:36.436 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:27 +0000 (0:00:00.022) 0:00:36.458 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:27 +0000 (0:00:00.026) 0:00:36.485 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:27 +0000 (0:00:00.054) 0:00:36.539 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:27 +0000 (0:00:00.032) 0:00:36.571 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:27 +0000 (0:00:00.034) 0:00:36.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:27 +0000 (0:00:00.028) 0:00:36.634 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.246) 0:00:36.880 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.025) 0:00:36.906 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.024) 0:00:36.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.022) 0:00:36.953 ****** 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, 84d418d4-a21f-4ef4-aa99-015f12540005 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.368) 0:00:37.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.020) 0:00:37.342 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84d418d4-a21f-4ef4-aa99-015f12540005" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.021) 0:00:37.364 ****** 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, 84d418d4-a21f-4ef4-aa99-015f12540005\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84d418d4-a21f-4ef4-aa99-015f12540005" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.021) 0:00:37.386 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.050) 0:00:37.436 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.142) 0:00:37.578 ****** 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, 84d418d4-a21f-4ef4-aa99-015f12540005\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84d418d4-a21f-4ef4-aa99-015f12540005" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.022) 0:00:37.600 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.035) 0:00:37.636 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.041) 0:00:37.678 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:28 +0000 (0:00:00.026) 0:00:37.705 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:29 +0000 (0:00:00.022) 0:00:37.727 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:29 +0000 (0:00:00.021) 0:00:37.748 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:29 +0000 (0:00:00.770) 0:00:38.519 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.987) 0:00:39.506 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.022) 0:00:39.528 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.021) 0:00:39.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.023) 0:00:39.573 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.045) 0:00:39.619 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.028) 0:00:39.647 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.027) 0:00:39.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:30 +0000 (0:00:00.023) 0:00:39.698 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.243) 0:00:39.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.025) 0:00:39.968 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.021) 0:00:39.989 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.019) 0:00:40.009 ****** 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, 84d418d4-a21f-4ef4-aa99-015f12540005 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.328) 0:00:40.338 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.044) 0:00:40.382 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84d418d4-a21f-4ef4-aa99-015f12540005 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.022) 0:00:40.405 ****** 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, 84d418d4-a21f-4ef4-aa99-015f12540005 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84d418d4-a21f-4ef4-aa99-015f12540005 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.021) 0:00:40.427 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.020) 0:00:40.447 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.136) 0:00:40.584 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.034) 0:00:40.619 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.037) 0:00:40.657 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.024) 0:00:40.681 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:31 +0000 (0:00:00.019) 0:00:40.701 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:32 +0000 (0:00:00.019) 0:00:40.721 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:32 +0000 (0:00:00.744) 0:00:41.465 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:33 +0000 (0:00:01.009) 0:00:42.475 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:33 +0000 (0:00:00.024) 0:00:42.499 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:33 +0000 (0:00:00.022) 0:00:42.521 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:33 +0000 (0:00:00.038) 0:00:42.560 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:33 +0000 (0:00:00.053) 0:00:42.613 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:33 +0000 (0:00:00.022) 0:00:42.635 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:33 +0000 (0:00:00.021) 0:00:42.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:33 +0000 (0:00:00.039) 0:00:42.696 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.254) 0:00:42.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.034) 0:00:42.986 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.025) 0:00:43.011 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.027) 0:00:43.039 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.376) 0:00:43.415 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.021) 0:00:43.437 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.023) 0:00:43.461 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.036) 0:00:43.498 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.021) 0:00:43.519 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 23:15:34 +0000 (0:00:00.144) 0:00:43.663 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 23:15:35 +0000 (0:00:00.051) 0:00:43.714 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:35 +0000 (0:00:00.041) 0:00:43.756 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:35 +0000 (0:00:00.045) 0:00:43.802 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:35 +0000 (0:00:00.028) 0:00:43.831 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:35 +0000 (0:00:00.023) 0:00:43.855 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:35 +0000 (0:00:00.026) 0:00:43.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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:35 +0000 (0:00:00.758) 0:00:44.640 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:36 +0000 (0:00:01.003) 0:00:45.644 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:36 +0000 (0:00:00.023) 0:00:45.668 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:36 +0000 (0:00:00.021) 0:00:45.689 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.020) 0:00:45.710 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.042) 0:00:45.753 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.023) 0:00:45.776 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.019) 0:00:45.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.027) 0:00:45.823 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.253) 0:00:46.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.024) 0:00:46.101 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.019) 0:00:46.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.020) 0:00:46.142 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.409) 0:00:46.551 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.038) 0:00:46.590 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.034) 0:00:46.624 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.037) 0:00:46.662 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:37 +0000 (0:00:00.030) 0:00:46.692 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.141) 0:00:46.834 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.041) 0:00:46.875 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.035) 0:00:46.910 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.021) 0:00:46.932 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.170) 0:00:47.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.021) 0:00:47.124 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021713", "end": "2023-12-19 23:15:38.561002", "rc": 1, "start": "2023-12-19 23:15:38.539289" } 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.168) 0:00:47.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.023) 0:00:47.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.021) 0:00:47.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.021) 0:00:47.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.020) 0:00:47.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.022) 0:00:47.401 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.022) 0:00:47.424 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.042) 0:00:47.466 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.035) 0:00:47.502 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.144) 0:00:47.647 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.036) 0:00:47.683 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 23:15:38 +0000 (0:00:00.022) 0:00:47.706 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.040) 0:00:47.747 ****** 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.047255", "end": "2023-12-19 23:15:39.205949", "rc": 1, "start": "2023-12-19 23:15:39.158694" } 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_type4pab85kt/tests/playbooks/tests_states.yml:126 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.190) 0:00:47.937 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.037) 0:00:47.975 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.022) 0:00:47.997 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.045) 0:00:48.043 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.036) 0:00:48.079 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.036) 0:00:48.116 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003983", "end": "2023-12-19 23:15:39.532613", "rc": 0, "start": "2023-12-19 23:15:39.528630" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.149) 0:00:48.266 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.023) 0:00:48.289 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.020) 0:00:48.309 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.042) 0:00:48.352 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.034) 0:00:48.387 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.088) 0:00:48.475 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.027) 0:00:48.502 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.023) 0:00:48.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:39 +0000 (0:00:00.038) 0:00:48.565 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:40 +0000 (0:00:00.796) 0:00:49.361 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:41 +0000 (0:00:01.000) 0:00:50.361 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:41 +0000 (0:00:00.022) 0:00:50.384 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:41 +0000 (0:00:00.021) 0:00:50.406 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:41 +0000 (0:00:00.021) 0:00:50.427 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:41 +0000 (0:00:00.071) 0:00:50.499 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:41 +0000 (0:00:00.024) 0:00:50.524 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:41 +0000 (0:00:00.031) 0:00:50.555 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:41 +0000 (0:00:00.025) 0:00:50.581 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.259) 0:00:50.841 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.035) 0:00:50.876 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.024) 0:00:50.901 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.020) 0:00:50.922 ****** 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, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.347) 0:00:51.269 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.023) 0:00:51.293 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.026) 0:00:51.320 ****** 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, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.052) 0:00:51.373 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.021) 0:00:51.395 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.138) 0:00:51.534 ****** 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, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.024) 0:00:51.558 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.098) 0:00:51.657 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:42 +0000 (0:00:00.047) 0:00:51.705 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:43 +0000 (0:00:00.028) 0:00:51.734 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:43 +0000 (0:00:00.022) 0:00:51.756 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:43 +0000 (0:00:00.021) 0:00:51.777 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:43 +0000 (0:00:00.757) 0:00:52.535 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:44 +0000 (0:00:01.013) 0:00:53.549 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:44 +0000 (0:00:00.021) 0:00:53.570 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:44 +0000 (0:00:00.020) 0:00:53.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:44 +0000 (0:00:00.020) 0:00:53.611 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:44 +0000 (0:00:00.041) 0:00:53.652 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:44 +0000 (0:00:00.021) 0:00:53.674 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:44 +0000 (0:00:00.020) 0:00:53.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.025) 0:00:53.721 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.242) 0:00:53.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.025) 0:00:53.988 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.019) 0:00:54.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.020) 0:00:54.028 ****** 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, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.302) 0:00:54.330 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.021) 0:00:54.352 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.022) 0:00:54.374 ****** 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, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2b9cb8bb-aa4c-46d9-b22a-8b14450a7e44 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.021) 0:00:54.396 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.047) 0:00:54.443 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.140) 0:00:54.583 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.035) 0:00:54.619 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.039) 0:00:54.658 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:45 +0000 (0:00:00.027) 0:00:54.686 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:46 +0000 (0:00:00.022) 0:00:54.708 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:46 +0000 (0:00:00.021) 0:00:54.730 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:46 +0000 (0:00:00.818) 0:00:55.548 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:47 +0000 (0:00:01.039) 0:00:56.588 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:47 +0000 (0:00:00.032) 0:00:56.620 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:47 +0000 (0:00:00.021) 0:00:56.642 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:47 +0000 (0:00:00.021) 0:00:56.664 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:47 +0000 (0:00:00.042) 0:00:56.706 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.022) 0:00:56.729 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.025) 0:00:56.755 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.040) 0:00:56.795 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.246) 0:00:57.042 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.024) 0:00:57.067 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.019) 0:00:57.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.021) 0:00:57.109 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.412) 0:00:57.521 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.022) 0:00:57.544 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.050) 0:00:57.594 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.025) 0:00:57.620 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:48 +0000 (0:00:00.021) 0:00:57.641 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 23:15:49 +0000 (0:00:00.144) 0:00:57.786 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 23:15:49 +0000 (0:00:00.039) 0:00:57.825 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 23:15:49 +0000 (0:00:00.039) 0:00:57.865 ****** included: /WORKDIR/git-route_type4pab85kt/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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 23:15:49 +0000 (0:00:00.040) 0:00:57.905 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 23:15:49 +0000 (0:00:00.026) 0:00:57.932 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 23:15:49 +0000 (0:00:00.026) 0:00:57.958 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 23:15:49 +0000 (0:00:00.021) 0:00:57.980 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 23:15:50 +0000 (0:00:00.756) 0:00:58.737 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 23:15:51 +0000 (0:00:01.017) 0:00:59.754 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.022) 0:00:59.776 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.020) 0:00:59.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.020) 0:00:59.818 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.041) 0:00:59.859 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.019) 0:00:59.879 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.019) 0:00:59.899 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.028) 0:00:59.928 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.244) 0:01:00.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.026) 0:01:00.199 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.021) 0:01:00.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.046) 0:01:00.267 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.318) 0:01:00.586 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.021) 0:01:00.607 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.027) 0:01:00.634 ****** 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_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.023) 0:01:00.657 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 23:15:51 +0000 (0:00:00.022) 0:01:00.679 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.140) 0:01:00.820 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.044) 0:01:00.864 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.036) 0:01:00.901 ****** 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.022) 0:01:00.923 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.145) 0:01:01.068 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.019) 0:01:01.088 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021810", "end": "2023-12-19 23:15:52.520893", "rc": 1, "start": "2023-12-19 23:15:52.499083" } 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_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.165) 0:01:01.253 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.046) 0:01:01.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.022) 0:01:01.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.021) 0:01:01.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.020) 0:01:01.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.021) 0:01:01.386 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 19 December 2023 23:15:52 +0000 (0:00:00.021) 0:01:01.407 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.737686", "end": "2023-12-19 23:15:53.555617", "rc": 0, "start": "2023-12-19 23:15:52.817931" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.881) 0:01:02.289 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.022) 0:01:02.312 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.021) 0:01:02.334 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.044) 0:01:02.378 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.035) 0:01:02.413 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.145) 0:01:02.558 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.026) 0:01:02.585 ****** 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_type4pab85kt/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.054) 0:01:02.640 ****** included: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 23:15:53 +0000 (0:00:00.042) 0:01:02.682 ****** 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.047294", "end": "2023-12-19 23:15:54.139648", "rc": 1, "start": "2023-12-19 23:15:54.092354" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Tuesday 19 December 2023 23:15:54 +0000 (0:00:00.178) 0:01:02.861 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.94s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.37s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.24s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.17s /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.16s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.14s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_type4pab85kt/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.00s /WORKDIR/git-route_type4pab85kt/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-route_type4pab85kt/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. ---^---^---^---^---^---