# 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_typem1zri7q2/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 16:25:50 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typem1zri7q2/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 16:25:50 +0000 (0:00:00.618) 0:00:00.631 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:25:50 +0000 (0:00:00.023) 0:00:00.654 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.339) 0:00:00.994 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.350) 0:00:01.344 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.046) 0:00:01.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.022) 0:00:01.413 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.039) 0:00:01.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.026) 0:00:01.479 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.016) 0:00:01.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.010) 0:00:01.506 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.011) 0:00:01.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.009) 0:00:01.526 ******* 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_typem1zri7q2/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 16:25:51 +0000 (0:00:00.010) 0:00:01.537 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.520) 0:00:02.057 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.024) 0:00:02.082 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.047) 0:00:02.130 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.021) 0:00:02.151 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.051) 0:00:02.202 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.033) 0:00:02.236 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.029) 0:00:02.266 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003012", "end": "2024-01-09 16:25:52.517159", "rc": 0, "start": "2024-01-09 16:25:52.514147" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.232) 0:00:02.499 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.012) 0:00:02.511 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.010) 0:00:02.522 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.020) 0:00:02.542 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007113", "end": "2024-01-09 16:25:52.746662", "rc": 1, "start": "2024-01-09 16:25:52.739549" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.186) 0:00:02.728 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.016) 0:00:02.745 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.182) 0:00:02.927 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:25:52 +0000 (0:00:00.024) 0:00:02.952 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:25:53 +0000 (0:00:00.032) 0:00:02.985 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:25:53 +0000 (0:00:00.032) 0:00:03.017 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:25:53 +0000 (0:00:00.069) 0:00:03.087 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:25:53 +0000 (0:00:00.014) 0:00:03.101 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:25:53 +0000 (0:00:00.014) 0:00:03.116 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:25:53 +0000 (0:00:00.010) 0:00:03.126 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:25:54 +0000 (0:00:01.454) 0:00:04.581 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:25:55 +0000 (0:00:01.065) 0:00:05.647 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:25:55 +0000 (0:00:00.023) 0:00:05.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:25:55 +0000 (0:00:00.022) 0:00:05.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:25:55 +0000 (0:00:00.021) 0:00:05.715 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:25:55 +0000 (0:00:00.044) 0:00:05.760 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:25:55 +0000 (0:00:00.021) 0:00:05.781 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:25:55 +0000 (0:00:00.020) 0:00:05.802 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:25:55 +0000 (0:00:00.024) 0:00:05.827 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:25:56 +0000 (0:00:00.473) 0:00:06.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:25:56 +0000 (0:00:00.026) 0:00:06.326 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:25:56 +0000 (0:00:00.020) 0:00:06.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:25:56 +0000 (0:00:00.019) 0:00:06.366 ******* 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, 335304af-1a17-420f-adc2-492730b0a02d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:25:56 +0000 (0:00:00.509) 0:00:06.876 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:25:56 +0000 (0:00:00.044) 0:00:06.920 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 335304af-1a17-420f-adc2-492730b0a02d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:25:56 +0000 (0:00:00.023) 0:00:06.944 ******* 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, 335304af-1a17-420f-adc2-492730b0a02d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 335304af-1a17-420f-adc2-492730b0a02d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.029) 0:00:06.973 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.021) 0:00:06.995 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.253) 0:00:07.249 ******* 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, 335304af-1a17-420f-adc2-492730b0a02d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 335304af-1a17-420f-adc2-492730b0a02d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.027) 0:00:07.276 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.048) 0:00:07.324 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.068) 0:00:07.393 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.026) 0:00:07.419 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.224) 0:00:07.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.036) 0:00:07.680 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022022", "end": "2024-01-09 16:25:57.904963", "rc": 0, "start": "2024-01-09 16:25:57.882941" } 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.237) 0:00:07.918 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:25:57 +0000 (0:00:00.037) 0:00:07.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.050) 0:00:08.006 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.055) 0:00:08.061 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.024) 0:00:08.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.032) 0:00:08.117 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.032) 0:00:08.150 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.075) 0:00:08.226 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.043) 0:00:08.269 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.055) 0:00:08.324 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.041) 0:00:08.366 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817556.8200643, "block_size": 4096, "blocks": 0, "ctime": 1704817556.8200643, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31309, "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": 1704817556.8200643, "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_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.226) 0:00:08.592 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.031) 0:00:08.623 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.031) 0:00:08.655 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:25:58 +0000 (0:00:00.050) 0:00:08.706 ******* 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.061292", "end": "2024-01-09 16:25:58.969154", "rc": 1, "start": "2024-01-09 16:25:58.907862" } STDOUT: Connection 'statebr' (335304af-1a17-420f-adc2-492730b0a02d) 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_typem1zri7q2/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.259) 0:00:08.965 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.069) 0:00:09.034 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.021) 0:00:09.056 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.043) 0:00:09.100 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.038) 0:00:09.138 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.035) 0:00:09.173 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002968", "end": "2024-01-09 16:25:59.391043", "rc": 0, "start": "2024-01-09 16:25:59.388075" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.210) 0:00:09.383 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.022) 0:00:09.406 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.022) 0:00:09.428 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.041) 0:00:09.470 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005775", "end": "2024-01-09 16:25:59.679072", "rc": 1, "start": "2024-01-09 16:25:59.673297" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.202) 0:00:09.672 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.038) 0:00:09.710 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.192) 0:00:09.903 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:25:59 +0000 (0:00:00.027) 0:00:09.930 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 16:26:00 +0000 (0:00:00.039) 0:00:09.970 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:00 +0000 (0:00:00.041) 0:00:10.012 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:00 +0000 (0:00:00.040) 0:00:10.052 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:00 +0000 (0:00:00.026) 0:00:10.078 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:00 +0000 (0:00:00.020) 0:00:10.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:00 +0000 (0:00:00.022) 0:00:10.121 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:01 +0000 (0:00:01.430) 0:00:11.552 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.920) 0:00:12.473 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.022) 0:00:12.495 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.021) 0:00:12.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.022) 0:00:12.538 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.046) 0:00:12.584 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.022) 0:00:12.607 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.020) 0:00:12.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:02 +0000 (0:00:00.025) 0:00:12.653 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.358) 0:00:13.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.056) 0:00:13.068 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.022) 0:00:13.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.023) 0:00:13.114 ******* 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, 64108bea-c99a-4e84-bd02-431840df8b55 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.361) 0:00:13.476 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.022) 0:00:13.498 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64108bea-c99a-4e84-bd02-431840df8b55" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.025) 0:00:13.523 ******* 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, 64108bea-c99a-4e84-bd02-431840df8b55\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64108bea-c99a-4e84-bd02-431840df8b55" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.026) 0:00:13.550 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.021) 0:00:13.571 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.191) 0:00:13.763 ******* 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, 64108bea-c99a-4e84-bd02-431840df8b55\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 64108bea-c99a-4e84-bd02-431840df8b55" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.023) 0:00:13.786 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.043) 0:00:13.830 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:26:03 +0000 (0:00:00.045) 0:00:13.875 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.236) 0:00:14.111 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.060) 0:00:14.172 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.040) 0:00:14.212 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.025) 0:00:14.237 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.221) 0:00:14.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.023) 0:00:14.482 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020495", "end": "2024-01-09 16:26:04.720705", "rc": 0, "start": "2024-01-09 16:26:04.700210" } 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.233) 0:00:14.715 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.025) 0:00:14.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.021) 0:00:14.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.025) 0:00:14.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.023) 0:00:14.811 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.023) 0:00:14.835 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.024) 0:00:14.860 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.024) 0:00:14.884 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.025) 0:00:14.909 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:26:04 +0000 (0:00:00.034) 0:00:14.944 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.115) 0:00:15.059 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.053) 0:00:15.112 ******* 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.041618", "end": "2024-01-09 16:26:05.424426", "rc": 1, "start": "2024-01-09 16:26:05.382808" } STDOUT: Connection 'statebr' (64108bea-c99a-4e84-bd02-431840df8b55) 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_typem1zri7q2/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.312) 0:00:15.424 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.038) 0:00:15.463 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.023) 0:00:15.487 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.046) 0:00:15.533 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.034) 0:00:15.567 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.032) 0:00:15.600 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003138", "end": "2024-01-09 16:26:05.799983", "rc": 0, "start": "2024-01-09 16:26:05.796845" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.192) 0:00:15.793 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.025) 0:00:15.818 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.023) 0:00:15.842 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:26:05 +0000 (0:00:00.083) 0:00:15.925 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:06 +0000 (0:00:00.065) 0:00:15.991 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:06 +0000 (0:00:00.072) 0:00:16.064 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:06 +0000 (0:00:00.040) 0:00:16.105 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:06 +0000 (0:00:00.032) 0:00:16.137 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:06 +0000 (0:00:00.032) 0:00:16.170 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:07 +0000 (0:00:01.384) 0:00:17.555 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.942) 0:00:18.497 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.042) 0:00:18.540 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.023) 0:00:18.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.022) 0:00:18.586 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.044) 0:00:18.631 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.022) 0:00:18.653 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.021) 0:00:18.674 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:08 +0000 (0:00:00.025) 0:00:18.700 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.360) 0:00:19.060 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.034) 0:00:19.094 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.022) 0:00:19.117 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.021) 0:00:19.139 ******* 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, 380737a7-bed4-4cbe-b764-46e4c9cccc7d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.464) 0:00:19.603 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.022) 0:00:19.625 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 380737a7-bed4-4cbe-b764-46e4c9cccc7d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.025) 0:00:19.651 ******* 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, 380737a7-bed4-4cbe-b764-46e4c9cccc7d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 380737a7-bed4-4cbe-b764-46e4c9cccc7d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.027) 0:00:19.679 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.023) 0:00:19.702 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.191) 0:00:19.893 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 380737a7-bed4-4cbe-b764-46e4c9cccc7d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 380737a7-bed4-4cbe-b764-46e4c9cccc7d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.023) 0:00:19.917 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:26:09 +0000 (0:00:00.038) 0:00:19.956 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:10 +0000 (0:00:00.040) 0:00:19.997 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:10 +0000 (0:00:00.039) 0:00:20.036 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:10 +0000 (0:00:00.026) 0:00:20.063 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:10 +0000 (0:00:00.021) 0:00:20.084 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:10 +0000 (0:00:00.020) 0:00:20.105 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:11 +0000 (0:00:01.394) 0:00:21.500 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.911) 0:00:22.411 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.023) 0:00:22.435 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.023) 0:00:22.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.022) 0:00:22.480 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.082) 0:00:22.563 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.023) 0:00:22.587 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.060) 0:00:22.647 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:12 +0000 (0:00:00.035) 0:00:22.683 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.366) 0:00:23.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.029) 0:00:23.079 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.028) 0:00:23.108 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.031) 0:00:23.139 ******* 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, 380737a7-bed4-4cbe-b764-46e4c9cccc7d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.359) 0:00:23.499 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.029) 0:00:23.528 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 380737a7-bed4-4cbe-b764-46e4c9cccc7d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.023) 0:00:23.552 ******* 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, 380737a7-bed4-4cbe-b764-46e4c9cccc7d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 380737a7-bed4-4cbe-b764-46e4c9cccc7d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.025) 0:00:23.577 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.032) 0:00:23.610 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.190) 0:00:23.801 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.043) 0:00:23.844 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:26:13 +0000 (0:00:00.065) 0:00:23.910 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817569.522882, "block_size": 4096, "blocks": 0, "ctime": 1704817569.522882, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31440, "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": 1704817569.522882, "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_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.193) 0:00:24.104 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.025) 0:00:24.129 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.038) 0:00:24.168 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.033) 0:00:24.202 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.210) 0:00:24.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.023) 0:00:24.436 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022116", "end": "2024-01-09 16:26:14.661088", "rc": 0, "start": "2024-01-09 16:26:14.638972" } 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.222) 0:00:24.658 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.026) 0:00:24.685 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.029) 0:00:24.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.021) 0:00:24.736 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.026) 0:00:24.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.025) 0:00:24.787 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.024) 0:00:24.812 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.058) 0:00:24.870 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.023) 0:00:24.894 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.024) 0:00:24.918 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:26:14 +0000 (0:00:00.023) 0:00:24.942 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.042) 0:00:24.985 ******* 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.065540", "end": "2024-01-09 16:26:15.251111", "rc": 1, "start": "2024-01-09 16:26:15.185571" } STDOUT: Connection 'statebr' (380737a7-bed4-4cbe-b764-46e4c9cccc7d) 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_typem1zri7q2/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.285) 0:00:25.270 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.051) 0:00:25.322 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.032) 0:00:25.354 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.050) 0:00:25.405 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.043) 0:00:25.448 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.037) 0:00:25.486 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003183", "end": "2024-01-09 16:26:15.688672", "rc": 0, "start": "2024-01-09 16:26:15.685489" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.196) 0:00:25.682 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.060) 0:00:25.743 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.030) 0:00:25.773 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.067) 0:00:25.840 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.038) 0:00:25.879 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.041) 0:00:25.920 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:15 +0000 (0:00:00.028) 0:00:25.949 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:16 +0000 (0:00:00.023) 0:00:25.972 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:16 +0000 (0:00:00.022) 0:00:25.995 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:17 +0000 (0:00:01.399) 0:00:27.395 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.905) 0:00:28.301 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.023) 0:00:28.324 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.021) 0:00:28.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.021) 0:00:28.366 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.043) 0:00:28.410 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.021) 0:00:28.431 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.022) 0:00:28.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.024) 0:00:28.478 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.351) 0:00:28.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.024) 0:00:28.855 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.044) 0:00:28.899 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:18 +0000 (0:00:00.022) 0:00:28.921 ******* 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, def95526-870d-41a0-a688-ae30773236e0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.393) 0:00:29.315 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.023) 0:00:29.339 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, def95526-870d-41a0-a688-ae30773236e0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.023) 0:00:29.362 ******* 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, def95526-870d-41a0-a688-ae30773236e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, def95526-870d-41a0-a688-ae30773236e0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.027) 0:00:29.390 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.022) 0:00:29.412 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.197) 0:00:29.610 ******* 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, def95526-870d-41a0-a688-ae30773236e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, def95526-870d-41a0-a688-ae30773236e0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.023) 0:00:29.633 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.037) 0:00:29.670 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.041) 0:00:29.712 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.026) 0:00:29.738 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.020) 0:00:29.759 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:19 +0000 (0:00:00.020) 0:00:29.779 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:21 +0000 (0:00:01.398) 0:00:31.178 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.901) 0:00:32.079 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.032) 0:00:32.112 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.024) 0:00:32.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.022) 0:00:32.159 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.106) 0:00:32.265 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.023) 0:00:32.288 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.028) 0:00:32.317 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.026) 0:00:32.343 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.350) 0:00:32.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.031) 0:00:32.724 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.025) 0:00:32.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:22 +0000 (0:00:00.023) 0:00:32.773 ******* 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, def95526-870d-41a0-a688-ae30773236e0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.405) 0:00:33.179 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.025) 0:00:33.204 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, def95526-870d-41a0-a688-ae30773236e0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.030) 0:00:33.235 ******* 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, def95526-870d-41a0-a688-ae30773236e0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, def95526-870d-41a0-a688-ae30773236e0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.033) 0:00:33.268 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.023) 0:00:33.291 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.191) 0:00:33.482 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.084) 0:00:33.566 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.041) 0:00:33.608 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.038) 0:00:33.646 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.026) 0:00:33.673 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.021) 0:00:33.695 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:23 +0000 (0:00:00.021) 0:00:33.716 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:25 +0000 (0:00:01.368) 0:00:35.085 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.941) 0:00:36.026 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.025) 0:00:36.052 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.023) 0:00:36.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.023) 0:00:36.098 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.049) 0:00:36.148 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.024) 0:00:36.172 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.023) 0:00:36.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.024) 0:00:36.221 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.351) 0:00:36.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.025) 0:00:36.598 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.022) 0:00:36.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:26 +0000 (0:00:00.021) 0:00:36.642 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.412) 0:00:37.055 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.021) 0:00:37.077 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.023) 0:00:37.100 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.028) 0:00:37.128 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.024) 0:00:37.152 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.193) 0:00:37.346 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.065) 0:00:37.412 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.045) 0:00:37.457 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704817579.27212, "block_size": 4096, "blocks": 0, "ctime": 1704817579.27212, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31571, "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": 1704817579.27212, "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_typem1zri7q2/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.191) 0:00:37.648 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.024) 0:00:37.673 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.035) 0:00:37.709 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.021) 0:00:37.731 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:26:27 +0000 (0:00:00.219) 0:00:37.950 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.023) 0:00:37.974 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021259", "end": "2024-01-09 16:26:28.195850", "rc": 1, "start": "2024-01-09 16:26:28.174591" } 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.222) 0:00:38.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.025) 0:00:38.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.033) 0:00:38.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.024) 0:00:38.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.025) 0:00:38.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.022) 0:00:38.328 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.025) 0:00:38.353 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.020) 0:00:38.374 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.021) 0:00:38.395 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.042) 0:00:38.438 ******* 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.062653", "end": "2024-01-09 16:26:28.700958", "rc": 1, "start": "2024-01-09 16:26:28.638305" } STDOUT: Connection 'statebr' (def95526-870d-41a0-a688-ae30773236e0) 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_typem1zri7q2/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.257) 0:00:38.695 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.039) 0:00:38.735 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.076) 0:00:38.811 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.047) 0:00:38.859 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.038) 0:00:38.897 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:26:28 +0000 (0:00:00.037) 0:00:38.934 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003025", "end": "2024-01-09 16:26:29.137008", "rc": 0, "start": "2024-01-09 16:26:29.133983" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.196) 0:00:39.131 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.026) 0:00:39.158 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.037) 0:00:39.196 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.062) 0:00:39.259 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.037) 0:00:39.296 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.040) 0:00:39.337 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.027) 0:00:39.365 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.021) 0:00:39.386 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:29 +0000 (0:00:00.050) 0:00:39.436 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:30 +0000 (0:00:01.372) 0:00:40.808 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:31 +0000 (0:00:00.913) 0:00:41.721 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:31 +0000 (0:00:00.029) 0:00:41.751 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:31 +0000 (0:00:00.050) 0:00:41.802 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:31 +0000 (0:00:00.024) 0:00:41.826 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:31 +0000 (0:00:00.099) 0:00:41.925 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:31 +0000 (0:00:00.023) 0:00:41.949 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.022) 0:00:41.972 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.028) 0:00:42.000 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.362) 0:00:42.362 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.060) 0:00:42.423 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.028) 0:00:42.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.022) 0:00:42.474 ******* 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, 481dbec1-23f5-4534-9029-c571eecbed99 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.398) 0:00:42.872 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.037) 0:00:42.910 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 481dbec1-23f5-4534-9029-c571eecbed99" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.024) 0:00:42.934 ******* 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, 481dbec1-23f5-4534-9029-c571eecbed99\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 481dbec1-23f5-4534-9029-c571eecbed99" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:32 +0000 (0:00:00.023) 0:00:42.957 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.022) 0:00:42.980 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.194) 0:00:43.175 ******* 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, 481dbec1-23f5-4534-9029-c571eecbed99\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 481dbec1-23f5-4534-9029-c571eecbed99" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.056) 0:00:43.232 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.037) 0:00:43.270 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.042) 0:00:43.312 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.028) 0:00:43.340 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.023) 0:00:43.364 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:33 +0000 (0:00:00.023) 0:00:43.387 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:34 +0000 (0:00:01.373) 0:00:44.760 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.947) 0:00:45.708 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.024) 0:00:45.732 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.023) 0:00:45.755 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.025) 0:00:45.781 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.046) 0:00:45.828 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.023) 0:00:45.851 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.024) 0:00:45.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:35 +0000 (0:00:00.025) 0:00:45.901 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.370) 0:00:46.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.035) 0:00:46.308 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.025) 0:00:46.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.023) 0:00:46.356 ******* 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, 481dbec1-23f5-4534-9029-c571eecbed99 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.420) 0:00:46.777 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.024) 0:00:46.802 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 481dbec1-23f5-4534-9029-c571eecbed99 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.026) 0:00:46.829 ******* 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, 481dbec1-23f5-4534-9029-c571eecbed99 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 481dbec1-23f5-4534-9029-c571eecbed99 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.027) 0:00:46.857 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:36 +0000 (0:00:00.039) 0:00:46.896 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:26:37 +0000 (0:00:00.190) 0:00:47.087 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:37 +0000 (0:00:00.056) 0:00:47.143 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:37 +0000 (0:00:00.048) 0:00:47.191 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:37 +0000 (0:00:00.028) 0:00:47.220 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:37 +0000 (0:00:00.022) 0:00:47.243 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:37 +0000 (0:00:00.023) 0:00:47.266 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:38 +0000 (0:00:01.366) 0:00:48.632 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.906) 0:00:49.539 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.024) 0:00:49.564 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.022) 0:00:49.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.024) 0:00:49.611 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.047) 0:00:49.659 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.023) 0:00:49.682 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.024) 0:00:49.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:39 +0000 (0:00:00.026) 0:00:49.733 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.380) 0:00:50.114 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.030) 0:00:50.144 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.023) 0:00:50.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.022) 0:00:50.190 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.383) 0:00:50.574 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.023) 0:00:50.597 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.023) 0:00:50.621 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.024) 0:00:50.645 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.020) 0:00:50.666 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.188) 0:00:50.855 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.042) 0:00:50.898 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:40 +0000 (0:00:00.042) 0:00:50.940 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:41 +0000 (0:00:00.086) 0:00:51.026 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:41 +0000 (0:00:00.051) 0:00:51.077 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:41 +0000 (0:00:00.025) 0:00:51.103 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:41 +0000 (0:00:00.042) 0:00:51.146 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:42 +0000 (0:00:01.424) 0:00:52.570 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.938) 0:00:53.508 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.023) 0:00:53.531 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.056) 0:00:53.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.024) 0:00:53.613 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.048) 0:00:53.661 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.035) 0:00:53.696 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.040) 0:00:53.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:43 +0000 (0:00:00.048) 0:00:53.785 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.376) 0:00:54.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.027) 0:00:54.189 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.022) 0:00:54.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.022) 0:00:54.234 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.423) 0:00:54.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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.021) 0:00:54.679 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.022) 0:00:54.701 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.022) 0:00:54.724 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.020) 0:00:54.745 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:26:44 +0000 (0:00:00.216) 0:00:54.962 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.040) 0:00:55.002 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.037) 0:00:55.040 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.022) 0:00:55.062 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.190) 0:00:55.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.022) 0:00:55.275 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020231", "end": "2024-01-09 16:26:45.494071", "rc": 1, "start": "2024-01-09 16:26:45.473840" } 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.212) 0:00:55.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.023) 0:00:55.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.029) 0:00:55.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.033) 0:00:55.574 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.022) 0:00:55.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.023) 0:00:55.621 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.024) 0:00:55.646 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.073) 0:00:55.719 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.037) 0:00:55.757 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:26:45 +0000 (0:00:00.195) 0:00:55.952 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.025) 0:00:55.978 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.021) 0:00:56.000 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.041) 0:00:56.042 ******* 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.039650", "end": "2024-01-09 16:26:46.280088", "rc": 1, "start": "2024-01-09 16:26:46.240438" } 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_typem1zri7q2/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.231) 0:00:56.273 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.039) 0:00:56.313 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.024) 0:00:56.338 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.047) 0:00:56.385 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.036) 0:00:56.422 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.067) 0:00:56.489 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003179", "end": "2024-01-09 16:26:46.705620", "rc": 0, "start": "2024-01-09 16:26:46.702441" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.221) 0:00:56.711 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.057) 0:00:56.768 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.035) 0:00:56.804 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.048) 0:00:56.852 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.038) 0:00:56.891 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.041) 0:00:56.933 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:46 +0000 (0:00:00.026) 0:00:56.960 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:47 +0000 (0:00:00.021) 0:00:56.981 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:47 +0000 (0:00:00.023) 0:00:57.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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:48 +0000 (0:00:01.390) 0:00:58.395 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.910) 0:00:59.305 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.024) 0:00:59.330 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.022) 0:00:59.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.022) 0:00:59.375 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.045) 0:00:59.421 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.034) 0:00:59.455 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.027) 0:00:59.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.030) 0:00:59.513 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.376) 0:00:59.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.025) 0:00:59.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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.021) 0:00:59.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:49 +0000 (0:00:00.021) 0:00:59.959 ******* 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, b5231284-20ec-4cb1-b0f1-a945a16a02ee TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.394) 0:01:00.353 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.023) 0:01:00.377 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5231284-20ec-4cb1-b0f1-a945a16a02ee" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.025) 0:01:00.402 ******* 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, b5231284-20ec-4cb1-b0f1-a945a16a02ee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5231284-20ec-4cb1-b0f1-a945a16a02ee" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.026) 0:01:00.429 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.022) 0:01:00.452 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.195) 0:01:00.648 ******* 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, b5231284-20ec-4cb1-b0f1-a945a16a02ee\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5231284-20ec-4cb1-b0f1-a945a16a02ee" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.026) 0:01:00.674 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.039) 0:01:00.713 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.042) 0:01:00.756 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.040) 0:01:00.796 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.059) 0:01:00.856 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:50 +0000 (0:00:00.023) 0:01:00.879 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:52 +0000 (0:00:01.397) 0:01:02.276 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.924) 0:01:03.201 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.028) 0:01:03.229 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.026) 0:01:03.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.060) 0:01:03.317 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.046) 0:01:03.363 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.021) 0:01:03.385 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.021) 0:01:03.407 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.025) 0:01:03.432 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.353) 0:01:03.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.026) 0:01:03.813 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.023) 0:01:03.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:53 +0000 (0:00:00.024) 0:01:03.861 ******* 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, b5231284-20ec-4cb1-b0f1-a945a16a02ee skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.341) 0:01:04.202 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.026) 0:01:04.229 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5231284-20ec-4cb1-b0f1-a945a16a02ee skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.033) 0:01:04.262 ******* 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, b5231284-20ec-4cb1-b0f1-a945a16a02ee skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5231284-20ec-4cb1-b0f1-a945a16a02ee skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.025) 0:01:04.287 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.022) 0:01:04.310 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.229) 0:01:04.540 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.038) 0:01:04.578 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.050) 0:01:04.629 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.039) 0:01:04.669 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.023) 0:01:04.692 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:54 +0000 (0:00:00.025) 0:01:04.718 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:26:56 +0000 (0:00:01.385) 0:01:06.103 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.956) 0:01:07.060 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.024) 0:01:07.085 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.021) 0:01:07.107 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.023) 0:01:07.130 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.044) 0:01:07.174 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.021) 0:01:07.196 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.022) 0:01:07.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.025) 0:01:07.244 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.369) 0:01:07.614 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.038) 0:01:07.652 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.040) 0:01:07.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:26:57 +0000 (0:00:00.027) 0:01:07.720 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.475) 0:01:08.196 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.034) 0:01:08.230 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.073) 0:01:08.303 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.044) 0:01:08.348 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.027) 0:01:08.375 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.210) 0:01:08.586 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.043) 0:01:08.629 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.037) 0:01:08.667 ******* included: /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.040) 0:01:08.707 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.026) 0:01:08.734 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.021) 0:01:08.755 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:26:58 +0000 (0:00:00.021) 0:01:08.776 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:27:00 +0000 (0:00:01.381) 0:01:10.158 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.926) 0:01:11.084 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.025) 0:01:11.110 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.034) 0:01:11.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.026) 0:01:11.171 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.051) 0:01:11.223 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.025) 0:01:11.248 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.024) 0:01:11.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.027) 0:01:11.300 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.389) 0:01:11.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.028) 0:01:11.718 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.021) 0:01:11.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:27:01 +0000 (0:00:00.021) 0:01:11.761 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.381) 0:01:12.142 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.031) 0:01:12.173 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.024) 0:01:12.197 ******* 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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.022) 0:01:12.220 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.021) 0:01:12.241 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.190) 0:01:12.431 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.045) 0:01:12.477 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.045) 0:01:12.523 ******* 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.035) 0:01:12.558 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.224) 0:01:12.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:27:02 +0000 (0:00:00.022) 0:01:12.805 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020528", "end": "2024-01-09 16:27:03.029163", "rc": 1, "start": "2024-01-09 16:27:03.008635" } 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_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.217) 0:01:13.023 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.023) 0:01:13.046 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.026) 0:01:13.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.024) 0:01:13.098 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.024) 0:01:13.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.032) 0:01:13.155 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.031) 0:01:13.186 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.561116", "end": "2024-01-09 16:27:03.950010", "rc": 0, "start": "2024-01-09 16:27:03.388894" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 16:27:03 +0000 (0:00:00.757) 0:01:13.944 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.023) 0:01:13.968 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.023) 0:01:13.991 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.077) 0:01:14.068 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.037) 0:01:14.106 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.195) 0:01:14.302 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.026) 0:01:14.328 ******* 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_typem1zri7q2/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.026) 0:01:14.355 ******* included: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typem1zri7q2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:27:04 +0000 (0:00:00.047) 0:01:14.402 ******* 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.039514", "end": "2024-01-09 16:27:04.640515", "rc": 1, "start": "2024-01-09 16:27:04.601001" } 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 16:27:04 +0000 (0:00:00.218) 0:01:14.620 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.16s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.92s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.53s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.44s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/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_typem1zri7q2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.28s /WORKDIR/git-route_typem1zri7q2/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. ---^---^---^---^---^---