# 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_typevzdh1lfv/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 02:43:56 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 02:43:56 +0000 (0:00:00.733) 0:00:00.745 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:43:56 +0000 (0:00:00.022) 0:00:00.768 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.355) 0:00:01.124 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.249) 0:00:01.374 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.020) 0:00:01.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.017) 0:00:01.411 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.029) 0:00:01.441 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.251) 0:00:01.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.015) 0:00:01.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:43:57 +0000 (0:00:00.039) 0:00:01.747 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247866", "end": "2024-01-09 02:43:58.196497", "rc": 0, "start": "2024-01-09 02:43:57.948631" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.438) 0:00:02.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.009) 0:00:02.195 ******* 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_typevzdh1lfv/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.009) 0:00:02.205 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.554) 0:00:02.759 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.009) 0:00:02.769 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.014) 0:00:02.784 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.010) 0:00:02.794 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.030) 0:00:02.825 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.013) 0:00:02.839 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:43:58 +0000 (0:00:00.014) 0:00:02.853 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003307", "end": "2024-01-09 02:43:59.053296", "rc": 0, "start": "2024-01-09 02:43:59.049989" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.196) 0:00:03.050 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.031) 0:00:03.081 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.024) 0:00:03.105 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.030) 0:00:03.135 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008381", "end": "2024-01-09 02:43:59.351515", "rc": 1, "start": "2024-01-09 02:43:59.343134" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.203) 0:00:03.339 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.014) 0:00:03.354 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.183) 0:00:03.537 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.013) 0:00:03.551 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.021) 0:00:03.573 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.036) 0:00:03.609 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.086) 0:00:03.695 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.016) 0:00:03.712 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.013) 0:00:03.726 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:43:59 +0000 (0:00:00.009) 0:00:03.735 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:01 +0000 (0:00:01.718) 0:00:05.454 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:02 +0000 (0:00:01.492) 0:00:06.946 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.025) 0:00:06.972 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.035) 0:00:07.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.042) 0:00:07.050 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.120) 0:00:07.171 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.029) 0:00:07.200 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.059) 0:00:07.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.034) 0:00:07.294 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.549) 0:00:07.843 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:03 +0000 (0:00:00.087) 0:00:07.930 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.063) 0:00:07.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.052) 0:00:08.046 ******* 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, 1f019d7e-e866-458f-b437-ac308c4e7daa TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.549) 0:00:08.596 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.042) 0:00:08.639 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f019d7e-e866-458f-b437-ac308c4e7daa" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.024) 0:00:08.663 ******* 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, 1f019d7e-e866-458f-b437-ac308c4e7daa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f019d7e-e866-458f-b437-ac308c4e7daa" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.034) 0:00:08.697 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.022) 0:00:08.720 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:44:04 +0000 (0:00:00.243) 0:00:08.964 ******* 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, 1f019d7e-e866-458f-b437-ac308c4e7daa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f019d7e-e866-458f-b437-ac308c4e7daa" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.024) 0:00:08.989 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.051) 0:00:09.041 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.041) 0:00:09.083 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.027) 0:00:09.110 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768244.6066945, "block_size": 4096, "blocks": 8, "ctime": 1704768244.5456948, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6065222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704768244.5456948, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.231) 0:00:09.342 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.029) 0:00:09.371 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020263", "end": "2024-01-09 02:44:05.613010", "rc": 0, "start": "2024-01-09 02:44:05.592747" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.259) 0:00:09.631 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.038) 0:00:09.669 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.047) 0:00:09.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.025) 0:00:09.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.039) 0:00:09.781 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.037) 0:00:09.818 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.029) 0:00:09.848 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.043) 0:00:09.891 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:44:05 +0000 (0:00:00.029) 0:00:09.921 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.067) 0:00:09.988 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.060) 0:00:10.048 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768244.5472465, "block_size": 4096, "blocks": 0, "ctime": 1704768244.5472465, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36486, "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": 1704768244.5472465, "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_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.234) 0:00:10.283 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.025) 0:00:10.309 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.036) 0:00:10.346 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.048) 0:00:10.394 ******* 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.059105", "end": "2024-01-09 02:44:06.655514", "rc": 1, "start": "2024-01-09 02:44:06.596409" } STDOUT: Connection 'statebr' (1f019d7e-e866-458f-b437-ac308c4e7daa) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.270) 0:00:10.664 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.062) 0:00:10.727 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.052) 0:00:10.779 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.059) 0:00:10.838 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.047) 0:00:10.886 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:44:06 +0000 (0:00:00.059) 0:00:10.946 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003079", "end": "2024-01-09 02:44:07.162916", "rc": 0, "start": "2024-01-09 02:44:07.159837" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:44:07 +0000 (0:00:00.235) 0:00:11.182 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:44:07 +0000 (0:00:00.093) 0:00:11.276 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:44:07 +0000 (0:00:00.064) 0:00:11.340 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:44:07 +0000 (0:00:00.078) 0:00:11.419 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006224", "end": "2024-01-09 02:44:07.656599", "rc": 1, "start": "2024-01-09 02:44:07.650375" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:44:07 +0000 (0:00:00.246) 0:00:11.665 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:44:07 +0000 (0:00:00.064) 0:00:11.730 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:44:07 +0000 (0:00:00.220) 0:00:11.951 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:44:08 +0000 (0:00:00.033) 0:00:11.984 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:44:08 +0000 (0:00:00.041) 0:00:12.026 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:08 +0000 (0:00:00.048) 0:00:12.075 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:08 +0000 (0:00:00.044) 0:00:12.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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:08 +0000 (0:00:00.093) 0:00:12.212 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:08 +0000 (0:00:00.060) 0:00:12.273 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:08 +0000 (0:00:00.067) 0:00:12.340 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:09 +0000 (0:00:01.602) 0:00:13.942 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:11 +0000 (0:00:01.299) 0:00:15.242 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.031) 0:00:15.273 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.029) 0:00:15.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.023) 0:00:15.325 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.060) 0:00:15.386 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.024) 0:00:15.410 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.064) 0:00:15.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.044) 0:00:15.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.363) 0:00:15.883 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.025) 0:00:15.909 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.020) 0:00:15.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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:11 +0000 (0:00:00.021) 0:00:15.951 ******* 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, 6f1de8f0-9504-4171-bdf3-89ee861746dc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.346) 0:00:16.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.069) 0:00:16.367 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f1de8f0-9504-4171-bdf3-89ee861746dc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.027) 0:00:16.394 ******* 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, 6f1de8f0-9504-4171-bdf3-89ee861746dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f1de8f0-9504-4171-bdf3-89ee861746dc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.042) 0:00:16.437 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.035) 0:00:16.472 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.262) 0:00:16.734 ******* 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, 6f1de8f0-9504-4171-bdf3-89ee861746dc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6f1de8f0-9504-4171-bdf3-89ee861746dc" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.029) 0:00:16.764 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.075) 0:00:16.839 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:44:12 +0000 (0:00:00.067) 0:00:16.907 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.204) 0:00:17.112 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.025) 0:00:17.137 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.036) 0:00:17.174 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.022) 0:00:17.196 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768252.274635, "block_size": 4096, "blocks": 8, "ctime": 1704768252.274635, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6065222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704768252.274635, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.224) 0:00:17.421 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.024) 0:00:17.445 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021183", "end": "2024-01-09 02:44:13.672450", "rc": 0, "start": "2024-01-09 02:44:13.651267" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.228) 0:00:17.673 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.040) 0:00:17.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.043) 0:00:17.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.066) 0:00:17.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:44:13 +0000 (0:00:00.078) 0:00:17.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.127) 0:00:18.029 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.078) 0:00:18.107 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.033) 0:00:18.141 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.028) 0:00:18.169 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.062) 0:00:18.232 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.041) 0:00:18.274 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.085) 0:00:18.359 ******* 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.041472", "end": "2024-01-09 02:44:14.634005", "rc": 1, "start": "2024-01-09 02:44:14.592533" } STDOUT: Connection 'statebr' (6f1de8f0-9504-4171-bdf3-89ee861746dc) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.301) 0:00:18.661 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.052) 0:00:18.713 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.033) 0:00:18.747 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.055) 0:00:18.802 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.038) 0:00:18.841 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:44:14 +0000 (0:00:00.080) 0:00:18.921 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003244", "end": "2024-01-09 02:44:15.159890", "rc": 0, "start": "2024-01-09 02:44:15.156646" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.251) 0:00:19.173 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.050) 0:00:19.223 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.052) 0:00:19.276 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.098) 0:00:19.375 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.068) 0:00:19.443 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.052) 0:00:19.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.038) 0:00:19.534 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.024) 0:00:19.559 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:15 +0000 (0:00:00.025) 0:00:19.585 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:17 +0000 (0:00:01.597) 0:00:21.182 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:18 +0000 (0:00:01.319) 0:00:22.501 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:18 +0000 (0:00:00.061) 0:00:22.562 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:18 +0000 (0:00:00.053) 0:00:22.615 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:18 +0000 (0:00:00.035) 0:00:22.651 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:18 +0000 (0:00:00.060) 0:00:22.712 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:18 +0000 (0:00:00.050) 0:00:22.762 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:18 +0000 (0:00:00.044) 0:00:22.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:18 +0000 (0:00:00.036) 0:00:22.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.372) 0:00:23.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.040) 0:00:23.255 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.033) 0:00:23.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.040) 0:00:23.328 ******* 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, 853375f8-d70f-46c6-ab11-cedb6c6ef575 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.385) 0:00:23.714 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.023) 0:00:23.738 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 853375f8-d70f-46c6-ab11-cedb6c6ef575" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.075) 0:00:23.813 ******* 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, 853375f8-d70f-46c6-ab11-cedb6c6ef575\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 853375f8-d70f-46c6-ab11-cedb6c6ef575" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.060) 0:00:23.874 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:19 +0000 (0:00:00.089) 0:00:23.963 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.285) 0:00:24.248 ******* 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, 853375f8-d70f-46c6-ab11-cedb6c6ef575\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 853375f8-d70f-46c6-ab11-cedb6c6ef575" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.028) 0:00:24.277 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.044) 0:00:24.321 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.073) 0:00:24.395 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.042) 0:00:24.437 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.035) 0:00:24.472 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.023) 0:00:24.495 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:20 +0000 (0:00:00.021) 0:00:24.517 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:22 +0000 (0:00:01.588) 0:00:26.106 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:23 +0000 (0:00:01.381) 0:00:27.488 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:23 +0000 (0:00:00.024) 0:00:27.512 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:23 +0000 (0:00:00.022) 0:00:27.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:23 +0000 (0:00:00.020) 0:00:27.555 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:23 +0000 (0:00:00.043) 0:00:27.599 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:23 +0000 (0:00:00.028) 0:00:27.627 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:23 +0000 (0:00:00.023) 0:00:27.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:23 +0000 (0:00:00.027) 0:00:27.678 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.362) 0:00:28.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.025) 0:00:28.066 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.022) 0:00:28.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.022) 0:00:28.111 ******* 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, 853375f8-d70f-46c6-ab11-cedb6c6ef575 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.394) 0:00:28.506 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.030) 0:00:28.537 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 853375f8-d70f-46c6-ab11-cedb6c6ef575 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.049) 0:00:28.587 ******* 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, 853375f8-d70f-46c6-ab11-cedb6c6ef575 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 853375f8-d70f-46c6-ab11-cedb6c6ef575 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.058) 0:00:28.645 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.034) 0:00:28.680 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:44:24 +0000 (0:00:00.255) 0:00:28.935 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.048) 0:00:28.983 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.041) 0:00:29.025 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768259.663387, "block_size": 4096, "blocks": 0, "ctime": 1704768259.663387, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36617, "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": 1704768259.663387, "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_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.208) 0:00:29.233 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.028) 0:00:29.262 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.042) 0:00:29.305 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.034) 0:00:29.339 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768259.7215774, "block_size": 4096, "blocks": 8, "ctime": 1704768259.661578, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6065222, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704768259.661578, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.295) 0:00:29.635 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:44:25 +0000 (0:00:00.042) 0:00:29.678 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020081", "end": "2024-01-09 02:44:25.947787", "rc": 0, "start": "2024-01-09 02:44:25.927706" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.297) 0:00:29.976 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.070) 0:00:30.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.054) 0:00:30.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.038) 0:00:30.139 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.059) 0:00:30.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.038) 0:00:30.237 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.029) 0:00:30.267 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.047) 0:00:30.314 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.028) 0:00:30.343 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.027) 0:00:30.370 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.037) 0:00:30.407 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.050) 0:00:30.458 ******* 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.064787", "end": "2024-01-09 02:44:26.728494", "rc": 1, "start": "2024-01-09 02:44:26.663707" } STDOUT: Connection 'statebr' (853375f8-d70f-46c6-ab11-cedb6c6ef575) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.325) 0:00:30.783 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.071) 0:00:30.854 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.056) 0:00:30.911 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:44:26 +0000 (0:00:00.052) 0:00:30.964 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.058) 0:00:31.022 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.047) 0:00:31.070 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003172", "end": "2024-01-09 02:44:27.279070", "rc": 0, "start": "2024-01-09 02:44:27.275898" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.222) 0:00:31.293 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.061) 0:00:31.354 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.053) 0:00:31.408 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.060) 0:00:31.468 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.038) 0:00:31.506 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.086) 0:00:31.593 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.028) 0:00:31.621 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.031) 0:00:31.653 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:27 +0000 (0:00:00.025) 0:00:31.678 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:29 +0000 (0:00:01.594) 0:00:33.272 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:30 +0000 (0:00:01.372) 0:00:34.645 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:30 +0000 (0:00:00.034) 0:00:34.680 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:30 +0000 (0:00:00.042) 0:00:34.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:30 +0000 (0:00:00.041) 0:00:34.765 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:30 +0000 (0:00:00.063) 0:00:34.829 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:30 +0000 (0:00:00.038) 0:00:34.867 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:30 +0000 (0:00:00.041) 0:00:34.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:30 +0000 (0:00:00.050) 0:00:34.958 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:31 +0000 (0:00:00.427) 0:00:35.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:31 +0000 (0:00:00.058) 0:00:35.444 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:31 +0000 (0:00:00.034) 0:00:35.479 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:31 +0000 (0:00:00.030) 0:00:35.510 ******* 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, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:31 +0000 (0:00:00.447) 0:00:35.958 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.024) 0:00:35.982 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.032) 0:00:36.015 ******* 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, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.033) 0:00:36.048 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.022) 0:00:36.071 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.204) 0:00:36.276 ******* 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, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.063) 0:00:36.340 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.057) 0:00:36.398 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.044) 0:00:36.443 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.040) 0:00:36.483 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.051) 0:00:36.534 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:32 +0000 (0:00:00.042) 0:00:36.577 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:34 +0000 (0:00:01.571) 0:00:38.149 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:35 +0000 (0:00:01.299) 0:00:39.448 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:35 +0000 (0:00:00.027) 0:00:39.476 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:35 +0000 (0:00:00.022) 0:00:39.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:35 +0000 (0:00:00.026) 0:00:39.525 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:35 +0000 (0:00:00.046) 0:00:39.571 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:35 +0000 (0:00:00.024) 0:00:39.596 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:35 +0000 (0:00:00.045) 0:00:39.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:35 +0000 (0:00:00.026) 0:00:39.668 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.348) 0:00:40.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.026) 0:00:40.043 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.020) 0:00:40.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.021) 0:00:40.085 ******* 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, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.336) 0:00:40.421 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.038) 0:00:40.459 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.028) 0:00:40.488 ******* 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, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3bca437d-63e2-4959-bc1d-9b607ce1a7d1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.025) 0:00:40.513 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.028) 0:00:40.542 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.202) 0:00:40.744 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.071) 0:00:40.815 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.058) 0:00:40.874 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.044) 0:00:40.918 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:36 +0000 (0:00:00.035) 0:00:40.953 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:37 +0000 (0:00:00.030) 0:00:40.984 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:37 +0000 (0:00:00.026) 0:00:41.011 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:38 +0000 (0:00:01.600) 0:00:42.611 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:39 +0000 (0:00:01.350) 0:00:43.962 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.025) 0:00:43.988 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.028) 0:00:44.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.023) 0:00:44.040 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.045) 0:00:44.085 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.025) 0:00:44.111 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.030) 0:00:44.141 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.038) 0:00:44.179 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.352) 0:00:44.531 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.025) 0:00:44.556 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.022) 0:00:44.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:40 +0000 (0:00:00.057) 0:00:44.636 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.377) 0:00:45.014 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.022) 0:00:45.036 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.021) 0:00:45.058 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.022) 0:00:45.081 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.023) 0:00:45.104 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.211) 0:00:45.316 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.047) 0:00:45.363 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.044) 0:00:45.408 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704768271.8625686, "block_size": 4096, "blocks": 0, "ctime": 1704768271.8625686, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36748, "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": 1704768271.8625686, "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_typevzdh1lfv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.213) 0:00:45.622 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.024) 0:00:45.647 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.037) 0:00:45.684 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.043) 0:00:45.727 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.209) 0:00:45.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:44:41 +0000 (0:00:00.027) 0:00:45.964 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020584", "end": "2024-01-09 02:44:42.184540", "rc": 1, "start": "2024-01-09 02:44:42.163956" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.219) 0:00:46.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.022) 0:00:46.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.021) 0:00:46.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.025) 0:00:46.254 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.022) 0:00:46.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.022) 0:00:46.299 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.025) 0:00:46.324 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.020) 0:00:46.344 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.021) 0:00:46.366 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.044) 0:00:46.410 ******* 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.074808", "end": "2024-01-09 02:44:42.681834", "rc": 1, "start": "2024-01-09 02:44:42.607026" } STDOUT: Connection 'statebr' (3bca437d-63e2-4959-bc1d-9b607ce1a7d1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.295) 0:00:46.706 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.068) 0:00:46.775 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.035) 0:00:46.810 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.095) 0:00:46.906 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:44:42 +0000 (0:00:00.063) 0:00:46.969 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.036) 0:00:47.006 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003323", "end": "2024-01-09 02:44:43.207418", "rc": 0, "start": "2024-01-09 02:44:43.204095" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.210) 0:00:47.217 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.037) 0:00:47.254 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.023) 0:00:47.278 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.052) 0:00:47.330 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.103) 0:00:47.434 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.044) 0:00:47.478 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.028) 0:00:47.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.027) 0:00:47.534 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:43 +0000 (0:00:00.022) 0:00:47.557 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:45 +0000 (0:00:01.574) 0:00:49.131 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:46 +0000 (0:00:01.348) 0:00:50.479 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:46 +0000 (0:00:00.029) 0:00:50.509 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:46 +0000 (0:00:00.043) 0:00:50.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:46 +0000 (0:00:00.031) 0:00:50.584 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:46 +0000 (0:00:00.054) 0:00:50.639 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:46 +0000 (0:00:00.024) 0:00:50.663 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:46 +0000 (0:00:00.040) 0:00:50.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:46 +0000 (0:00:00.047) 0:00:50.751 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.359) 0:00:51.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.027) 0:00:51.137 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.026) 0:00:51.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.022) 0:00:51.186 ******* 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, 0916b28f-c75e-45ff-ab34-c0f773989679 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.434) 0:00:51.620 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.033) 0:00:51.654 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0916b28f-c75e-45ff-ab34-c0f773989679" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.026) 0:00:51.681 ******* 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, 0916b28f-c75e-45ff-ab34-c0f773989679\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0916b28f-c75e-45ff-ab34-c0f773989679" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.025) 0:00:51.707 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.024) 0:00:51.731 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.197) 0:00:51.929 ******* 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, 0916b28f-c75e-45ff-ab34-c0f773989679\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0916b28f-c75e-45ff-ab34-c0f773989679" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:44:47 +0000 (0:00:00.023) 0:00:51.953 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:48 +0000 (0:00:00.036) 0:00:51.989 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:48 +0000 (0:00:00.039) 0:00:52.029 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:48 +0000 (0:00:00.029) 0:00:52.059 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:48 +0000 (0:00:00.026) 0:00:52.085 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:48 +0000 (0:00:00.022) 0:00:52.108 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:49 +0000 (0:00:01.557) 0:00:53.666 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:51 +0000 (0:00:01.411) 0:00:55.077 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.052) 0:00:55.130 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.037) 0:00:55.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.035) 0:00:55.203 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.089) 0:00:55.292 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.071) 0:00:55.364 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.025) 0:00:55.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.039) 0:00:55.429 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.365) 0:00:55.794 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.032) 0:00:55.827 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.043) 0:00:55.870 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:51 +0000 (0:00:00.028) 0:00:55.898 ******* 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, 0916b28f-c75e-45ff-ab34-c0f773989679 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.359) 0:00:56.258 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.027) 0:00:56.285 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0916b28f-c75e-45ff-ab34-c0f773989679 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.026) 0:00:56.312 ******* 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, 0916b28f-c75e-45ff-ab34-c0f773989679 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0916b28f-c75e-45ff-ab34-c0f773989679 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.029) 0:00:56.341 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.021) 0:00:56.363 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.191) 0:00:56.555 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.038) 0:00:56.593 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.067) 0:00:56.661 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.028) 0:00:56.690 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.022) 0:00:56.712 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:52 +0000 (0:00:00.022) 0:00:56.735 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:54 +0000 (0:00:01.568) 0:00:58.303 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:44:55 +0000 (0:00:01.310) 0:00:59.613 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:44:55 +0000 (0:00:00.027) 0:00:59.641 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:44:55 +0000 (0:00:00.024) 0:00:59.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:44:55 +0000 (0:00:00.022) 0:00:59.688 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:44:55 +0000 (0:00:00.045) 0:00:59.734 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:44:55 +0000 (0:00:00.022) 0:00:59.756 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:44:55 +0000 (0:00:00.021) 0:00:59.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:44:55 +0000 (0:00:00.026) 0:00:59.804 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.365) 0:01:00.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.028) 0:01:00.198 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.023) 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.022) 0:01:00.244 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.374) 0:01:00.618 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.024) 0:01:00.643 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.024) 0:01:00.667 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.023) 0:01:00.691 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.025) 0:01:00.717 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.203) 0:01:00.920 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:44:56 +0000 (0:00:00.043) 0:01:00.964 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:44:57 +0000 (0:00:00.054) 0:01:01.019 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:44:57 +0000 (0:00:00.045) 0:01:01.064 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:44:57 +0000 (0:00:00.026) 0:01:01.091 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:44:57 +0000 (0:00:00.021) 0:01:01.112 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:44:57 +0000 (0:00:00.046) 0:01:01.158 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:44:58 +0000 (0:00:01.575) 0:01:02.734 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:45:00 +0000 (0:00:01.331) 0:01:04.066 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.038) 0:01:04.105 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.033) 0:01:04.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.050) 0:01:04.189 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.047) 0:01:04.237 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.036) 0:01:04.273 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.033) 0:01:04.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.027) 0:01:04.334 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.352) 0:01:04.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.028) 0:01:04.715 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.021) 0:01:04.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:45:00 +0000 (0:00:00.025) 0:01:04.762 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.415) 0:01:05.177 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.025) 0:01:05.202 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.025) 0:01:05.227 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.025) 0:01:05.253 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.022) 0:01:05.276 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.245) 0:01:05.521 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.045) 0:01:05.567 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.069) 0:01:05.636 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.030) 0:01:05.667 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.201) 0:01:05.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:45:01 +0000 (0:00:00.023) 0:01:05.892 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020270", "end": "2024-01-09 02:45:02.112920", "rc": 1, "start": "2024-01-09 02:45:02.092650" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.220) 0:01:06.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.024) 0:01:06.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.024) 0:01:06.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.026) 0:01:06.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.038) 0:01:06.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.030) 0:01:06.257 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.025) 0:01:06.283 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.069) 0:01:06.352 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.038) 0:01:06.390 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.210) 0:01:06.601 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.025) 0:01:06.627 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.022) 0:01:06.650 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.042) 0:01:06.692 ******* 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.039493", "end": "2024-01-09 02:45:02.934035", "rc": 1, "start": "2024-01-09 02:45:02.894542" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:45:02 +0000 (0:00:00.241) 0:01:06.934 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.038) 0:01:06.972 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.023) 0:01:06.995 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.047) 0:01:07.043 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.037) 0:01:07.080 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.061) 0:01:07.142 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003412", "end": "2024-01-09 02:45:03.342014", "rc": 0, "start": "2024-01-09 02:45:03.338602" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.201) 0:01:07.343 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.023) 0:01:07.366 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.021) 0:01:07.388 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.045) 0:01:07.434 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.043) 0:01:07.477 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.043) 0:01:07.521 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.029) 0:01:07.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.021) 0:01:07.571 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:45:03 +0000 (0:00:00.020) 0:01:07.592 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:45:05 +0000 (0:00:01.578) 0:01:09.170 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:45:06 +0000 (0:00:01.300) 0:01:10.471 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:45:06 +0000 (0:00:00.023) 0:01:10.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:45:06 +0000 (0:00:00.022) 0:01:10.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:45:06 +0000 (0:00:00.040) 0:01:10.558 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:45:06 +0000 (0:00:00.045) 0:01:10.603 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:45:06 +0000 (0:00:00.023) 0:01:10.626 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:45:06 +0000 (0:00:00.023) 0:01:10.649 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:45:06 +0000 (0:00:00.027) 0:01:10.677 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.344) 0:01:11.022 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.026) 0:01:11.049 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.021) 0:01:11.071 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.021) 0:01:11.092 ******* 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, 9867ea49-d358-4ad2-b51c-bc0d284c98b0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.386) 0:01:11.479 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.026) 0:01:11.505 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9867ea49-d358-4ad2-b51c-bc0d284c98b0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.026) 0:01:11.532 ******* 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, 9867ea49-d358-4ad2-b51c-bc0d284c98b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9867ea49-d358-4ad2-b51c-bc0d284c98b0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.032) 0:01:11.564 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.033) 0:01:11.597 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.238) 0:01:11.835 ******* 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, 9867ea49-d358-4ad2-b51c-bc0d284c98b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9867ea49-d358-4ad2-b51c-bc0d284c98b0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.066) 0:01:11.902 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:45:07 +0000 (0:00:00.049) 0:01:11.951 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:45:08 +0000 (0:00:00.069) 0:01:12.021 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:45:08 +0000 (0:00:00.031) 0:01:12.052 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:45:08 +0000 (0:00:00.028) 0:01:12.081 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:45:08 +0000 (0:00:00.033) 0:01:12.114 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:45:09 +0000 (0:00:01.646) 0:01:13.761 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:45:11 +0000 (0:00:01.323) 0:01:15.085 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.023) 0:01:15.108 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.021) 0:01:15.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.020) 0:01:15.150 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.043) 0:01:15.193 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.022) 0:01:15.216 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.020) 0:01:15.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.024) 0:01:15.261 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.340) 0:01:15.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.026) 0:01:15.628 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.021) 0:01:15.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:45:11 +0000 (0:00:00.020) 0:01:15.671 ******* 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, 9867ea49-d358-4ad2-b51c-bc0d284c98b0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.327) 0:01:15.998 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.022) 0:01:16.021 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9867ea49-d358-4ad2-b51c-bc0d284c98b0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.023) 0:01:16.044 ******* 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, 9867ea49-d358-4ad2-b51c-bc0d284c98b0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9867ea49-d358-4ad2-b51c-bc0d284c98b0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.025) 0:01:16.070 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.021) 0:01:16.092 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.194) 0:01:16.286 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.037) 0:01:16.324 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.043) 0:01:16.367 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.060) 0:01:16.428 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.039) 0:01:16.468 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:45:12 +0000 (0:00:00.043) 0:01:16.511 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:45:14 +0000 (0:00:01.587) 0:01:18.098 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:45:15 +0000 (0:00:01.338) 0:01:19.436 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:45:15 +0000 (0:00:00.022) 0:01:19.459 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:45:15 +0000 (0:00:00.021) 0:01:19.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:45:15 +0000 (0:00:00.021) 0:01:19.502 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:45:15 +0000 (0:00:00.046) 0:01:19.549 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:45:15 +0000 (0:00:00.030) 0:01:19.580 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:45:15 +0000 (0:00:00.022) 0:01:19.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:45:15 +0000 (0:00:00.034) 0:01:19.637 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.350) 0:01:19.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.025) 0:01:20.013 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.021) 0:01:20.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.020) 0:01:20.054 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.394) 0:01:20.449 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.049) 0:01:20.498 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.024) 0:01:20.523 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.026) 0:01:20.549 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.024) 0:01:20.574 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.202) 0:01:20.777 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.071) 0:01:20.848 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.039) 0:01:20.887 ******* included: /WORKDIR/git-route_typevzdh1lfv/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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:45:16 +0000 (0:00:00.066) 0:01:20.954 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:45:17 +0000 (0:00:00.031) 0:01:20.986 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:45:17 +0000 (0:00:00.056) 0:01:21.043 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:45:17 +0000 (0:00:00.023) 0:01:21.067 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:45:18 +0000 (0:00:01.648) 0:01:22.715 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:45:20 +0000 (0:00:01.308) 0:01:24.024 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.022) 0:01:24.046 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.021) 0:01:24.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.020) 0:01:24.088 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.089) 0:01:24.178 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.025) 0:01:24.203 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.027) 0:01:24.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.027) 0:01:24.259 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.346) 0:01:24.605 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.025) 0:01:24.631 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.021) 0:01:24.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:45:20 +0000 (0:00:00.022) 0:01:24.675 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.371) 0:01:25.046 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.044) 0:01:25.091 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.031) 0:01:25.122 ******* 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_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.023) 0:01:25.146 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.021) 0:01:25.168 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.220) 0:01:25.388 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.045) 0:01:25.434 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.045) 0:01:25.480 ******* 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.037) 0:01:25.518 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.254) 0:01:25.772 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:45:21 +0000 (0:00:00.025) 0:01:25.798 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019590", "end": "2024-01-09 02:45:22.019473", "rc": 1, "start": "2024-01-09 02:45:21.999883" } 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_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:45:22 +0000 (0:00:00.222) 0:01:26.020 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:45:22 +0000 (0:00:00.025) 0:01:26.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:45:22 +0000 (0:00:00.024) 0:01:26.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:45:22 +0000 (0:00:00.025) 0:01:26.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:45:22 +0000 (0:00:00.022) 0:01:26.118 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:45:22 +0000 (0:00:00.022) 0:01:26.140 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:45:22 +0000 (0:00:00.025) 0:01:26.165 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.946367", "end": "2024-01-09 02:45:23.311123", "rc": 0, "start": "2024-01-09 02:45:22.364756" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:45:23 +0000 (0:00:01.145) 0:01:27.310 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.022) 0:01:27.333 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.024) 0:01:27.357 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.045) 0:01:27.402 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.038) 0:01:27.440 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.203) 0:01:27.644 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.024) 0:01:27.669 ******* 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_typevzdh1lfv/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.028) 0:01:27.697 ******* included: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typevzdh1lfv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:45:23 +0000 (0:00:00.072) 0:01:27.769 ******* 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.039268", "end": "2024-01-09 02:45:24.007304", "rc": 1, "start": "2024-01-09 02:45:23.968036" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Tuesday 09 January 2024 02:45:24 +0000 (0:00:00.226) 0:01:27.996 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.20s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.05s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.49s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.42s /WORKDIR/git-route_typevzdh1lfv/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---