# 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_type2jac9b5j/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/tests_states_nm.yml:5 Thursday 21 December 2023 16:46:43 +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_type2jac9b5j/tests/tests_states_nm.yml:9 Thursday 21 December 2023 16:46:44 +0000 (0:00:00.896) 0:00:00.908 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:46:44 +0000 (0:00:00.022) 0:00:00.930 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:46:44 +0000 (0:00:00.538) 0:00:01.469 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.264) 0:00:01.734 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.020) 0:00:01.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.015) 0:00:01.770 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.029) 0:00:01.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.009) 0:00:01.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.008) 0:00:01.817 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.008) 0:00:01.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.008) 0:00:01.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/tests_states_nm.yml:11 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.007) 0:00:01.841 ***** 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_type2jac9b5j/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.010) 0:00:01.852 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.776) 0:00:02.629 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 16:46:45 +0000 (0:00:00.010) 0:00:02.640 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:46:46 +0000 (0:00:00.015) 0:00:02.655 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:46:46 +0000 (0:00:00.010) 0:00:02.666 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:46:46 +0000 (0:00:00.031) 0:00:02.697 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:46:46 +0000 (0:00:00.013) 0:00:02.710 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:46:46 +0000 (0:00:00.012) 0:00:02.723 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004696", "end": "2023-12-21 16:46:47.312986", "rc": 0, "start": "2023-12-21 16:46:46.308290" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:46:47 +0000 (0:00:01.256) 0:00:03.980 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.011) 0:00:03.992 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.010) 0:00:04.002 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.018) 0:00:04.021 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007697", "end": "2023-12-21 16:46:47.561390", "rc": 1, "start": "2023-12-21 16:46:47.553693" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.205) 0:00:04.226 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.016) 0:00:04.242 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.198) 0:00:04.441 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.011) 0:00:04.453 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.017) 0:00:04.470 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.031) 0:00:04.502 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.067) 0:00:04.570 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.012) 0:00:04.582 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.011) 0:00:04.593 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:46:47 +0000 (0:00:00.009) 0:00:04.603 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:46:50 +0000 (0:00:02.206) 0:00:06.810 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:46:51 +0000 (0:00:01.043) 0:00:07.853 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:46:51 +0000 (0:00:00.024) 0:00:07.878 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:46:51 +0000 (0:00:00.030) 0:00:07.908 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:46:51 +0000 (0:00:00.023) 0:00:07.932 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:46:51 +0000 (0:00:00.055) 0:00:07.987 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:46:51 +0000 (0:00:00.023) 0:00:08.011 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:46:51 +0000 (0:00:00.023) 0:00:08.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:46:51 +0000 (0:00:00.029) 0:00:08.065 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.796) 0:00:08.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.049) 0:00:08.910 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.028) 0:00:08.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.030) 0:00:08.970 ***** 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, 4fbb484a-3ab7-48fe-9dc0-8ff7c681499e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.548) 0:00:09.518 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.025) 0:00:09.544 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fbb484a-3ab7-48fe-9dc0-8ff7c681499e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.028) 0:00:09.572 ***** 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, 4fbb484a-3ab7-48fe-9dc0-8ff7c681499e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fbb484a-3ab7-48fe-9dc0-8ff7c681499e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.029) 0:00:09.602 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:46:52 +0000 (0:00:00.022) 0:00:09.625 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.288) 0:00:09.913 ***** 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, 4fbb484a-3ab7-48fe-9dc0-8ff7c681499e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fbb484a-3ab7-48fe-9dc0-8ff7c681499e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.024) 0:00:09.937 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.041) 0:00:09.979 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.088) 0:00:10.068 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.034) 0:00:10.102 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.220) 0:00:10.323 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.023) 0:00:10.346 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022612", "end": "2023-12-21 16:46:53.904105", "rc": 0, "start": "2023-12-21 16:46:53.881493" } 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.233) 0:00:10.580 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.026) 0:00:10.606 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:46:53 +0000 (0:00:00.024) 0:00:10.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.023) 0:00:10.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.023) 0:00:10.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.027) 0:00:10.706 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.028) 0:00:10.734 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.028) 0:00:10.762 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.025) 0:00:10.788 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.048) 0:00:10.836 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.069) 0:00:10.906 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177212.784856, "block_size": 4096, "blocks": 0, "ctime": 1703177212.784856, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34749, "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": 1703177212.784856, "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_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.231) 0:00:11.137 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.025) 0:00:11.163 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.023) 0:00:11.186 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.051) 0:00:11.237 ***** 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.061780", "end": "2023-12-21 16:46:54.835318", "rc": 1, "start": "2023-12-21 16:46:54.773538" } STDOUT: Connection 'statebr' (4fbb484a-3ab7-48fe-9dc0-8ff7c681499e) 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_type2jac9b5j/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.272) 0:00:11.509 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.038) 0:00:11.548 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.023) 0:00:11.571 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:46:54 +0000 (0:00:00.043) 0:00:11.615 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.035) 0:00:11.651 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.058) 0:00:11.709 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003696", "end": "2023-12-21 16:46:55.248566", "rc": 0, "start": "2023-12-21 16:46:55.244870" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.215) 0:00:11.925 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.024) 0:00:11.949 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.023) 0:00:11.972 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.042) 0:00:12.015 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006485", "end": "2023-12-21 16:46:55.557767", "rc": 1, "start": "2023-12-21 16:46:55.551282" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.216) 0:00:12.231 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.037) 0:00:12.268 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.211) 0:00:12.480 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.026) 0:00:12.506 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.041) 0:00:12.547 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:46:55 +0000 (0:00:00.065) 0:00:12.613 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:46:56 +0000 (0:00:00.042) 0:00:12.655 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:46:56 +0000 (0:00:00.027) 0:00:12.683 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:46:56 +0000 (0:00:00.022) 0:00:12.706 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:46:56 +0000 (0:00:00.021) 0:00:12.727 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:46:58 +0000 (0:00:02.191) 0:00:14.918 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.915) 0:00:15.834 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.024) 0:00:15.859 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.022) 0:00:15.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.023) 0:00:15.905 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.045) 0:00:15.951 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.022) 0:00:15.973 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.022) 0:00:15.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.027) 0:00:16.023 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.578) 0:00:16.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:46:59 +0000 (0:00:00.027) 0:00:16.628 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.023) 0:00:16.652 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.023) 0:00:16.676 ***** 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, 22e51e5c-67cd-463f-ba8d-580c51d91853 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.400) 0:00:17.077 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.025) 0:00:17.103 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 22e51e5c-67cd-463f-ba8d-580c51d91853" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.050) 0:00:17.153 ***** 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, 22e51e5c-67cd-463f-ba8d-580c51d91853\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 22e51e5c-67cd-463f-ba8d-580c51d91853" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.029) 0:00:17.183 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.038) 0:00:17.221 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.219) 0:00:17.441 ***** 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, 22e51e5c-67cd-463f-ba8d-580c51d91853\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 22e51e5c-67cd-463f-ba8d-580c51d91853" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.027) 0:00:17.468 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.052) 0:00:17.520 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:47:00 +0000 (0:00:00.038) 0:00:17.558 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.228) 0:00:17.787 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.044) 0:00:17.831 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.057) 0:00:17.889 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.035) 0:00:17.924 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.208) 0:00:18.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.022) 0:00:18.156 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022126", "end": "2023-12-21 16:47:01.712750", "rc": 0, "start": "2023-12-21 16:47:01.690624" } 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.233) 0:00:18.389 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.028) 0:00:18.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.028) 0:00:18.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.027) 0:00:18.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.032) 0:00:18.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.028) 0:00:18.535 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.038) 0:00:18.574 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:47:01 +0000 (0:00:00.054) 0:00:18.628 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.036) 0:00:18.664 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.025) 0:00:18.689 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.024) 0:00:18.713 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.045) 0:00:18.759 ***** 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.043558", "end": "2023-12-21 16:47:02.343861", "rc": 1, "start": "2023-12-21 16:47:02.300303" } STDOUT: Connection 'statebr' (22e51e5c-67cd-463f-ba8d-580c51d91853) 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_type2jac9b5j/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.259) 0:00:19.018 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.039) 0:00:19.058 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.023) 0:00:19.082 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.044) 0:00:19.126 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.035) 0:00:19.162 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:47:02 +0000 (0:00:00.035) 0:00:19.197 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004876", "end": "2023-12-21 16:47:03.738780", "rc": 0, "start": "2023-12-21 16:47:02.733904" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:47:03 +0000 (0:00:01.216) 0:00:20.414 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:47:03 +0000 (0:00:00.024) 0:00:20.438 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:47:03 +0000 (0:00:00.023) 0:00:20.462 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:47:03 +0000 (0:00:00.040) 0:00:20.502 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:03 +0000 (0:00:00.039) 0:00:20.542 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:03 +0000 (0:00:00.052) 0:00:20.594 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:04 +0000 (0:00:00.047) 0:00:20.641 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:04 +0000 (0:00:00.028) 0:00:20.670 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:04 +0000 (0:00:00.051) 0:00:20.721 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:06 +0000 (0:00:02.223) 0:00:22.945 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.914) 0:00:23.859 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.062) 0:00:23.922 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.056) 0:00:23.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.023) 0:00:24.003 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.050) 0:00:24.053 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.047) 0:00:24.101 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.023) 0:00:24.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:07 +0000 (0:00:00.030) 0:00:24.154 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.561) 0:00:24.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.028) 0:00:24.744 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.028) 0:00:24.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.050) 0:00:24.822 ***** 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, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.475) 0:00:25.298 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.030) 0:00:25.328 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.059) 0:00:25.388 ***** 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, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.025) 0:00:25.413 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:08 +0000 (0:00:00.022) 0:00:25.435 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.207) 0:00:25.643 ***** 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, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.026) 0:00:25.669 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.041) 0:00:25.711 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.042) 0:00:25.753 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.045) 0:00:25.799 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.028) 0:00:25.827 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.022) 0:00:25.850 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:09 +0000 (0:00:00.021) 0:00:25.871 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:11 +0000 (0:00:02.195) 0:00:28.067 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.930) 0:00:28.997 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.024) 0:00:29.022 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.044) 0:00:29.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.025) 0:00:29.092 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.071) 0:00:29.164 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.030) 0:00:29.194 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.024) 0:00:29.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:12 +0000 (0:00:00.036) 0:00:29.255 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.570) 0:00:29.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.069) 0:00:29.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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.048) 0:00:29.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.037) 0:00:29.980 ***** 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, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.393) 0:00:30.374 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.022) 0:00:30.396 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.023) 0:00:30.420 ***** 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, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f829ef78-1b52-4a37-b9ae-e5c0baf97ba3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.054) 0:00:30.475 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:13 +0000 (0:00:00.026) 0:00:30.502 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.206) 0:00:30.708 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.062) 0:00:30.770 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.040) 0:00:30.811 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177228.568925, "block_size": 4096, "blocks": 0, "ctime": 1703177228.568925, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34880, "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": 1703177228.568925, "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_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.219) 0:00:31.031 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.042) 0:00:31.073 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.081) 0:00:31.155 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.034) 0:00:31.190 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.228) 0:00:31.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:47:14 +0000 (0:00:00.026) 0:00:31.444 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022365", "end": "2023-12-21 16:47:15.007197", "rc": 0, "start": "2023-12-21 16:47:14.984832" } 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.262) 0:00:31.706 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.026) 0:00:31.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.024) 0:00:31.757 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.023) 0:00:31.780 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.024) 0:00:31.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.024) 0:00:31.830 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.025) 0:00:31.855 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.025) 0:00:31.880 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.024) 0:00:31.904 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.021) 0:00:31.925 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.023) 0:00:31.949 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.042) 0:00:31.992 ***** 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.068833", "end": "2023-12-21 16:47:15.598069", "rc": 1, "start": "2023-12-21 16:47:15.529236" } STDOUT: Connection 'statebr' (f829ef78-1b52-4a37-b9ae-e5c0baf97ba3) 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_type2jac9b5j/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.280) 0:00:32.272 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.065) 0:00:32.338 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.024) 0:00:32.363 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.043) 0:00:32.407 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.037) 0:00:32.445 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:47:15 +0000 (0:00:00.037) 0:00:32.482 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003698", "end": "2023-12-21 16:47:16.031979", "rc": 0, "start": "2023-12-21 16:47:16.028281" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.225) 0:00:32.708 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.024) 0:00:32.732 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.022) 0:00:32.755 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.042) 0:00:32.797 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.037) 0:00:32.835 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.070) 0:00:32.906 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.030) 0:00:32.936 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.022) 0:00:32.959 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:16 +0000 (0:00:00.022) 0:00:32.982 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:18 +0000 (0:00:02.205) 0:00:35.187 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.954) 0:00:36.141 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.026) 0:00:36.168 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.022) 0:00:36.191 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.023) 0:00:36.214 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.044) 0:00:36.259 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.022) 0:00:36.282 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.021) 0:00:36.303 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:19 +0000 (0:00:00.025) 0:00:36.329 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.563) 0:00:36.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.026) 0:00:36.919 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.023) 0:00:36.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.024) 0:00:36.966 ***** 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, 2dab4f10-e946-417c-81da-29283120d7bb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.448) 0:00:37.414 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.023) 0:00:37.438 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2dab4f10-e946-417c-81da-29283120d7bb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.023) 0:00:37.462 ***** 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, 2dab4f10-e946-417c-81da-29283120d7bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2dab4f10-e946-417c-81da-29283120d7bb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.024) 0:00:37.486 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:20 +0000 (0:00:00.023) 0:00:37.510 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:47:21 +0000 (0:00:00.208) 0:00:37.718 ***** 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, 2dab4f10-e946-417c-81da-29283120d7bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2dab4f10-e946-417c-81da-29283120d7bb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:47:21 +0000 (0:00:00.024) 0:00:37.743 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:21 +0000 (0:00:00.036) 0:00:37.779 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:21 +0000 (0:00:00.041) 0:00:37.820 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:21 +0000 (0:00:00.027) 0:00:37.848 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:21 +0000 (0:00:00.021) 0:00:37.870 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:21 +0000 (0:00:00.021) 0:00:37.892 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:23 +0000 (0:00:02.152) 0:00:40.044 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.913) 0:00:40.957 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.023) 0:00:40.980 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.040) 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.023) 0:00:41.045 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.045) 0:00:41.091 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.026) 0:00:41.118 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.023) 0:00:41.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:24 +0000 (0:00:00.024) 0:00:41.166 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.554) 0:00:41.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.032) 0:00:41.754 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.028) 0:00:41.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.024) 0:00:41.806 ***** 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, 2dab4f10-e946-417c-81da-29283120d7bb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.371) 0:00:42.178 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.023) 0:00:42.201 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2dab4f10-e946-417c-81da-29283120d7bb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.024) 0:00:42.226 ***** 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, 2dab4f10-e946-417c-81da-29283120d7bb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2dab4f10-e946-417c-81da-29283120d7bb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.048) 0:00:42.274 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.022) 0:00:42.297 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.204) 0:00:42.502 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.043) 0:00:42.546 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.044) 0:00:42.590 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:25 +0000 (0:00:00.048) 0:00:42.639 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:26 +0000 (0:00:00.029) 0:00:42.668 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:26 +0000 (0:00:00.032) 0:00:42.700 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:26 +0000 (0:00:00.023) 0:00:42.724 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:28 +0000 (0:00:02.147) 0:00:44.871 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.930) 0:00:45.802 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.024) 0:00:45.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.023) 0:00:45.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.025) 0:00:45.876 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.057) 0:00:45.934 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.051) 0:00:45.985 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.034) 0:00:46.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.049) 0:00:46.070 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:29 +0000 (0:00:00.564) 0:00:46.634 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.027) 0:00:46.662 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.022) 0:00:46.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.023) 0:00:46.708 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.399) 0:00:47.107 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.021) 0:00:47.129 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.022) 0:00:47.152 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.023) 0:00:47.175 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.021) 0:00:47.197 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.245) 0:00:47.442 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.050) 0:00:47.492 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:47:30 +0000 (0:00:00.038) 0:00:47.530 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177240.6886501, "block_size": 4096, "blocks": 0, "ctime": 1703177240.6886501, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35011, "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": 1703177240.6886501, "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_type2jac9b5j/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.219) 0:00:47.749 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.030) 0:00:47.779 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.045) 0:00:47.825 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.030) 0:00:47.855 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.232) 0:00:48.087 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.041) 0:00:48.129 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022295", "end": "2023-12-21 16:47:31.725060", "rc": 1, "start": "2023-12-21 16:47:31.702765" } 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.274) 0:00:48.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.025) 0:00:48.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.059) 0:00:48.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.025) 0:00:48.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.025) 0:00:48.540 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.027) 0:00:48.567 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.034) 0:00:48.602 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:47:31 +0000 (0:00:00.021) 0:00:48.623 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.023) 0:00:48.647 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.042) 0:00:48.689 ***** 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.068631", "end": "2023-12-21 16:47:32.292840", "rc": 1, "start": "2023-12-21 16:47:32.224209" } STDOUT: Connection 'statebr' (2dab4f10-e946-417c-81da-29283120d7bb) 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_type2jac9b5j/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.285) 0:00:48.975 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.039) 0:00:49.014 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.025) 0:00:49.039 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.047) 0:00:49.087 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.066) 0:00:49.154 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:47:32 +0000 (0:00:00.037) 0:00:49.191 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004780", "end": "2023-12-21 16:47:33.736026", "rc": 0, "start": "2023-12-21 16:47:32.731246" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:47:33 +0000 (0:00:01.222) 0:00:50.414 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:47:33 +0000 (0:00:00.029) 0:00:50.444 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:47:33 +0000 (0:00:00.026) 0:00:50.470 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:47:33 +0000 (0:00:00.063) 0:00:50.534 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:33 +0000 (0:00:00.042) 0:00:50.576 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:34 +0000 (0:00:00.090) 0:00:50.667 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:34 +0000 (0:00:00.053) 0:00:50.720 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:34 +0000 (0:00:00.044) 0:00:50.765 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:34 +0000 (0:00:00.034) 0:00:50.800 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:36 +0000 (0:00:02.148) 0:00:52.949 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.933) 0:00:53.882 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.036) 0:00:53.918 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.082) 0:00:54.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.063) 0:00:54.064 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.051) 0:00:54.115 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.031) 0:00:54.147 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.046) 0:00:54.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:37 +0000 (0:00:00.035) 0:00:54.229 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.567) 0:00:54.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.034) 0:00:54.832 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.030) 0:00:54.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.022) 0:00:54.886 ***** 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, 70326ba9-da52-40e6-9b24-2244171420e3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.516) 0:00:55.402 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.023) 0:00:55.426 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70326ba9-da52-40e6-9b24-2244171420e3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.023) 0:00:55.449 ***** 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, 70326ba9-da52-40e6-9b24-2244171420e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70326ba9-da52-40e6-9b24-2244171420e3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.024) 0:00:55.473 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:38 +0000 (0:00:00.022) 0:00:55.496 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:47:39 +0000 (0:00:00.204) 0:00:55.700 ***** 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, 70326ba9-da52-40e6-9b24-2244171420e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70326ba9-da52-40e6-9b24-2244171420e3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:47:39 +0000 (0:00:00.024) 0:00:55.724 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:39 +0000 (0:00:00.038) 0:00:55.763 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:39 +0000 (0:00:00.043) 0:00:55.807 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:39 +0000 (0:00:00.035) 0:00:55.843 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:39 +0000 (0:00:00.038) 0:00:55.881 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:39 +0000 (0:00:00.024) 0:00:55.905 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:41 +0000 (0:00:02.163) 0:00:58.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.908) 0:00:58.977 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.028) 0:00:59.005 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.056) 0:00:59.062 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.023) 0:00:59.086 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.051) 0:00:59.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.029) 0:00:59.167 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.026) 0:00:59.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:42 +0000 (0:00:00.026) 0:00:59.220 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.570) 0:00:59.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.035) 0:00:59.826 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.024) 0:00:59.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.031) 0:00:59.882 ***** 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, 70326ba9-da52-40e6-9b24-2244171420e3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.382) 0:01:00.264 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.022) 0:01:00.287 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 70326ba9-da52-40e6-9b24-2244171420e3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.024) 0:01:00.312 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 70326ba9-da52-40e6-9b24-2244171420e3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 70326ba9-da52-40e6-9b24-2244171420e3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.056) 0:01:00.368 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.025) 0:01:00.394 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:47:43 +0000 (0:00:00.214) 0:01:00.608 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:44 +0000 (0:00:00.040) 0:01:00.648 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:44 +0000 (0:00:00.044) 0:01:00.693 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:44 +0000 (0:00:00.029) 0:01:00.723 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:44 +0000 (0:00:00.023) 0:01:00.747 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:44 +0000 (0:00:00.021) 0:01:00.768 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:46 +0000 (0:00:02.147) 0:01:02.916 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.904) 0:01:03.820 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.024) 0:01:03.844 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.022) 0:01:03.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.029) 0:01:03.897 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.053) 0:01:03.951 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.027) 0:01:03.979 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.030) 0:01:04.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.026) 0:01:04.036 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.575) 0:01:04.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:47 +0000 (0:00:00.028) 0:01:04.640 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.023) 0:01:04.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.023) 0:01:04.687 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.411) 0:01:05.098 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.040) 0:01:05.139 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.050) 0:01:05.189 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.028) 0:01:05.218 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.046) 0:01:05.264 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.221) 0:01:05.485 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.059) 0:01:05.545 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:48 +0000 (0:00:00.087) 0:01:05.633 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:49 +0000 (0:00:00.046) 0:01:05.680 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:49 +0000 (0:00:00.111) 0:01:05.791 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:49 +0000 (0:00:00.035) 0:01:05.827 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:49 +0000 (0:00:00.022) 0:01:05.850 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:51 +0000 (0:00:02.171) 0:01:08.021 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.938) 0:01:08.959 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.026) 0:01:08.985 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.024) 0:01:09.010 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.028) 0:01:09.038 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.045) 0:01:09.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.023) 0:01:09.108 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.026) 0:01:09.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:52 +0000 (0:00:00.027) 0:01:09.161 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.554) 0:01:09.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.086) 0:01:09.803 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.024) 0:01:09.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.022) 0:01:09.850 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.471) 0:01:10.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.044) 0:01:10.365 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.038) 0:01:10.404 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.025) 0:01:10.430 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:47:53 +0000 (0:00:00.023) 0:01:10.454 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.229) 0:01:10.683 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.067) 0:01:10.751 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.041) 0:01:10.792 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.065) 0:01:10.857 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.251) 0:01:11.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.057) 0:01:11.166 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021145", "end": "2023-12-21 16:47:54.738739", "rc": 1, "start": "2023-12-21 16:47:54.717594" } 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.246) 0:01:11.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.027) 0:01:11.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.034) 0:01:11.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.029) 0:01:11.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.026) 0:01:11.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.030) 0:01:11.561 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:47:54 +0000 (0:00:00.034) 0:01:11.595 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.059) 0:01:11.654 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.058) 0:01:11.713 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.251) 0:01:11.965 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.028) 0:01:11.993 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.027) 0:01:12.021 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.044) 0:01:12.065 ***** 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.040913", "end": "2023-12-21 16:47:55.663511", "rc": 1, "start": "2023-12-21 16:47:55.622598" } 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_type2jac9b5j/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.284) 0:01:12.349 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.047) 0:01:12.397 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.062) 0:01:12.459 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.087) 0:01:12.546 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.040) 0:01:12.587 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:47:55 +0000 (0:00:00.036) 0:01:12.623 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003532", "end": "2023-12-21 16:47:56.164294", "rc": 0, "start": "2023-12-21 16:47:56.160762" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.227) 0:01:12.851 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.076) 0:01:12.928 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.025) 0:01:12.953 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.051) 0:01:13.004 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.040) 0:01:13.045 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.044) 0:01:13.089 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.031) 0:01:13.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.024) 0:01:13.146 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:47:56 +0000 (0:00:00.024) 0:01:13.170 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:47:58 +0000 (0:00:02.140) 0:01:15.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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.949) 0:01:16.261 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.040) 0:01:16.301 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.043) 0:01:16.345 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.024) 0:01:16.369 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.055) 0:01:16.425 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.050) 0:01:16.476 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.083) 0:01:16.559 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:47:59 +0000 (0:00:00.050) 0:01:16.609 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:48:00 +0000 (0:00:00.592) 0:01:17.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:48:00 +0000 (0:00:00.039) 0:01:17.241 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:48:00 +0000 (0:00:00.039) 0:01:17.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:48:00 +0000 (0:00:00.054) 0:01:17.334 ***** 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, 2b19d48f-55b9-4c55-a8e8-ff2026417720 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.461) 0:01:17.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.024) 0:01:17.820 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b19d48f-55b9-4c55-a8e8-ff2026417720" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.048) 0:01:17.869 ***** 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, 2b19d48f-55b9-4c55-a8e8-ff2026417720\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b19d48f-55b9-4c55-a8e8-ff2026417720" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.030) 0:01:17.899 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.027) 0:01:17.926 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.246) 0:01:18.173 ***** 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, 2b19d48f-55b9-4c55-a8e8-ff2026417720\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2b19d48f-55b9-4c55-a8e8-ff2026417720" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.029) 0:01:18.202 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.073) 0:01:18.276 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.052) 0:01:18.328 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.050) 0:01:18.379 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.033) 0:01:18.412 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:48:01 +0000 (0:00:00.041) 0:01:18.453 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:48:04 +0000 (0:00:02.271) 0:01:20.725 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.918) 0:01:21.644 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.026) 0:01:21.671 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.023) 0:01:21.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.023) 0:01:21.718 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.047) 0:01:21.766 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.023) 0:01:21.789 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.024) 0:01:21.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.027) 0:01:21.842 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.551) 0:01:22.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.028) 0:01:22.422 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.024) 0:01:22.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:48:05 +0000 (0:00:00.033) 0:01:22.480 ***** 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, 2b19d48f-55b9-4c55-a8e8-ff2026417720 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.366) 0:01:22.847 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.023) 0:01:22.870 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2b19d48f-55b9-4c55-a8e8-ff2026417720 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.024) 0:01:22.895 ***** 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, 2b19d48f-55b9-4c55-a8e8-ff2026417720 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2b19d48f-55b9-4c55-a8e8-ff2026417720 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.023) 0:01:22.919 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.022) 0:01:22.941 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.204) 0:01:23.146 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.039) 0:01:23.185 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.080) 0:01:23.265 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.035) 0:01:23.301 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.023) 0:01:23.324 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:48:06 +0000 (0:00:00.022) 0:01:23.347 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:48:08 +0000 (0:00:02.163) 0:01:25.510 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.925) 0:01:26.436 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.022) 0:01:26.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.022) 0:01:26.482 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.022) 0:01:26.504 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.043) 0:01:26.548 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.023) 0:01:26.572 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.023) 0:01:26.595 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:48:09 +0000 (0:00:00.026) 0:01:26.622 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:48:10 +0000 (0:00:00.568) 0:01:27.190 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:48:10 +0000 (0:00:00.028) 0:01:27.219 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:48:10 +0000 (0:00:00.048) 0:01:27.268 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:48:10 +0000 (0:00:00.023) 0:01:27.291 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.458) 0:01:27.750 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.023) 0:01:27.773 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.032) 0:01:27.805 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.028) 0:01:27.834 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.029) 0:01:27.863 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.203) 0:01:28.066 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.043) 0:01:28.110 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.037) 0:01:28.148 ***** included: /WORKDIR/git-route_type2jac9b5j/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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.067) 0:01:28.216 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.028) 0:01:28.244 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.023) 0:01:28.268 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:48:11 +0000 (0:00:00.024) 0:01:28.293 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:48:13 +0000 (0:00:02.149) 0:01:30.442 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.938) 0:01:31.380 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.027) 0:01:31.408 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.024) 0:01:31.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.021) 0:01:31.454 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.047) 0:01:31.501 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.023) 0:01:31.525 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.023) 0:01:31.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:48:14 +0000 (0:00:00.026) 0:01:31.574 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:48:15 +0000 (0:00:00.557) 0:01:32.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:48:15 +0000 (0:00:00.027) 0:01:32.159 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:48:15 +0000 (0:00:00.025) 0:01:32.184 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:48:15 +0000 (0:00:00.052) 0:01:32.236 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:48:15 +0000 (0:00:00.394) 0:01:32.631 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.023) 0:01:32.654 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.024) 0:01:32.679 ***** 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_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.025) 0:01:32.704 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.023) 0:01:32.728 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.204) 0:01:32.932 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.045) 0:01:32.977 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.039) 0:01:33.017 ***** 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.023) 0:01:33.041 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.210) 0:01:33.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.046) 0:01:33.298 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021460", "end": "2023-12-21 16:48:16.854739", "rc": 1, "start": "2023-12-21 16:48:16.833279" } 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_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.232) 0:01:33.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.024) 0:01:33.554 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.022) 0:01:33.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.023) 0:01:33.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:48:16 +0000 (0:00:00.024) 0:01:33.625 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.023) 0:01:33.648 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.024) 0:01:33.673 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.356210", "end": "2023-12-21 16:48:17.564195", "rc": 0, "start": "2023-12-21 16:48:17.207985" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.566) 0:01:34.240 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.025) 0:01:34.265 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.029) 0:01:34.295 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.047) 0:01:34.342 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.071) 0:01:34.414 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:48:17 +0000 (0:00:00.214) 0:01:34.628 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:48:18 +0000 (0:00:00.025) 0:01:34.654 ***** 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_type2jac9b5j/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:48:18 +0000 (0:00:00.023) 0:01:34.677 ***** included: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2jac9b5j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:48:18 +0000 (0:00:00.043) 0:01:34.721 ***** 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.040977", "end": "2023-12-21 16:48:18.297532", "rc": 1, "start": "2023-12-21 16:48:18.256555" } 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=11 Thursday 21 December 2023 16:48:18 +0000 (0:00:00.239) 0:01:34.961 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.08s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.45s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.25s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.68s /WORKDIR/git-route_type2jac9b5j/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.51s /WORKDIR/git-route_type2jac9b5j/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. ---^---^---^---^---^---