# 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_type2pvrleyy/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 20:08:49 +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_type2pvrleyy/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 20:08:50 +0000 (0:00:00.602) 0:00:00.614 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:08:50 +0000 (0:00:00.021) 0:00:00.636 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:08:50 +0000 (0:00:00.335) 0:00:00.971 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.246) 0:00:01.218 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.019) 0:00:01.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.018) 0:00:01.256 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.031) 0:00:01.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.010) 0:00:01.298 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.009) 0:00:01.307 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.009) 0:00:01.317 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.009) 0:00:01.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.011) 0:00:01.338 ******* 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_type2pvrleyy/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.021) 0:00:01.359 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.475) 0:00:01.835 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.010) 0:00:01.845 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.015) 0:00:01.860 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.010) 0:00:01.871 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.031) 0:00:01.902 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.013) 0:00:01.916 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.012) 0:00:01.928 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003069", "end": "2024-01-09 20:08:51.924101", "rc": 0, "start": "2024-01-09 20:08:51.921032" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.227) 0:00:02.155 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.012) 0:00:02.168 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.010) 0:00:02.179 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:08:51 +0000 (0:00:00.022) 0:00:02.202 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007179", "end": "2024-01-09 20:08:52.155286", "rc": 1, "start": "2024-01-09 20:08:52.148107" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.183) 0:00:02.385 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.013) 0:00:02.399 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.177) 0:00:02.576 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.012) 0:00:02.588 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.017) 0:00:02.605 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.032) 0:00:02.638 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.068) 0:00:02.706 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.012) 0:00:02.718 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.009) 0:00:02.728 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:08:52 +0000 (0:00:00.011) 0:00:02.739 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:08:53 +0000 (0:00:01.427) 0:00:04.167 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:08:55 +0000 (0:00:01.073) 0:00:05.240 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.021) 0:00:05.262 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.021) 0:00:05.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.020) 0:00:05.303 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.043) 0:00:05.347 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.020) 0:00:05.367 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.029) 0:00:05.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.024) 0:00:05.422 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.492) 0:00:05.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.024) 0:00:05.939 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.019) 0:00:05.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:08:55 +0000 (0:00:00.020) 0:00:05.980 ******* 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, 690ac7c4-19a8-4faf-84df-ea7571623a97 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.520) 0:00:06.500 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.041) 0:00:06.542 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690ac7c4-19a8-4faf-84df-ea7571623a97" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.023) 0:00:06.566 ******* 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, 690ac7c4-19a8-4faf-84df-ea7571623a97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690ac7c4-19a8-4faf-84df-ea7571623a97" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.022) 0:00:06.589 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.022) 0:00:06.611 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.245) 0:00:06.857 ******* 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, 690ac7c4-19a8-4faf-84df-ea7571623a97\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 690ac7c4-19a8-4faf-84df-ea7571623a97" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.021) 0:00:06.878 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.041) 0:00:06.920 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.037) 0:00:06.957 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.021) 0:00:06.979 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.186) 0:00:07.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:08:56 +0000 (0:00:00.020) 0:00:07.186 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019718", "end": "2024-01-09 20:08:57.151812", "rc": 0, "start": "2024-01-09 20:08:57.132094" } 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.207) 0:00:07.393 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.026) 0:00:07.419 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.022) 0:00:07.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.046) 0:00:07.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.023) 0:00:07.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.023) 0:00:07.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_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.024) 0:00:07.560 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.024) 0:00:07.584 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.025) 0:00:07.610 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.044) 0:00:07.654 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.037) 0:00:07.692 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830936.2012873, "block_size": 4096, "blocks": 0, "ctime": 1704830936.2012873, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30833, "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": 1704830936.2012873, "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_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.190) 0:00:07.882 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.024) 0:00:07.906 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.021) 0:00:07.928 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:08:57 +0000 (0:00:00.039) 0:00:07.967 ******* 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.059932", "end": "2024-01-09 20:08:57.973699", "rc": 1, "start": "2024-01-09 20:08:57.913767" } STDOUT: Connection 'statebr' (690ac7c4-19a8-4faf-84df-ea7571623a97) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.248) 0:00:08.216 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.061) 0:00:08.277 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.023) 0:00:08.301 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.043) 0:00:08.345 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.036) 0:00:08.382 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.036) 0:00:08.418 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003114", "end": "2024-01-09 20:08:58.375203", "rc": 0, "start": "2024-01-09 20:08:58.372089" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.197) 0:00:08.616 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.022) 0:00:08.638 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.021) 0:00:08.660 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.039) 0:00:08.699 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005857", "end": "2024-01-09 20:08:58.652984", "rc": 1, "start": "2024-01-09 20:08:58.647127" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.196) 0:00:08.895 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.035) 0:00:08.931 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.215) 0:00:09.146 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:08:58 +0000 (0:00:00.025) 0:00:09.171 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:08:59 +0000 (0:00:00.042) 0:00:09.214 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:08:59 +0000 (0:00:00.040) 0:00:09.255 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:08:59 +0000 (0:00:00.051) 0:00:09.306 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:08:59 +0000 (0:00:00.027) 0:00:09.333 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:08:59 +0000 (0:00:00.024) 0:00:09.357 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:08:59 +0000 (0:00:00.020) 0:00:09.378 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:00 +0000 (0:00:01.357) 0:00:10.736 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.934) 0:00:11.670 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.022) 0:00:11.692 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.022) 0:00:11.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.021) 0:00:11.735 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.044) 0:00:11.779 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.022) 0:00:11.802 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.030) 0:00:11.833 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.025) 0:00:11.858 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:01 +0000 (0:00:00.351) 0:00:12.210 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.024) 0:00:12.235 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.019) 0:00:12.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.042) 0:00:12.297 ******* 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, 6a9a0e44-f197-4595-87f3-cb4b4e8f5931 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.354) 0:00:12.651 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.020) 0:00:12.672 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a9a0e44-f197-4595-87f3-cb4b4e8f5931" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.022) 0:00:12.695 ******* 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, 6a9a0e44-f197-4595-87f3-cb4b4e8f5931\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a9a0e44-f197-4595-87f3-cb4b4e8f5931" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.022) 0:00:12.718 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.022) 0:00:12.740 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.186) 0:00:12.926 ******* 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, 6a9a0e44-f197-4595-87f3-cb4b4e8f5931\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a9a0e44-f197-4595-87f3-cb4b4e8f5931" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.024) 0:00:12.950 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.044) 0:00:12.995 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:09:02 +0000 (0:00:00.038) 0:00:13.033 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.208) 0:00:13.242 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.024) 0:00:13.267 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.069) 0:00:13.336 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.026) 0:00:13.362 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.187) 0:00:13.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.023) 0:00:13.573 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018940", "end": "2024-01-09 20:09:03.546093", "rc": 0, "start": "2024-01-09 20:09:03.527153" } 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.216) 0:00:13.790 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.025) 0:00:13.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.021) 0:00:13.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.023) 0:00:13.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.026) 0:00:13.887 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.025) 0:00:13.912 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.024) 0:00:13.936 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.041) 0:00:13.978 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.027) 0:00:14.006 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.020) 0:00:14.026 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.023) 0:00:14.049 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:09:03 +0000 (0:00:00.040) 0:00:14.089 ******* 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.038143", "end": "2024-01-09 20:09:04.076329", "rc": 1, "start": "2024-01-09 20:09:04.038186" } STDOUT: Connection 'statebr' (6a9a0e44-f197-4595-87f3-cb4b4e8f5931) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.261) 0:00:14.351 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.043) 0:00:14.394 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.037) 0:00:14.431 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.043) 0:00:14.475 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.034) 0:00:14.510 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.037) 0:00:14.547 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003115", "end": "2024-01-09 20:09:04.507954", "rc": 0, "start": "2024-01-09 20:09:04.504839" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.201) 0:00:14.749 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.021) 0:00:14.771 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.021) 0:00:14.793 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.038) 0:00:14.831 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.038) 0:00:14.869 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.066) 0:00:14.936 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.026) 0:00:14.962 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.021) 0:00:14.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:04 +0000 (0:00:00.021) 0:00:15.005 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:06 +0000 (0:00:01.364) 0:00:16.370 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.948) 0:00:17.319 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.051) 0:00:17.371 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.022) 0:00:17.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.019) 0:00:17.413 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.042) 0:00:17.455 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.022) 0:00:17.478 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.021) 0:00:17.499 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.025) 0:00:17.525 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.348) 0:00:17.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.042) 0:00:17.916 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.029) 0:00:17.945 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:07 +0000 (0:00:00.036) 0:00:17.981 ******* 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, 0d14701e-4acb-4dfb-8acf-fe7e68a163de TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.398) 0:00:18.380 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.024) 0:00:18.404 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d14701e-4acb-4dfb-8acf-fe7e68a163de" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.025) 0:00:18.429 ******* 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, 0d14701e-4acb-4dfb-8acf-fe7e68a163de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d14701e-4acb-4dfb-8acf-fe7e68a163de" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.022) 0:00:18.452 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.043) 0:00:18.495 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.196) 0:00:18.692 ******* 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, 0d14701e-4acb-4dfb-8acf-fe7e68a163de\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d14701e-4acb-4dfb-8acf-fe7e68a163de" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.041) 0:00:18.733 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.044) 0:00:18.778 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.040) 0:00:18.819 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.039) 0:00:18.858 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.025) 0:00:18.883 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.020) 0:00:18.904 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:08 +0000 (0:00:00.020) 0:00:18.924 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:10 +0000 (0:00:01.377) 0:00:20.302 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:10 +0000 (0:00:00.899) 0:00:21.202 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.021) 0:00:21.224 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.020) 0:00:21.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.021) 0:00:21.265 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.042) 0:00:21.308 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.020) 0:00:21.329 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.020) 0:00:21.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.024) 0:00:21.373 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.346) 0:00:21.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.068) 0:00:21.789 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.021) 0:00:21.810 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.021) 0:00:21.832 ******* 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, 0d14701e-4acb-4dfb-8acf-fe7e68a163de skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.332) 0:00:22.165 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.022) 0:00:22.187 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d14701e-4acb-4dfb-8acf-fe7e68a163de skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:11 +0000 (0:00:00.024) 0:00:22.212 ******* 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, 0d14701e-4acb-4dfb-8acf-fe7e68a163de skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d14701e-4acb-4dfb-8acf-fe7e68a163de skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.021) 0:00:22.234 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.021) 0:00:22.256 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.193) 0:00:22.449 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.044) 0:00:22.494 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.036) 0:00:22.530 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830948.0763528, "block_size": 4096, "blocks": 0, "ctime": 1704830948.0763528, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30964, "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": 1704830948.0763528, "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_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.194) 0:00:22.724 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.023) 0:00:22.748 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.059) 0:00:22.808 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.021) 0:00:22.830 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.186) 0:00:23.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:09:12 +0000 (0:00:00.021) 0:00:23.038 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019410", "end": "2024-01-09 20:09:13.005188", "rc": 0, "start": "2024-01-09 20:09:12.985778" } 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.218) 0:00:23.256 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.025) 0:00:23.282 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.024) 0:00:23.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.023) 0:00:23.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.024) 0:00:23.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.023) 0:00:23.378 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.024) 0:00:23.402 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.023) 0:00:23.425 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.021) 0:00:23.447 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.019) 0:00:23.466 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.021) 0:00:23.488 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.066) 0:00:23.555 ******* 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.061924", "end": "2024-01-09 20:09:13.563506", "rc": 1, "start": "2024-01-09 20:09:13.501582" } STDOUT: Connection 'statebr' (0d14701e-4acb-4dfb-8acf-fe7e68a163de) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.250) 0:00:23.805 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.036) 0:00:23.842 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.023) 0:00:23.865 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.046) 0:00:23.911 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.035) 0:00:23.946 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.033) 0:00:23.979 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2024-01-09 20:09:13.931407", "rc": 0, "start": "2024-01-09 20:09:13.927929" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.194) 0:00:24.174 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:09:13 +0000 (0:00:00.031) 0:00:24.205 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:09:14 +0000 (0:00:00.029) 0:00:24.235 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:09:14 +0000 (0:00:00.044) 0:00:24.280 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:14 +0000 (0:00:00.085) 0:00:24.366 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:14 +0000 (0:00:00.041) 0:00:24.407 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:14 +0000 (0:00:00.026) 0:00:24.434 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:14 +0000 (0:00:00.020) 0:00:24.455 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:14 +0000 (0:00:00.021) 0:00:24.476 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:15 +0000 (0:00:01.349) 0:00:25.825 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.952) 0:00:26.778 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.022) 0:00:26.801 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.021) 0:00:26.823 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.020) 0:00:26.844 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.043) 0:00:26.887 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.022) 0:00:26.909 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.020) 0:00:26.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:16 +0000 (0:00:00.026) 0:00:26.956 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.347) 0:00:27.304 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.026) 0:00:27.330 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.020) 0:00:27.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.020) 0:00:27.372 ******* 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, 4a82a62b-e97a-432e-ac69-53542b18a7bf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.390) 0:00:27.762 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.031) 0:00:27.794 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a82a62b-e97a-432e-ac69-53542b18a7bf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.053) 0:00:27.847 ******* 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, 4a82a62b-e97a-432e-ac69-53542b18a7bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a82a62b-e97a-432e-ac69-53542b18a7bf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.024) 0:00:27.871 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.023) 0:00:27.895 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.232) 0:00:28.128 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a82a62b-e97a-432e-ac69-53542b18a7bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a82a62b-e97a-432e-ac69-53542b18a7bf" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.025) 0:00:28.153 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:17 +0000 (0:00:00.035) 0:00:28.189 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:18 +0000 (0:00:00.042) 0:00:28.232 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:18 +0000 (0:00:00.031) 0:00:28.264 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:18 +0000 (0:00:00.021) 0:00:28.285 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:18 +0000 (0:00:00.021) 0:00:28.307 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:19 +0000 (0:00:01.361) 0:00:29.668 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.904) 0:00:30.573 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.022) 0:00:30.595 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.020) 0:00:30.616 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.021) 0:00:30.637 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.043) 0:00:30.681 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.020) 0:00:30.701 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.022) 0:00:30.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.024) 0:00:30.749 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.375) 0:00:31.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.053) 0:00:31.178 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:20 +0000 (0:00:00.021) 0:00:31.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.028) 0:00:31.229 ******* 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, 4a82a62b-e97a-432e-ac69-53542b18a7bf skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.335) 0:00:31.565 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.021) 0:00:31.586 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a82a62b-e97a-432e-ac69-53542b18a7bf skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.021) 0:00:31.608 ******* 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, 4a82a62b-e97a-432e-ac69-53542b18a7bf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a82a62b-e97a-432e-ac69-53542b18a7bf skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.023) 0:00:31.631 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.021) 0:00:31.652 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.193) 0:00:31.845 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.038) 0:00:31.883 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.039) 0:00:31.923 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.039) 0:00:31.962 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.026) 0:00:31.988 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.045) 0:00:32.034 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:21 +0000 (0:00:00.021) 0:00:32.056 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:23 +0000 (0:00:01.359) 0:00:33.416 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.905) 0:00:34.322 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.022) 0:00:34.345 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.021) 0:00:34.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.042) 0:00:34.409 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.048) 0:00:34.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.022) 0:00:34.479 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.023) 0:00:34.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.031) 0:00:34.534 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.351) 0:00:34.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.027) 0:00:34.913 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.021) 0:00:34.935 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:24 +0000 (0:00:00.021) 0:00:34.957 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.367) 0:00:35.324 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.023) 0:00:35.348 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.022) 0:00:35.371 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.023) 0:00:35.394 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.022) 0:00:35.416 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.208) 0:00:35.624 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.042) 0:00:35.667 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.035) 0:00:35.702 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830957.4641926, "block_size": 4096, "blocks": 0, "ctime": 1704830957.4641926, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31095, "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": 1704830957.4641926, "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_type2pvrleyy/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.187) 0:00:35.889 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.023) 0:00:35.913 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.038) 0:00:35.951 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.022) 0:00:35.974 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.189) 0:00:36.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:09:25 +0000 (0:00:00.022) 0:00:36.186 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019516", "end": "2024-01-09 20:09:26.152496", "rc": 1, "start": "2024-01-09 20:09:26.132980" } 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.206) 0:00:36.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.025) 0:00:36.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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.023) 0:00:36.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.022) 0:00:36.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.051) 0:00:36.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.024) 0:00:36.539 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.029) 0:00:36.569 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.022) 0:00:36.592 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.028) 0:00:36.620 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.041) 0:00:36.661 ******* 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.060521", "end": "2024-01-09 20:09:26.675179", "rc": 1, "start": "2024-01-09 20:09:26.614658" } STDOUT: Connection 'statebr' (4a82a62b-e97a-432e-ac69-53542b18a7bf) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.285) 0:00:36.947 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.058) 0:00:37.005 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.027) 0:00:37.033 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.048) 0:00:37.081 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.041) 0:00:37.123 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:09:26 +0000 (0:00:00.045) 0:00:37.169 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003026", "end": "2024-01-09 20:09:27.118081", "rc": 0, "start": "2024-01-09 20:09:27.115055" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.214) 0:00:37.384 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.023) 0:00:37.407 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.021) 0:00:37.429 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.044) 0:00:37.473 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.036) 0:00:37.509 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.039) 0:00:37.549 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.026) 0:00:37.575 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.020) 0:00:37.596 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:27 +0000 (0:00:00.021) 0:00:37.617 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:28 +0000 (0:00:01.390) 0:00:39.007 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.900) 0:00:39.908 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.023) 0:00:39.932 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.021) 0:00:39.953 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.022) 0:00:39.976 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.048) 0:00:40.024 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.023) 0:00:40.048 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.023) 0:00:40.071 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:29 +0000 (0:00:00.028) 0:00:40.100 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.349) 0:00:40.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.024) 0:00:40.475 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.043) 0:00:40.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.020) 0:00:40.539 ******* 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, 16a3695e-07cf-47cb-82d3-f97cef06cf6a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.385) 0:00:40.925 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.022) 0:00:40.948 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16a3695e-07cf-47cb-82d3-f97cef06cf6a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.023) 0:00:40.971 ******* 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, 16a3695e-07cf-47cb-82d3-f97cef06cf6a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16a3695e-07cf-47cb-82d3-f97cef06cf6a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.024) 0:00:40.995 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.022) 0:00:41.017 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:09:30 +0000 (0:00:00.187) 0:00:41.205 ******* 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, 16a3695e-07cf-47cb-82d3-f97cef06cf6a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16a3695e-07cf-47cb-82d3-f97cef06cf6a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:09:31 +0000 (0:00:00.023) 0:00:41.229 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:31 +0000 (0:00:00.036) 0:00:41.265 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:31 +0000 (0:00:00.040) 0:00:41.306 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:31 +0000 (0:00:00.026) 0:00:41.332 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:31 +0000 (0:00:00.020) 0:00:41.353 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:31 +0000 (0:00:00.020) 0:00:41.373 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:32 +0000 (0:00:01.391) 0:00:42.764 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.930) 0:00:43.695 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.023) 0:00:43.718 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.022) 0:00:43.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.023) 0:00:43.764 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.043) 0:00:43.808 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.041) 0:00:43.849 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.022) 0:00:43.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:33 +0000 (0:00:00.027) 0:00:43.899 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.351) 0:00:44.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.025) 0:00:44.275 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.022) 0:00:44.298 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.022) 0:00:44.320 ******* 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, 16a3695e-07cf-47cb-82d3-f97cef06cf6a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.337) 0:00:44.657 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.042) 0:00:44.700 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16a3695e-07cf-47cb-82d3-f97cef06cf6a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.040) 0:00:44.740 ******* 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, 16a3695e-07cf-47cb-82d3-f97cef06cf6a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 16a3695e-07cf-47cb-82d3-f97cef06cf6a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.034) 0:00:44.775 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.022) 0:00:44.797 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.188) 0:00:44.985 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.067) 0:00:45.053 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.041) 0:00:45.095 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.027) 0:00:45.123 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.020) 0:00:45.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:34 +0000 (0:00:00.020) 0:00:45.164 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:36 +0000 (0:00:01.352) 0:00:46.516 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.925) 0:00:47.441 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.022) 0:00:47.464 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.021) 0:00:47.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.020) 0:00:47.505 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.043) 0:00:47.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.020) 0:00:47.569 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.022) 0:00:47.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.025) 0:00:47.617 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.347) 0:00:47.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.026) 0:00:47.991 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.020) 0:00:48.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:37 +0000 (0:00:00.020) 0:00:48.032 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.361) 0:00:48.394 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.020) 0:00:48.414 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.059) 0:00:48.473 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.027) 0:00:48.501 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.024) 0:00:48.526 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.186) 0:00:48.712 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.039) 0:00:48.752 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.039) 0:00:48.791 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.039) 0:00:48.831 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.026) 0:00:48.857 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.020) 0:00:48.878 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:38 +0000 (0:00:00.021) 0:00:48.899 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:40 +0000 (0:00:01.381) 0:00:50.281 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:40 +0000 (0:00:00.910) 0:00:51.192 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.022) 0:00:51.214 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.021) 0:00:51.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.021) 0:00:51.257 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.045) 0:00:51.302 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.022) 0:00:51.324 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.023) 0:00:51.348 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.027) 0:00:51.376 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.401) 0:00:51.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.029) 0:00:51.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.022) 0:00:51.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:41 +0000 (0:00:00.022) 0:00:51.851 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.413) 0:00:52.265 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.021) 0:00:52.286 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.022) 0:00:52.309 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.023) 0:00:52.332 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.020) 0:00:52.353 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.184) 0:00:52.538 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.039) 0:00:52.578 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.037) 0:00:52.615 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.022) 0:00:52.637 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.215) 0:00:52.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.022) 0:00:52.875 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018494", "end": "2024-01-09 20:09:42.840509", "rc": 1, "start": "2024-01-09 20:09:42.822015" } 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.206) 0:00:53.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.023) 0:00:53.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.022) 0:00:53.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.021) 0:00:53.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.022) 0:00:53.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:09:42 +0000 (0:00:00.021) 0:00:53.194 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.023) 0:00:53.218 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.044) 0:00:53.263 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.037) 0:00:53.300 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.191) 0:00:53.491 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.024) 0:00:53.516 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.021) 0:00:53.538 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.064) 0:00:53.602 ******* 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.035860", "end": "2024-01-09 20:09:43.587272", "rc": 1, "start": "2024-01-09 20:09:43.551412" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.227) 0:00:53.829 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.037) 0:00:53.867 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.021) 0:00:53.889 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.047) 0:00:53.936 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.037) 0:00:53.973 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.035) 0:00:54.009 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003070", "end": "2024-01-09 20:09:43.959006", "rc": 0, "start": "2024-01-09 20:09:43.955936" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:09:43 +0000 (0:00:00.192) 0:00:54.201 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.023) 0:00:54.225 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.022) 0:00:54.247 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.055) 0:00:54.302 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.064) 0:00:54.366 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.050) 0:00:54.417 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.033) 0:00:54.450 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.022) 0:00:54.473 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:44 +0000 (0:00:00.021) 0:00:54.495 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:45 +0000 (0:00:01.344) 0:00:55.840 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.921) 0:00:56.761 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.021) 0:00:56.783 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.020) 0:00:56.803 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.021) 0:00:56.825 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.045) 0:00:56.871 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.023) 0:00:56.894 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.021) 0:00:56.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:46 +0000 (0:00:00.027) 0:00:56.942 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.346) 0:00:57.289 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.026) 0:00:57.315 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.022) 0:00:57.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.022) 0:00:57.360 ******* 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, 70fa9adf-30d5-4175-b81e-c686c928a049 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.392) 0:00:57.753 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.021) 0:00:57.774 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70fa9adf-30d5-4175-b81e-c686c928a049" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.053) 0:00:57.828 ******* 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, 70fa9adf-30d5-4175-b81e-c686c928a049\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70fa9adf-30d5-4175-b81e-c686c928a049" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.030) 0:00:57.858 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.035) 0:00:57.894 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.198) 0:00:58.093 ******* 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, 70fa9adf-30d5-4175-b81e-c686c928a049\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70fa9adf-30d5-4175-b81e-c686c928a049" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.026) 0:00:58.119 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.043) 0:00:58.163 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:47 +0000 (0:00:00.050) 0:00:58.213 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:48 +0000 (0:00:00.029) 0:00:58.243 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:48 +0000 (0:00:00.032) 0:00:58.275 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:48 +0000 (0:00:00.033) 0:00:58.309 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:49 +0000 (0:00:01.374) 0:00:59.684 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.936) 0:01:00.620 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.077) 0:01:00.698 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.037) 0:01:00.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.040) 0:01:00.775 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.074) 0:01:00.850 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.030) 0:01:00.880 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.039) 0:01:00.920 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:50 +0000 (0:00:00.053) 0:01:00.974 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.382) 0:01:01.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.050) 0:01:01.407 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.079) 0:01:01.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.030) 0:01:01.517 ******* 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, 70fa9adf-30d5-4175-b81e-c686c928a049 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.404) 0:01:01.921 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.023) 0:01:01.945 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 70fa9adf-30d5-4175-b81e-c686c928a049 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.048) 0:01:01.993 ******* 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, 70fa9adf-30d5-4175-b81e-c686c928a049 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 70fa9adf-30d5-4175-b81e-c686c928a049 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.051) 0:01:02.044 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:51 +0000 (0:00:00.045) 0:01:02.090 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:09:52 +0000 (0:00:00.232) 0:01:02.323 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:52 +0000 (0:00:00.046) 0:01:02.369 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:52 +0000 (0:00:00.085) 0:01:02.455 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:52 +0000 (0:00:00.061) 0:01:02.517 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:52 +0000 (0:00:00.029) 0:01:02.546 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:52 +0000 (0:00:00.031) 0:01:02.577 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:53 +0000 (0:00:01.377) 0:01:03.954 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.917) 0:01:04.872 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.037) 0:01:04.909 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.042) 0:01:04.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.054) 0:01:05.006 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.050) 0:01:05.057 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.024) 0:01:05.082 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.022) 0:01:05.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:54 +0000 (0:00:00.025) 0:01:05.131 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.382) 0:01:05.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.026) 0:01:05.539 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.023) 0:01:05.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.023) 0:01:05.586 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.443) 0:01:06.030 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.022) 0:01:06.052 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.023) 0:01:06.076 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.023) 0:01:06.099 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:55 +0000 (0:00:00.024) 0:01:06.123 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:09:56 +0000 (0:00:00.185) 0:01:06.309 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:09:56 +0000 (0:00:00.038) 0:01:06.347 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:09:56 +0000 (0:00:00.036) 0:01:06.384 ******* included: /WORKDIR/git-route_type2pvrleyy/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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:09:56 +0000 (0:00:00.077) 0:01:06.461 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:09:56 +0000 (0:00:00.047) 0:01:06.509 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:09:56 +0000 (0:00:00.024) 0:01:06.533 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:09:56 +0000 (0:00:00.031) 0:01:06.564 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:09:57 +0000 (0:00:01.365) 0:01:07.930 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.915) 0:01:08.845 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.076) 0:01:08.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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.029) 0:01:08.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.025) 0:01:08.977 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.054) 0:01:09.032 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.021) 0:01:09.053 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.038) 0:01:09.092 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:09:58 +0000 (0:00:00.045) 0:01:09.137 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.357) 0:01:09.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.028) 0:01:09.524 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.022) 0:01:09.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.021) 0:01:09.567 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.349) 0:01:09.917 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.022) 0:01:09.939 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.023) 0:01:09.962 ******* 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_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.024) 0:01:09.986 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.023) 0:01:10.009 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:09:59 +0000 (0:00:00.203) 0:01:10.212 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.045) 0:01:10.258 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.038) 0:01:10.297 ******* 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.025) 0:01:10.322 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.196) 0:01:10.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.021) 0:01:10.539 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018278", "end": "2024-01-09 20:10:00.503869", "rc": 1, "start": "2024-01-09 20:10:00.485591" } 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_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.205) 0:01:10.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.023) 0:01:10.769 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.021) 0:01:10.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.024) 0:01:10.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.023) 0:01:10.839 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.022) 0:01:10.862 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:10:00 +0000 (0:00:00.024) 0:01:10.886 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.552445", "end": "2024-01-09 20:10:01.387623", "rc": 0, "start": "2024-01-09 20:10:00.835178" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.758) 0:01:11.645 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.034) 0:01:11.680 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.025) 0:01:11.705 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.046) 0:01:11.752 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.041) 0:01:11.793 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.206) 0:01:12.000 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.028) 0:01:12.029 ******* 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_type2pvrleyy/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.022) 0:01:12.051 ******* included: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2pvrleyy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:10:01 +0000 (0:00:00.046) 0:01:12.098 ******* 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.035937", "end": "2024-01-09 20:10:02.083478", "rc": 1, "start": "2024-01-09 20:10:02.047541" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 09 January 2024 20:10:02 +0000 (0:00:00.215) 0:01:12.313 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.09s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.89s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 1.46s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.41s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.35s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.35s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.34s /WORKDIR/git-route_type2pvrleyy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-route_type2pvrleyy/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. ---^---^---^---^---^---