# 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_typeimp34ksm/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 15:28:03 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.922) 0:00:00.933 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.023) 0:00:00.957 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.538) 0:00:01.496 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.268) 0:00:01.764 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.019) 0:00:01.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.017) 0:00:01.802 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.036) 0:00:01.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.009) 0:00:01.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.009) 0:00:01.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.008) 0:00:01.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.008) 0:00:01.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.008) 0:00:01.882 ***** 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_typeimp34ksm/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 15:28:04 +0000 (0:00:00.014) 0:00:01.897 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.781) 0:00:02.679 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.010) 0:00:02.690 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.018) 0:00:02.708 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.017) 0:00:02.725 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.040) 0:00:02.766 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.043) 0:00:02.809 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:05 +0000 (0:00:00.028) 0:00:02.838 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003649", "end": "2024-01-10 15:28:06.201790", "rc": 0, "start": "2024-01-10 15:28:06.198141" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.287) 0:00:03.126 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.011) 0:00:03.138 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.010) 0:00:03.148 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.019) 0:00:03.168 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007921", "end": "2024-01-10 15:28:06.454371", "rc": 1, "start": "2024-01-10 15:28:06.446450" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.208) 0:00:03.376 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.013) 0:00:03.390 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.218) 0:00:03.609 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.025) 0:00:03.634 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.039) 0:00:03.674 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.033) 0:00:03.707 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.069) 0:00:03.776 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.011) 0:00:03.788 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.013) 0:00:03.802 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:06 +0000 (0:00:00.009) 0:00:03.811 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:09 +0000 (0:00:02.369) 0:00:06.181 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:10 +0000 (0:00:01.054) 0:00:07.235 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:10 +0000 (0:00:00.024) 0:00:07.259 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:10 +0000 (0:00:00.023) 0:00:07.283 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:10 +0000 (0:00:00.023) 0:00:07.307 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:10 +0000 (0:00:00.044) 0:00:07.351 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:10 +0000 (0:00:00.021) 0:00:07.373 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:10 +0000 (0:00:00.021) 0:00:07.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:10 +0000 (0:00:00.024) 0:00:07.419 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.728) 0:00:08.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.039) 0:00:08.187 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.032) 0:00:08.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.029) 0:00:08.250 ***** 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, 505aa1d2-50c7-412c-8150-12d20d8ed477 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.528) 0:00:08.778 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.024) 0:00:08.802 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 505aa1d2-50c7-412c-8150-12d20d8ed477" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.030) 0:00:08.833 ***** 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, 505aa1d2-50c7-412c-8150-12d20d8ed477\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 505aa1d2-50c7-412c-8150-12d20d8ed477" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.032) 0:00:08.865 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:11 +0000 (0:00:00.025) 0:00:08.891 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.306) 0:00:09.197 ***** 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, 505aa1d2-50c7-412c-8150-12d20d8ed477\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 505aa1d2-50c7-412c-8150-12d20d8ed477" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.024) 0:00:09.221 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.067) 0:00:09.288 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.042) 0:00:09.331 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.036) 0:00:09.368 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.239) 0:00:09.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.036) 0:00:09.644 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021892", "end": "2024-01-10 15:28:12.960484", "rc": 0, "start": "2024-01-10 15:28:12.938592" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:28:12 +0000 (0:00:00.250) 0:00:09.894 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.025) 0:00:09.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:09.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:09.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:09.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.023) 0:00:10.016 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:10.041 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.038) 0:00:10.080 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.054) 0:00:10.135 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.053) 0:00:10.188 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.044) 0:00:10.233 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900491.797275, "block_size": 4096, "blocks": 0, "ctime": 1704900491.797275, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32508, "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": 1704900491.797275, "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_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.219) 0:00:10.452 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.026) 0:00:10.478 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.023) 0:00:10.502 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.043) 0:00:10.545 ***** 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.059350", "end": "2024-01-10 15:28:13.893306", "rc": 1, "start": "2024-01-10 15:28:13.833956" } STDOUT: Connection 'statebr' (505aa1d2-50c7-412c-8150-12d20d8ed477) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.283) 0:00:10.829 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.037) 0:00:10.866 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:13 +0000 (0:00:00.024) 0:00:10.891 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.051) 0:00:10.942 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.063) 0:00:11.006 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.037) 0:00:11.043 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003688", "end": "2024-01-10 15:28:14.330506", "rc": 0, "start": "2024-01-10 15:28:14.326818" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.222) 0:00:11.265 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.023) 0:00:11.289 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.023) 0:00:11.312 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.041) 0:00:11.354 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006683", "end": "2024-01-10 15:28:14.645811", "rc": 1, "start": "2024-01-10 15:28:14.639128" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.223) 0:00:11.578 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.037) 0:00:11.615 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.217) 0:00:11.833 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:28:14 +0000 (0:00:00.049) 0:00:11.882 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 15:28:15 +0000 (0:00:00.044) 0:00:11.927 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:15 +0000 (0:00:00.044) 0:00:11.971 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:15 +0000 (0:00:00.043) 0:00:12.014 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:15 +0000 (0:00:00.028) 0:00:12.043 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:15 +0000 (0:00:00.021) 0:00:12.064 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:15 +0000 (0:00:00.025) 0:00:12.089 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:17 +0000 (0:00:02.374) 0:00:14.464 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.931) 0:00:15.395 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.024) 0:00:15.420 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.024) 0:00:15.445 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.030) 0:00:15.476 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.047) 0:00:15.524 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.023) 0:00:15.547 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.047) 0:00:15.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:18 +0000 (0:00:00.027) 0:00:15.621 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.621) 0:00:16.243 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.025) 0:00:16.269 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.022) 0:00:16.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.023) 0:00:16.314 ***** 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, 54662b3a-f460-4e45-80e1-7bd726372f04 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.437) 0:00:16.752 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.033) 0:00:16.785 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54662b3a-f460-4e45-80e1-7bd726372f04" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.025) 0:00:16.811 ***** 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, 54662b3a-f460-4e45-80e1-7bd726372f04\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54662b3a-f460-4e45-80e1-7bd726372f04" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.042) 0:00:16.853 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:19 +0000 (0:00:00.041) 0:00:16.895 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.223) 0:00:17.119 ***** 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, 54662b3a-f460-4e45-80e1-7bd726372f04\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 54662b3a-f460-4e45-80e1-7bd726372f04" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.048) 0:00:17.168 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.051) 0:00:17.219 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.038) 0:00:17.258 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.215) 0:00:17.474 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.023) 0:00:17.498 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.039) 0:00:17.537 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.024) 0:00:17.562 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.217) 0:00:17.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:28:20 +0000 (0:00:00.022) 0:00:17.802 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022104", "end": "2024-01-10 15:28:21.107785", "rc": 0, "start": "2024-01-10 15:28:21.085681" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.242) 0:00:18.044 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.026) 0:00:18.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.048) 0:00:18.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.026) 0:00:18.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.022) 0:00:18.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.024) 0:00:18.193 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.024) 0:00:18.217 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.024) 0:00:18.242 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.024) 0:00:18.266 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.022) 0:00:18.288 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.022) 0:00:18.311 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.041) 0:00:18.353 ***** 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.042372", "end": "2024-01-10 15:28:21.679603", "rc": 1, "start": "2024-01-10 15:28:21.637231" } STDOUT: Connection 'statebr' (54662b3a-f460-4e45-80e1-7bd726372f04) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.261) 0:00:18.614 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.037) 0:00:18.652 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.023) 0:00:18.676 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.073) 0:00:18.749 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.039) 0:00:18.788 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:21 +0000 (0:00:00.046) 0:00:18.834 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003772", "end": "2024-01-10 15:28:22.126828", "rc": 0, "start": "2024-01-10 15:28:22.123056" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.236) 0:00:19.071 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.024) 0:00:19.095 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.023) 0:00:19.118 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.039) 0:00:19.158 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.038) 0:00:19.196 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.042) 0:00:19.238 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.028) 0:00:19.267 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.045) 0:00:19.312 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:22 +0000 (0:00:00.023) 0:00:19.335 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:24 +0000 (0:00:02.288) 0:00:21.624 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.917) 0:00:22.542 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.043) 0:00:22.585 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.058) 0:00:22.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.055) 0:00:22.699 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.060) 0:00:22.759 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.025) 0:00:22.785 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.041) 0:00:22.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:25 +0000 (0:00:00.035) 0:00:22.862 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:26 +0000 (0:00:00.576) 0:00:23.438 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:26 +0000 (0:00:00.025) 0:00:23.464 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:26 +0000 (0:00:00.021) 0:00:23.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:26 +0000 (0:00:00.021) 0:00:23.508 ***** 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, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.431) 0:00:23.939 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.023) 0:00:23.962 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.024) 0:00:23.987 ***** 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, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.046) 0:00:24.034 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.024) 0:00:24.058 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.210) 0:00:24.269 ***** 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, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.027) 0:00:24.296 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.041) 0:00:24.338 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.045) 0:00:24.384 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.047) 0:00:24.431 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.029) 0:00:24.460 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.022) 0:00:24.483 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:27 +0000 (0:00:00.028) 0:00:24.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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:29 +0000 (0:00:02.300) 0:00:26.811 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.924) 0:00:27.735 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.024) 0:00:27.760 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.025) 0:00:27.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:30 +0000 (0:00:00.082) 0:00:27.868 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.046) 0:00:27.915 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.023) 0:00:27.939 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.031) 0:00:27.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.029) 0:00:28.000 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.624) 0:00:28.625 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.033) 0:00:28.658 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.024) 0:00:28.683 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:31 +0000 (0:00:00.031) 0:00:28.714 ***** 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, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.399) 0:00:29.114 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.027) 0:00:29.141 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.038) 0:00:29.179 ***** 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, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.035) 0:00:29.215 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.050) 0:00:29.265 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.209) 0:00:29.474 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.045) 0:00:29.520 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.037) 0:00:29.557 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900506.9533925, "block_size": 4096, "blocks": 0, "ctime": 1704900506.9533925, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32639, "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": 1704900506.9533925, "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_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.209) 0:00:29.767 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.024) 0:00:29.791 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.040) 0:00:29.832 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:28:32 +0000 (0:00:00.024) 0:00:29.857 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.211) 0:00:30.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.021) 0:00:30.090 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021208", "end": "2024-01-10 15:28:33.389302", "rc": 0, "start": "2024-01-10 15:28:33.368094" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.279) 0:00:30.369 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.026) 0:00:30.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.025) 0:00:30.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.025) 0:00:30.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.025) 0:00:30.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.039) 0:00:30.512 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.036) 0:00:30.549 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.025) 0:00:30.574 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.025) 0:00:30.599 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.022) 0:00:30.622 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.040) 0:00:30.662 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:28:33 +0000 (0:00:00.044) 0:00:30.707 ***** 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.068203", "end": "2024-01-10 15:28:34.054902", "rc": 1, "start": "2024-01-10 15:28:33.986699" } STDOUT: Connection 'statebr' (613d3dcf-10fc-4bd1-9d17-ac3fd4484d1e) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.290) 0:00:30.997 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.050) 0:00:31.048 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.057) 0:00:31.106 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.045) 0:00:31.151 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.059) 0:00:31.210 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:34 +0000 (0:00:00.040) 0:00:31.250 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004816", "end": "2024-01-10 15:28:35.543260", "rc": 0, "start": "2024-01-10 15:28:34.538444" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:35 +0000 (0:00:01.227) 0:00:32.478 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.023) 0:00:32.502 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.022) 0:00:32.524 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.044) 0:00:32.569 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.059) 0:00:32.628 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.043) 0:00:32.672 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.027) 0:00:32.699 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.022) 0:00:32.722 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:35 +0000 (0:00:00.023) 0:00:32.746 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:38 +0000 (0:00:02.243) 0:00:34.990 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.917) 0:00:35.907 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.025) 0:00:35.933 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.023) 0:00:35.957 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.024) 0:00:35.982 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.052) 0:00:36.034 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.024) 0:00:36.059 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.027) 0:00:36.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.054) 0:00:36.141 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.576) 0:00:36.718 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.032) 0:00:36.751 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.025) 0:00:36.777 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:39 +0000 (0:00:00.030) 0:00:36.807 ***** 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, bc7c8364-7b23-49b1-9b40-9530e18b17db TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.417) 0:00:37.225 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.023) 0:00:37.248 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc7c8364-7b23-49b1-9b40-9530e18b17db" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.025) 0:00:37.273 ***** 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, bc7c8364-7b23-49b1-9b40-9530e18b17db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc7c8364-7b23-49b1-9b40-9530e18b17db" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.026) 0:00:37.300 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.022) 0:00:37.323 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.207) 0:00:37.530 ***** 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, bc7c8364-7b23-49b1-9b40-9530e18b17db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc7c8364-7b23-49b1-9b40-9530e18b17db" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.031) 0:00:37.561 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.038) 0:00:37.600 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.074) 0:00:37.674 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.030) 0:00:37.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.033) 0:00:37.738 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:40 +0000 (0:00:00.027) 0:00:37.766 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:43 +0000 (0:00:02.279) 0:00:40.046 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.927) 0:00:40.974 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.024) 0:00:40.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.022) 0:00:41.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.022) 0:00:41.043 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.054) 0:00:41.097 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.029) 0:00:41.127 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.024) 0:00:41.151 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.032) 0:00:41.184 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.577) 0:00:41.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.029) 0:00:41.790 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:44 +0000 (0:00:00.041) 0:00:41.832 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.072) 0:00:41.904 ***** 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, bc7c8364-7b23-49b1-9b40-9530e18b17db skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.378) 0:00:42.283 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.023) 0:00:42.306 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc7c8364-7b23-49b1-9b40-9530e18b17db skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.024) 0:00:42.331 ***** 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, bc7c8364-7b23-49b1-9b40-9530e18b17db skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc7c8364-7b23-49b1-9b40-9530e18b17db skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.026) 0:00:42.357 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.023) 0:00:42.380 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.243) 0:00:42.624 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.068) 0:00:42.692 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.062) 0:00:42.754 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.053) 0:00:42.808 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:45 +0000 (0:00:00.057) 0:00:42.865 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.040) 0:00:42.905 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:46 +0000 (0:00:00.032) 0:00:42.938 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:48 +0000 (0:00:02.238) 0:00:45.177 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.934) 0:00:46.112 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.023) 0:00:46.135 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.021) 0:00:46.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.021) 0:00:46.178 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.046) 0:00:46.225 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.024) 0:00:46.249 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.024) 0:00:46.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.028) 0:00:46.301 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.561) 0:00:46.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:49 +0000 (0:00:00.031) 0:00:46.894 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.051) 0:00:46.946 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.022) 0:00:46.969 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.426) 0:00:47.396 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.023) 0:00:47.420 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.031) 0:00:47.451 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.028) 0:00:47.480 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.030) 0:00:47.510 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.208) 0:00:47.719 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.081) 0:00:47.800 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:28:50 +0000 (0:00:00.041) 0:00:47.842 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900520.2401512, "block_size": 4096, "blocks": 0, "ctime": 1704900520.2401512, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32770, "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": 1704900520.2401512, "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_typeimp34ksm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.221) 0:00:48.064 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.027) 0:00:48.091 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.047) 0:00:48.139 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.048) 0:00:48.187 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.233) 0:00:48.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.037) 0:00:48.458 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021385", "end": "2024-01-10 15:28:51.766356", "rc": 1, "start": "2024-01-10 15:28:51.744971" } 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.256) 0:00:48.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.067) 0:00:48.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.058) 0:00:48.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.031) 0:00:48.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:28:51 +0000 (0:00:00.028) 0:00:48.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.026) 0:00:48.927 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.032) 0:00:48.960 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.021) 0:00:48.982 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.030) 0:00:49.012 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.043) 0:00:49.056 ***** ok: [sut] => { "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.070014", "end": "2024-01-10 15:28:52.406258", "rc": 0, "start": "2024-01-10 15:28:52.336244" } STDOUT: Connection 'statebr' (bc7c8364-7b23-49b1-9b40-9530e18b17db) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.327) 0:00:49.384 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.073) 0:00:49.457 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.027) 0:00:49.485 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.047) 0:00:49.533 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.038) 0:00:49.571 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.037) 0:00:49.609 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003626", "end": "2024-01-10 15:28:52.891626", "rc": 0, "start": "2024-01-10 15:28:52.888000" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.216) 0:00:49.826 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.027) 0:00:49.853 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:28:52 +0000 (0:00:00.027) 0:00:49.881 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:28:53 +0000 (0:00:00.049) 0:00:49.931 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:53 +0000 (0:00:00.069) 0:00:50.000 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:53 +0000 (0:00:00.047) 0:00:50.048 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:53 +0000 (0:00:00.028) 0:00:50.076 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:53 +0000 (0:00:00.022) 0:00:50.099 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:53 +0000 (0:00:00.021) 0:00:50.121 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:28:55 +0000 (0:00:02.280) 0:00:52.401 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.931) 0:00:53.332 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.023) 0:00:53.356 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.022) 0:00:53.378 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.021) 0:00:53.400 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.046) 0:00:53.446 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.023) 0:00:53.469 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.023) 0:00:53.493 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:28:56 +0000 (0:00:00.027) 0:00:53.521 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:28:57 +0000 (0:00:00.647) 0:00:54.168 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:28:57 +0000 (0:00:00.041) 0:00:54.209 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:28:57 +0000 (0:00:00.037) 0:00:54.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:28:57 +0000 (0:00:00.050) 0:00:54.297 ***** 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, dd8075ea-cb57-4a45-a07b-9ef172e336ac TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:28:57 +0000 (0:00:00.599) 0:00:54.897 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.041) 0:00:54.939 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd8075ea-cb57-4a45-a07b-9ef172e336ac" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.051) 0:00:54.991 ***** 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, dd8075ea-cb57-4a45-a07b-9ef172e336ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd8075ea-cb57-4a45-a07b-9ef172e336ac" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.040) 0:00:55.032 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.087) 0:00:55.119 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.345) 0:00:55.464 ***** 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, dd8075ea-cb57-4a45-a07b-9ef172e336ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dd8075ea-cb57-4a45-a07b-9ef172e336ac" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.047) 0:00:55.512 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.060) 0:00:55.572 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.129) 0:00:55.702 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.031) 0:00:55.733 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.050) 0:00:55.784 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:28:58 +0000 (0:00:00.087) 0:00:55.872 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:29:01 +0000 (0:00:02.284) 0:00:58.156 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:02 +0000 (0:00:01.001) 0:00:59.158 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:02 +0000 (0:00:00.057) 0:00:59.216 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:29:02 +0000 (0:00:00.025) 0:00:59.241 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:29:02 +0000 (0:00:00.028) 0:00:59.270 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:29:02 +0000 (0:00:00.048) 0:00:59.318 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:29:02 +0000 (0:00:00.035) 0:00:59.353 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:29:02 +0000 (0:00:00.033) 0:00:59.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:29:02 +0000 (0:00:00.034) 0:00:59.422 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.570) 0:00:59.992 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.026) 0:01:00.019 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.023) 0:01:00.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.024) 0:01:00.067 ***** 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, dd8075ea-cb57-4a45-a07b-9ef172e336ac skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.437) 0:01:00.504 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.025) 0:01:00.530 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dd8075ea-cb57-4a45-a07b-9ef172e336ac skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.036) 0:01:00.567 ***** 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, dd8075ea-cb57-4a45-a07b-9ef172e336ac skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, dd8075ea-cb57-4a45-a07b-9ef172e336ac skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.034) 0:01:00.601 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.032) 0:01:00.634 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:29:03 +0000 (0:00:00.213) 0:01:00.847 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.075) 0:01:00.923 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.089) 0:01:01.012 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.068) 0:01:01.081 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.029) 0:01:01.111 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:29:04 +0000 (0:00:00.040) 0:01:01.152 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:29:06 +0000 (0:00:02.242) 0:01:03.394 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.912) 0:01:04.306 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.022) 0:01:04.329 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.022) 0:01:04.351 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.025) 0:01:04.376 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.080) 0:01:04.457 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.024) 0:01:04.481 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.029) 0:01:04.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:29:07 +0000 (0:00:00.034) 0:01:04.545 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.597) 0:01:05.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.026) 0:01:05.169 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.022) 0:01:05.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.022) 0:01:05.214 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.389) 0:01:05.604 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.021) 0:01:05.625 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.023) 0:01:05.649 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.023) 0:01:05.672 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:29:08 +0000 (0:00:00.048) 0:01:05.721 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:29:09 +0000 (0:00:00.208) 0:01:05.929 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:29:09 +0000 (0:00:00.042) 0:01:05.971 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:29:09 +0000 (0:00:00.043) 0:01:06.015 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:29:09 +0000 (0:00:00.043) 0:01:06.059 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:29:09 +0000 (0:00:00.027) 0:01:06.086 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:29:09 +0000 (0:00:00.022) 0:01:06.108 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:29:09 +0000 (0:00:00.021) 0:01:06.130 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:29:11 +0000 (0:00:02.255) 0:01:08.386 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.925) 0:01:09.311 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.027) 0:01:09.339 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.024) 0:01:09.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.022) 0:01:09.385 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.070) 0:01:09.456 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.024) 0:01:09.481 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.023) 0:01:09.505 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:29:12 +0000 (0:00:00.027) 0:01:09.532 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.558) 0:01:10.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.029) 0:01:10.120 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.022) 0:01:10.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.021) 0:01:10.164 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.451) 0:01:10.616 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.024) 0:01:10.641 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.023) 0:01:10.665 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.024) 0:01:10.689 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:29:13 +0000 (0:00:00.046) 0:01:10.735 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.208) 0:01:10.944 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.042) 0:01:10.987 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.040) 0:01:11.027 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.022) 0:01:11.050 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.209) 0:01:11.259 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.021) 0:01:11.281 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019852", "end": "2024-01-10 15:29:14.580374", "rc": 1, "start": "2024-01-10 15:29:14.560522" } 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.231) 0:01:11.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.025) 0:01:11.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.023) 0:01:11.562 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.022) 0:01:11.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.023) 0:01:11.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.049) 0:01:11.657 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.025) 0:01:11.683 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.044) 0:01:11.727 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:29:14 +0000 (0:00:00.037) 0:01:11.765 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.210) 0:01:11.976 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.026) 0:01:12.003 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.023) 0:01:12.026 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.042) 0:01:12.068 ***** 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.038723", "end": "2024-01-10 15:29:15.382969", "rc": 1, "start": "2024-01-10 15:29:15.344246" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.247) 0:01:12.315 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.039) 0:01:12.355 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.022) 0:01:12.377 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.096) 0:01:12.474 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.039) 0:01:12.513 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.049) 0:01:12.563 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003542", "end": "2024-01-10 15:29:15.848608", "rc": 0, "start": "2024-01-10 15:29:15.845066" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.219) 0:01:12.782 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.024) 0:01:12.807 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.023) 0:01:12.830 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:29:15 +0000 (0:00:00.045) 0:01:12.876 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:29:16 +0000 (0:00:00.038) 0:01:12.914 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:29:16 +0000 (0:00:00.040) 0:01:12.955 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:29:16 +0000 (0:00:00.054) 0:01:13.009 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:29:16 +0000 (0:00:00.023) 0:01:13.033 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:29:16 +0000 (0:00:00.024) 0:01:13.058 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:29:18 +0000 (0:00:02.262) 0:01:15.320 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.962) 0:01:16.283 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.026) 0:01:16.309 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.024) 0:01:16.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.022) 0:01:16.356 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.046) 0:01:16.402 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.022) 0:01:16.425 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.022) 0:01:16.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:29:19 +0000 (0:00:00.026) 0:01:16.474 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.561) 0:01:17.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.027) 0:01:17.063 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.021) 0:01:17.085 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.021) 0:01:17.107 ***** 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, 8504c342-7ba7-482e-977a-4de0a2e376f2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.484) 0:01:17.592 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.023) 0:01:17.615 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8504c342-7ba7-482e-977a-4de0a2e376f2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.024) 0:01:17.640 ***** 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, 8504c342-7ba7-482e-977a-4de0a2e376f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8504c342-7ba7-482e-977a-4de0a2e376f2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.024) 0:01:17.665 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.022) 0:01:17.687 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:29:20 +0000 (0:00:00.205) 0:01:17.893 ***** 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, 8504c342-7ba7-482e-977a-4de0a2e376f2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8504c342-7ba7-482e-977a-4de0a2e376f2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:29:21 +0000 (0:00:00.024) 0:01:17.917 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:29:21 +0000 (0:00:00.037) 0:01:17.955 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:29:21 +0000 (0:00:00.042) 0:01:17.997 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:29:21 +0000 (0:00:00.027) 0:01:18.025 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:29:21 +0000 (0:00:00.021) 0:01:18.046 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:29:21 +0000 (0:00:00.022) 0:01:18.068 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:29:23 +0000 (0:00:02.239) 0:01:20.308 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.921) 0:01:21.229 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.035) 0:01:21.264 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.045) 0:01:21.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.033) 0:01:21.343 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.047) 0:01:21.391 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.027) 0:01:21.418 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.023) 0:01:21.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:29:24 +0000 (0:00:00.030) 0:01:21.472 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.560) 0:01:22.032 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.026) 0:01:22.059 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.021) 0:01:22.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.021) 0:01:22.102 ***** 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, 8504c342-7ba7-482e-977a-4de0a2e376f2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.363) 0:01:22.465 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.022) 0:01:22.488 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8504c342-7ba7-482e-977a-4de0a2e376f2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.023) 0:01:22.511 ***** 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, 8504c342-7ba7-482e-977a-4de0a2e376f2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8504c342-7ba7-482e-977a-4de0a2e376f2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.050) 0:01:22.562 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.023) 0:01:22.586 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.215) 0:01:22.802 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.044) 0:01:22.846 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:29:25 +0000 (0:00:00.044) 0:01:22.890 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:29:26 +0000 (0:00:00.031) 0:01:22.922 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:29:26 +0000 (0:00:00.028) 0:01:22.951 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:29:26 +0000 (0:00:00.026) 0:01:22.977 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:29:28 +0000 (0:00:02.255) 0:01:25.233 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.929) 0:01:26.162 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.026) 0:01:26.189 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.033) 0:01:26.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.022) 0:01:26.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.046) 0:01:26.291 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.023) 0:01:26.314 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.044) 0:01:26.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:29:29 +0000 (0:00:00.026) 0:01:26.386 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.572) 0:01:26.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.034) 0:01:26.992 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.023) 0:01:27.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.022) 0:01:27.038 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.449) 0:01:27.488 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.022) 0:01:27.511 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.024) 0:01:27.535 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.025) 0:01:27.561 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.025) 0:01:27.586 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.208) 0:01:27.795 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:29:30 +0000 (0:00:00.069) 0:01:27.865 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:29:31 +0000 (0:00:00.038) 0:01:27.904 ***** included: /WORKDIR/git-route_typeimp34ksm/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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:29:31 +0000 (0:00:00.042) 0:01:27.946 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:29:31 +0000 (0:00:00.027) 0:01:27.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:29:31 +0000 (0:00:00.029) 0:01:28.003 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:29:31 +0000 (0:00:00.024) 0:01:28.027 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:29:33 +0000 (0:00:02.284) 0:01:30.311 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.915) 0:01:31.227 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.028) 0:01:31.256 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.031) 0:01:31.287 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.026) 0:01:31.314 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.078) 0:01:31.392 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.040) 0:01:31.432 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.038) 0:01:31.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:29:34 +0000 (0:00:00.085) 0:01:31.556 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.559) 0:01:32.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.028) 0:01:32.144 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.025) 0:01:32.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.024) 0:01:32.194 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.392) 0:01:32.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.022) 0:01:32.608 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.023) 0:01:32.632 ***** 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_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.024) 0:01:32.657 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.023) 0:01:32.680 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:29:35 +0000 (0:00:00.215) 0:01:32.896 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.072) 0:01:32.968 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.039) 0:01:33.008 ***** 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.022) 0:01:33.031 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.209) 0:01:33.241 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.021) 0:01:33.263 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020467", "end": "2024-01-10 15:29:36.563967", "rc": 1, "start": "2024-01-10 15:29:36.543500" } 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_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.234) 0:01:33.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.023) 0:01:33.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.023) 0:01:33.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.024) 0:01:33.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.023) 0:01:33.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.023) 0:01:33.615 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 15:29:36 +0000 (0:00:00.023) 0:01:33.639 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.367676", "end": "2024-01-10 15:29:37.285630", "rc": 0, "start": "2024-01-10 15:29:36.917954" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.579) 0:01:34.218 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.023) 0:01:34.241 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.022) 0:01:34.264 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.045) 0:01:34.310 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.038) 0:01:34.349 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.216) 0:01:34.565 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.025) 0:01:34.590 ***** 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_typeimp34ksm/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.025) 0:01:34.616 ***** included: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeimp34ksm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:29:37 +0000 (0:00:00.042) 0:01:34.658 ***** 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.040601", "end": "2024-01-10 15:29:37.980434", "rc": 1, "start": "2024-01-10 15:29:37.939833" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Wednesday 10 January 2024 15:29:38 +0000 (0:00:00.242) 0:01:34.901 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.09s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.46s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.37s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.37s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.33s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.69s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.58s /WORKDIR/git-route_typeimp34ksm/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---