# 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-nm_plugin_hotfixqf71srne/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_states_nm.yml:6 Monday 19 February 2024 23:46:01 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_states_nm.yml:9 Monday 19 February 2024 23:46:02 +0000 (0:00:01.124) 0:00:01.136 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 23:46:02 +0000 (0:00:00.032) 0:00:01.168 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 23:46:02 +0000 (0:00:00.605) 0:00:01.773 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 23:46:03 +0000 (0:00:00.295) 0:00:02.069 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 23:46:03 +0000 (0:00:00.020) 0:00:02.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 23:46:03 +0000 (0:00:00.023) 0:00:02.113 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 23:46:03 +0000 (0:00:00.034) 0:00:02.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 23:46:03 +0000 (0:00:00.014) 0:00:02.162 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 23:46:03 +0000 (0:00:00.011) 0:00:02.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 23:46:03 +0000 (0:00:00.023) 0:00:02.197 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 23:46:03 +0000 (0:00:00.022) 0:00:02.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/tests_states_nm.yml:11 Monday 19 February 2024 23:46:03 +0000 (0:00:00.010) 0:00:02.230 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 23:46:03 +0000 (0:00:00.010) 0:00:02.240 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 23:46:04 +0000 (0:00:00.877) 0:00:03.118 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 23:46:04 +0000 (0:00:00.016) 0:00:03.134 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:46:04 +0000 (0:00:00.017) 0:00:03.151 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:46:04 +0000 (0:00:00.028) 0:00:03.179 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:46:04 +0000 (0:00:00.040) 0:00:03.220 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:46:04 +0000 (0:00:00.032) 0:00:03.253 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:46:04 +0000 (0:00:00.022) 0:00:03.276 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004075", "end": "2024-02-19 23:46:04.756977", "rc": 0, "start": "2024-02-19 23:46:04.752902" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:46:04 +0000 (0:00:00.286) 0:00:03.562 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:46:04 +0000 (0:00:00.014) 0:00:03.577 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:46:04 +0000 (0:00:00.012) 0:00:03.590 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:46:04 +0000 (0:00:00.024) 0:00:03.615 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008948", "end": "2024-02-19 23:46:05.045095", "rc": 1, "start": "2024-02-19 23:46:05.036147" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:46:05 +0000 (0:00:00.235) 0:00:03.850 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:46:05 +0000 (0:00:00.032) 0:00:03.883 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:46:05 +0000 (0:00:00.221) 0:00:04.104 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:46:05 +0000 (0:00:00.017) 0:00:04.122 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:46:05 +0000 (0:00:00.033) 0:00:04.155 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:05 +0000 (0:00:00.035) 0:00:04.190 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:05 +0000 (0:00:00.068) 0:00:04.259 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:05 +0000 (0:00:00.012) 0:00:04.271 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:05 +0000 (0:00:00.009) 0:00:04.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:05 +0000 (0:00:00.009) 0:00:04.291 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:08 +0000 (0:00:02.662) 0:00:06.953 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:09 +0000 (0:00:01.204) 0:00:08.157 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:09 +0000 (0:00:00.053) 0:00:08.211 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:09 +0000 (0:00:00.034) 0:00:08.246 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:09 +0000 (0:00:00.038) 0:00:08.284 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:09 +0000 (0:00:00.115) 0:00:08.400 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:09 +0000 (0:00:00.035) 0:00:08.435 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:09 +0000 (0:00:00.029) 0:00:08.465 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:09 +0000 (0:00:00.038) 0:00:08.503 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:46:10 +0000 (0:00:00.847) 0:00:09.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:46:10 +0000 (0:00:00.029) 0:00:09.379 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:46:10 +0000 (0:00:00.025) 0:00:09.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:46:10 +0000 (0:00:00.026) 0:00:09.432 ******* 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, fc5de67f-5a25-4a5d-a57f-60ffe6f27e6b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:46:11 +0000 (0:00:00.635) 0:00:10.067 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:46:11 +0000 (0:00:00.022) 0:00:10.090 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5de67f-5a25-4a5d-a57f-60ffe6f27e6b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:46:11 +0000 (0:00:00.023) 0:00:10.114 ******* 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, fc5de67f-5a25-4a5d-a57f-60ffe6f27e6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5de67f-5a25-4a5d-a57f-60ffe6f27e6b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:46:11 +0000 (0:00:00.025) 0:00:10.139 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:46:11 +0000 (0:00:00.023) 0:00:10.163 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:46:11 +0000 (0:00:00.348) 0:00:10.511 ******* 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, fc5de67f-5a25-4a5d-a57f-60ffe6f27e6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5de67f-5a25-4a5d-a57f-60ffe6f27e6b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:46:11 +0000 (0:00:00.024) 0:00:10.536 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:46:11 +0000 (0:00:00.046) 0:00:10.582 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:46:11 +0000 (0:00:00.080) 0:00:10.663 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:46:11 +0000 (0:00:00.023) 0:00:10.687 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:46:12 +0000 (0:00:00.235) 0:00:10.922 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:46:12 +0000 (0:00:00.033) 0:00:10.956 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023684", "end": "2024-02-19 23:46:12.399032", "rc": 0, "start": "2024-02-19 23:46:12.375348" } 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:46:12 +0000 (0:00:00.261) 0:00:11.217 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:46:12 +0000 (0:00:00.026) 0:00:11.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:46:12 +0000 (0:00:00.030) 0:00:11.274 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:46:12 +0000 (0:00:00.026) 0:00:11.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:46:12 +0000 (0:00:00.035) 0:00:11.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:46:12 +0000 (0:00:00.044) 0:00:11.381 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:46:12 +0000 (0:00:00.044) 0:00:11.425 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:46:12 +0000 (0:00:00.035) 0:00:11.461 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:46:12 +0000 (0:00:00.040) 0:00:11.501 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:46:12 +0000 (0:00:00.091) 0:00:11.592 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:46:12 +0000 (0:00:00.038) 0:00:11.631 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386371.193448, "block_size": 4096, "blocks": 0, "ctime": 1708386371.193448, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36109, "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": 1708386371.193448, "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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:46:13 +0000 (0:00:00.249) 0:00:11.881 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:46:13 +0000 (0:00:00.025) 0:00:11.906 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:46:13 +0000 (0:00:00.036) 0:00:11.943 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:46:13 +0000 (0:00:00.047) 0:00:11.991 ******* 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.067815", "end": "2024-02-19 23:46:13.480131", "rc": 1, "start": "2024-02-19 23:46:13.412316" } STDOUT: Connection 'statebr' (fc5de67f-5a25-4a5d-a57f-60ffe6f27e6b) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 23:46:13 +0000 (0:00:00.304) 0:00:12.295 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:46:13 +0000 (0:00:00.040) 0:00:12.336 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:46:13 +0000 (0:00:00.024) 0:00:12.361 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:46:13 +0000 (0:00:00.058) 0:00:12.419 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:46:13 +0000 (0:00:00.064) 0:00:12.484 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:46:13 +0000 (0:00:00.043) 0:00:12.527 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004047", "end": "2024-02-19 23:46:13.956803", "rc": 0, "start": "2024-02-19 23:46:13.952756" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:46:13 +0000 (0:00:00.246) 0:00:12.774 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:46:14 +0000 (0:00:00.034) 0:00:12.808 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:46:14 +0000 (0:00:00.023) 0:00:12.831 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 23:46:14 +0000 (0:00:00.049) 0:00:12.881 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007677", "end": "2024-02-19 23:46:14.311797", "rc": 1, "start": "2024-02-19 23:46:14.304120" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:46:14 +0000 (0:00:00.244) 0:00:13.126 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:46:14 +0000 (0:00:00.039) 0:00:13.166 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:46:14 +0000 (0:00:00.245) 0:00:13.412 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:46:14 +0000 (0:00:00.024) 0:00:13.436 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 23:46:14 +0000 (0:00:00.066) 0:00:13.502 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:14 +0000 (0:00:00.043) 0:00:13.546 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:14 +0000 (0:00:00.040) 0:00:13.587 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:14 +0000 (0:00:00.027) 0:00:13.614 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:14 +0000 (0:00:00.023) 0:00:13.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:14 +0000 (0:00:00.024) 0:00:13.662 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:17 +0000 (0:00:02.624) 0:00:16.286 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:18 +0000 (0:00:01.008) 0:00:17.295 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:18 +0000 (0:00:00.023) 0:00:17.319 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:18 +0000 (0:00:00.022) 0:00:17.342 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:18 +0000 (0:00:00.023) 0:00:17.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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:18 +0000 (0:00:00.048) 0:00:17.414 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:18 +0000 (0:00:00.024) 0:00:17.439 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:18 +0000 (0:00:00.046) 0:00:17.486 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:18 +0000 (0:00:00.026) 0:00:17.512 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:46:19 +0000 (0:00:00.634) 0:00:18.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:46:19 +0000 (0:00:00.027) 0:00:18.173 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:46:19 +0000 (0:00:00.033) 0:00:18.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:46:19 +0000 (0:00:00.029) 0:00:18.237 ******* 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, 6db849f2-05fd-4821-bdcc-b883426eade4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:46:19 +0000 (0:00:00.500) 0:00:18.737 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:46:19 +0000 (0:00:00.022) 0:00:18.760 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6db849f2-05fd-4821-bdcc-b883426eade4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:46:20 +0000 (0:00:00.023) 0:00:18.783 ******* 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, 6db849f2-05fd-4821-bdcc-b883426eade4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6db849f2-05fd-4821-bdcc-b883426eade4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:46:20 +0000 (0:00:00.024) 0:00:18.807 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:46:20 +0000 (0:00:00.023) 0:00:18.831 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 23:46:20 +0000 (0:00:00.249) 0:00:19.080 ******* 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, 6db849f2-05fd-4821-bdcc-b883426eade4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6db849f2-05fd-4821-bdcc-b883426eade4" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:46:20 +0000 (0:00:00.060) 0:00:19.141 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:46:20 +0000 (0:00:00.046) 0:00:19.188 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:46:20 +0000 (0:00:00.037) 0:00:19.225 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:46:20 +0000 (0:00:00.238) 0:00:19.464 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:46:20 +0000 (0:00:00.026) 0:00:19.490 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:46:20 +0000 (0:00:00.045) 0:00:19.535 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:46:20 +0000 (0:00:00.023) 0:00:19.558 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:46:21 +0000 (0:00:00.256) 0:00:19.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:46:21 +0000 (0:00:00.049) 0:00:19.864 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023924", "end": "2024-02-19 23:46:21.335377", "rc": 0, "start": "2024-02-19 23:46:21.311453" } 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:46:21 +0000 (0:00:00.298) 0:00:20.163 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:46:21 +0000 (0:00:00.046) 0:00:20.209 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:46:21 +0000 (0:00:00.056) 0:00:20.265 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:46:21 +0000 (0:00:00.029) 0:00:20.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:46:21 +0000 (0:00:00.029) 0:00:20.325 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:46:21 +0000 (0:00:00.032) 0:00:20.357 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:46:21 +0000 (0:00:00.031) 0:00:20.389 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:46:21 +0000 (0:00:00.031) 0:00:20.421 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:46:21 +0000 (0:00:00.024) 0:00:20.446 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:46:21 +0000 (0:00:00.023) 0:00:20.469 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:46:21 +0000 (0:00:00.026) 0:00:20.496 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:46:21 +0000 (0:00:00.044) 0:00:20.541 ******* 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.046597", "end": "2024-02-19 23:46:22.010763", "rc": 1, "start": "2024-02-19 23:46:21.964166" } STDOUT: Connection 'statebr' (6db849f2-05fd-4821-bdcc-b883426eade4) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 23:46:22 +0000 (0:00:00.304) 0:00:20.845 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:46:22 +0000 (0:00:00.042) 0:00:20.887 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:46:22 +0000 (0:00:00.051) 0:00:20.938 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:46:22 +0000 (0:00:00.045) 0:00:20.984 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:46:22 +0000 (0:00:00.039) 0:00:21.024 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:46:22 +0000 (0:00:00.057) 0:00:21.081 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004033", "end": "2024-02-19 23:46:22.507695", "rc": 0, "start": "2024-02-19 23:46:22.503662" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:46:22 +0000 (0:00:00.249) 0:00:21.330 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:46:22 +0000 (0:00:00.038) 0:00:21.368 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:46:22 +0000 (0:00:00.033) 0:00:21.401 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:46:22 +0000 (0:00:00.059) 0:00:21.461 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:22 +0000 (0:00:00.041) 0:00:21.503 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:22 +0000 (0:00:00.046) 0:00:21.550 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:22 +0000 (0:00:00.063) 0:00:21.613 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:22 +0000 (0:00:00.023) 0:00:21.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:22 +0000 (0:00:00.022) 0:00:21.660 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:25 +0000 (0:00:02.575) 0:00:24.235 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:26 +0000 (0:00:01.055) 0:00:25.291 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:26 +0000 (0:00:00.048) 0:00:25.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:26 +0000 (0:00:00.049) 0:00:25.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:26 +0000 (0:00:00.055) 0:00:25.444 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:26 +0000 (0:00:00.054) 0:00:25.499 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:26 +0000 (0:00:00.024) 0:00:25.523 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:26 +0000 (0:00:00.043) 0:00:25.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:26 +0000 (0:00:00.046) 0:00:25.613 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:46:27 +0000 (0:00:00.657) 0:00:26.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:46:27 +0000 (0:00:00.027) 0:00:26.298 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:46:27 +0000 (0:00:00.022) 0:00:26.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:46:27 +0000 (0:00:00.021) 0:00:26.342 ******* 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, 44754616-173e-4302-8d02-66c78f828652 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:46:28 +0000 (0:00:00.522) 0:00:26.865 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:46:28 +0000 (0:00:00.030) 0:00:26.895 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44754616-173e-4302-8d02-66c78f828652" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:46:28 +0000 (0:00:00.028) 0:00:26.924 ******* 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, 44754616-173e-4302-8d02-66c78f828652\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44754616-173e-4302-8d02-66c78f828652" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:46:28 +0000 (0:00:00.027) 0:00:26.951 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:46:28 +0000 (0:00:00.027) 0:00:26.978 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:46:28 +0000 (0:00:00.243) 0:00:27.222 ******* 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, 44754616-173e-4302-8d02-66c78f828652\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44754616-173e-4302-8d02-66c78f828652" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:46:28 +0000 (0:00:00.027) 0:00:27.250 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:46:28 +0000 (0:00:00.053) 0:00:27.303 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:28 +0000 (0:00:00.046) 0:00:27.349 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:28 +0000 (0:00:00.046) 0:00:27.395 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:28 +0000 (0:00:00.032) 0:00:27.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:28 +0000 (0:00:00.021) 0:00:27.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:28 +0000 (0:00:00.051) 0:00:27.501 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:31 +0000 (0:00:02.583) 0:00:30.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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:32 +0000 (0:00:01.033) 0:00:31.118 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:32 +0000 (0:00:00.048) 0:00:31.166 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:32 +0000 (0:00:00.025) 0:00:31.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:32 +0000 (0:00:00.026) 0:00:31.218 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:32 +0000 (0:00:00.055) 0:00:31.274 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:32 +0000 (0:00:00.023) 0:00:31.297 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:32 +0000 (0:00:00.028) 0:00:31.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:32 +0000 (0:00:00.027) 0:00:31.354 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:46:33 +0000 (0:00:00.654) 0:00:32.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:46:33 +0000 (0:00:00.039) 0:00:32.047 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:46:33 +0000 (0:00:00.022) 0:00:32.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:46:33 +0000 (0:00:00.022) 0:00:32.092 ******* 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, 44754616-173e-4302-8d02-66c78f828652 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:46:33 +0000 (0:00:00.409) 0:00:32.502 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:46:33 +0000 (0:00:00.047) 0:00:32.549 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 44754616-173e-4302-8d02-66c78f828652 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:46:33 +0000 (0:00:00.024) 0:00:32.574 ******* 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, 44754616-173e-4302-8d02-66c78f828652 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 44754616-173e-4302-8d02-66c78f828652 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:46:33 +0000 (0:00:00.024) 0:00:32.598 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:46:33 +0000 (0:00:00.021) 0:00:32.620 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:46:34 +0000 (0:00:00.232) 0:00:32.852 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:46:34 +0000 (0:00:00.044) 0:00:32.896 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:46:34 +0000 (0:00:00.036) 0:00:32.933 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386387.9674366, "block_size": 4096, "blocks": 0, "ctime": 1708386387.9674366, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36240, "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": 1708386387.9674366, "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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:46:34 +0000 (0:00:00.237) 0:00:33.170 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 23:46:34 +0000 (0:00:00.023) 0:00:33.194 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:46:34 +0000 (0:00:00.038) 0:00:33.232 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:46:34 +0000 (0:00:00.022) 0:00:33.255 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:46:34 +0000 (0:00:00.233) 0:00:33.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:46:34 +0000 (0:00:00.022) 0:00:33.511 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023917", "end": "2024-02-19 23:46:34.955714", "rc": 0, "start": "2024-02-19 23:46:34.931797" } 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:46:34 +0000 (0:00:00.261) 0:00:33.772 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:46:35 +0000 (0:00:00.026) 0:00:33.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:46:35 +0000 (0:00:00.024) 0:00:33.823 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:46:35 +0000 (0:00:00.023) 0:00:33.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:46:35 +0000 (0:00:00.023) 0:00:33.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 23:46:35 +0000 (0:00:00.023) 0:00:33.892 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 23:46:35 +0000 (0:00:00.024) 0:00:33.917 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 23:46:35 +0000 (0:00:00.025) 0:00:33.943 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:46:35 +0000 (0:00:00.022) 0:00:33.966 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:46:35 +0000 (0:00:00.021) 0:00:33.987 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:46:35 +0000 (0:00:00.022) 0:00:34.009 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:46:35 +0000 (0:00:00.074) 0:00:34.084 ******* 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.074970", "end": "2024-02-19 23:46:35.578966", "rc": 1, "start": "2024-02-19 23:46:35.503996" } STDOUT: Connection 'statebr' (44754616-173e-4302-8d02-66c78f828652) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 23:46:35 +0000 (0:00:00.310) 0:00:34.394 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:46:35 +0000 (0:00:00.047) 0:00:34.442 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:46:35 +0000 (0:00:00.032) 0:00:34.474 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:46:35 +0000 (0:00:00.059) 0:00:34.533 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:46:35 +0000 (0:00:00.039) 0:00:34.573 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:46:35 +0000 (0:00:00.044) 0:00:34.618 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-02-19 23:46:36.049029", "rc": 0, "start": "2024-02-19 23:46:36.045035" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:46:36 +0000 (0:00:00.262) 0:00:34.880 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:46:36 +0000 (0:00:00.027) 0:00:34.907 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:46:36 +0000 (0:00:00.037) 0:00:34.945 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:46:36 +0000 (0:00:00.093) 0:00:35.039 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:36 +0000 (0:00:00.040) 0:00:35.079 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:36 +0000 (0:00:00.044) 0:00:35.123 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:36 +0000 (0:00:00.027) 0:00:35.151 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:36 +0000 (0:00:00.021) 0:00:35.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:36 +0000 (0:00:00.023) 0:00:35.195 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:39 +0000 (0:00:02.592) 0:00:37.788 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:40 +0000 (0:00:00.997) 0:00:38.785 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:40 +0000 (0:00:00.024) 0:00:38.810 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:40 +0000 (0:00:00.023) 0:00:38.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:40 +0000 (0:00:00.021) 0:00:38.855 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:40 +0000 (0:00:00.045) 0:00:38.900 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:40 +0000 (0:00:00.024) 0:00:38.925 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:40 +0000 (0:00:00.032) 0:00:38.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:40 +0000 (0:00:00.055) 0:00:39.013 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:46:40 +0000 (0:00:00.627) 0:00:39.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:46:40 +0000 (0:00:00.026) 0:00:39.667 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:46:40 +0000 (0:00:00.022) 0:00:39.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:46:40 +0000 (0:00:00.028) 0:00:39.718 ******* 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, b76b7f16-c471-4903-935e-6e7e89802505 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:46:41 +0000 (0:00:00.465) 0:00:40.183 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:46:41 +0000 (0:00:00.024) 0:00:40.207 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b76b7f16-c471-4903-935e-6e7e89802505" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:46:41 +0000 (0:00:00.024) 0:00:40.232 ******* 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, b76b7f16-c471-4903-935e-6e7e89802505\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b76b7f16-c471-4903-935e-6e7e89802505" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:46:41 +0000 (0:00:00.023) 0:00:40.256 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:46:41 +0000 (0:00:00.021) 0:00:40.278 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:46:41 +0000 (0:00:00.228) 0:00:40.506 ******* 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, b76b7f16-c471-4903-935e-6e7e89802505\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b76b7f16-c471-4903-935e-6e7e89802505" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:46:41 +0000 (0:00:00.047) 0:00:40.553 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:41 +0000 (0:00:00.039) 0:00:40.593 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:41 +0000 (0:00:00.042) 0:00:40.635 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:41 +0000 (0:00:00.028) 0:00:40.664 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:41 +0000 (0:00:00.024) 0:00:40.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:41 +0000 (0:00:00.025) 0:00:40.714 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:44 +0000 (0:00:02.611) 0:00:43.326 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:45 +0000 (0:00:01.010) 0:00:44.337 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:45 +0000 (0:00:00.027) 0:00:44.364 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:45 +0000 (0:00:00.036) 0:00:44.400 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:45 +0000 (0:00:00.027) 0:00:44.428 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:45 +0000 (0:00:00.047) 0:00:44.475 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:45 +0000 (0:00:00.029) 0:00:44.504 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:45 +0000 (0:00:00.024) 0:00:44.529 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:45 +0000 (0:00:00.047) 0:00:44.577 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:46:46 +0000 (0:00:00.664) 0:00:45.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:46:46 +0000 (0:00:00.027) 0:00:45.269 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:46:46 +0000 (0:00:00.031) 0:00:45.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:46:46 +0000 (0:00:00.026) 0:00:45.327 ******* 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, b76b7f16-c471-4903-935e-6e7e89802505 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:46:46 +0000 (0:00:00.410) 0:00:45.738 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:46:46 +0000 (0:00:00.023) 0:00:45.761 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b76b7f16-c471-4903-935e-6e7e89802505 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:46:47 +0000 (0:00:00.023) 0:00:45.784 ******* 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, b76b7f16-c471-4903-935e-6e7e89802505 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b76b7f16-c471-4903-935e-6e7e89802505 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:46:47 +0000 (0:00:00.023) 0:00:45.807 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:46:47 +0000 (0:00:00.021) 0:00:45.829 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:46:47 +0000 (0:00:00.229) 0:00:46.059 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:46:47 +0000 (0:00:00.044) 0:00:46.103 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:47 +0000 (0:00:00.080) 0:00:46.184 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:47 +0000 (0:00:00.045) 0:00:46.229 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:47 +0000 (0:00:00.029) 0:00:46.259 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:47 +0000 (0:00:00.023) 0:00:46.282 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:47 +0000 (0:00:00.023) 0:00:46.305 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:50 +0000 (0:00:02.575) 0:00:48.881 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:51 +0000 (0:00:01.031) 0:00:49.913 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:51 +0000 (0:00:00.025) 0:00:49.938 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:51 +0000 (0:00:00.023) 0:00:49.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:51 +0000 (0:00:00.023) 0:00:49.985 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:51 +0000 (0:00:00.044) 0:00:50.030 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:51 +0000 (0:00:00.022) 0:00:50.052 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:51 +0000 (0:00:00.024) 0:00:50.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:51 +0000 (0:00:00.026) 0:00:50.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:46:51 +0000 (0:00:00.649) 0:00:50.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:46:52 +0000 (0:00:00.168) 0:00:50.922 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:46:52 +0000 (0:00:00.057) 0:00:50.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:46:52 +0000 (0:00:00.033) 0:00:51.012 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:46:52 +0000 (0:00:00.485) 0:00:51.498 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:46:52 +0000 (0:00:00.042) 0:00:51.540 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:46:52 +0000 (0:00:00.048) 0:00:51.589 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:46:52 +0000 (0:00:00.033) 0:00:51.623 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:46:52 +0000 (0:00:00.024) 0:00:51.647 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:46:53 +0000 (0:00:00.259) 0:00:51.907 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 23:46:53 +0000 (0:00:00.075) 0:00:51.982 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:46:53 +0000 (0:00:00.068) 0:00:52.051 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708386401.3099315, "block_size": 4096, "blocks": 0, "ctime": 1708386401.3099315, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36371, "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": 1708386401.3099315, "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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 23:46:53 +0000 (0:00:00.296) 0:00:52.347 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:46:53 +0000 (0:00:00.030) 0:00:52.377 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:46:53 +0000 (0:00:00.049) 0:00:52.426 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:46:53 +0000 (0:00:00.029) 0:00:52.456 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:46:53 +0000 (0:00:00.249) 0:00:52.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:46:53 +0000 (0:00:00.027) 0:00:52.733 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023747", "end": "2024-02-19 23:46:54.228277", "rc": 1, "start": "2024-02-19 23:46:54.204530" } 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:46:54 +0000 (0:00:00.360) 0:00:53.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:46:54 +0000 (0:00:00.046) 0:00:53.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:46:54 +0000 (0:00:00.056) 0:00:53.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:46:54 +0000 (0:00:00.035) 0:00:53.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:46:54 +0000 (0:00:00.028) 0:00:53.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:46:54 +0000 (0:00:00.038) 0:00:53.299 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:46:54 +0000 (0:00:00.044) 0:00:53.343 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:46:54 +0000 (0:00:00.031) 0:00:53.374 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:46:54 +0000 (0:00:00.070) 0:00:53.445 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:46:54 +0000 (0:00:00.045) 0:00:53.491 ******* 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.070927", "end": "2024-02-19 23:46:55.011152", "rc": 1, "start": "2024-02-19 23:46:54.940225" } STDOUT: Connection 'statebr' (b76b7f16-c471-4903-935e-6e7e89802505) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 23:46:55 +0000 (0:00:00.346) 0:00:53.837 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:46:55 +0000 (0:00:00.040) 0:00:53.878 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:46:55 +0000 (0:00:00.041) 0:00:53.919 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:46:55 +0000 (0:00:00.076) 0:00:53.995 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:46:55 +0000 (0:00:00.059) 0:00:54.055 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:46:55 +0000 (0:00:00.099) 0:00:54.154 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004427", "end": "2024-02-19 23:46:55.617863", "rc": 0, "start": "2024-02-19 23:46:55.613436" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:46:55 +0000 (0:00:00.290) 0:00:54.445 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:46:55 +0000 (0:00:00.024) 0:00:54.469 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:46:55 +0000 (0:00:00.059) 0:00:54.528 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:46:55 +0000 (0:00:00.056) 0:00:54.585 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:46:55 +0000 (0:00:00.051) 0:00:54.636 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:46:55 +0000 (0:00:00.043) 0:00:54.680 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:46:55 +0000 (0:00:00.028) 0:00:54.709 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:46:55 +0000 (0:00:00.035) 0:00:54.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:46:55 +0000 (0:00:00.029) 0:00:54.773 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:46:58 +0000 (0:00:02.607) 0:00:57.381 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:46:59 +0000 (0:00:01.008) 0:00:58.390 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:46:59 +0000 (0:00:00.026) 0:00:58.416 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:46:59 +0000 (0:00:00.038) 0:00:58.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:46:59 +0000 (0:00:00.056) 0:00:58.511 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:46:59 +0000 (0:00:00.051) 0:00:58.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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:46:59 +0000 (0:00:00.067) 0:00:58.631 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:46:59 +0000 (0:00:00.024) 0:00:58.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:46:59 +0000 (0:00:00.030) 0:00:58.685 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:00 +0000 (0:00:00.634) 0:00:59.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:00 +0000 (0:00:00.027) 0:00:59.347 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:00 +0000 (0:00:00.023) 0:00:59.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:00 +0000 (0:00:00.021) 0:00:59.392 ******* 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, d1e79dd3-9b54-4fee-b0f8-e9de381074ea TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:01 +0000 (0:00:00.480) 0:00:59.873 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:01 +0000 (0:00:00.050) 0:00:59.923 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1e79dd3-9b54-4fee-b0f8-e9de381074ea" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:01 +0000 (0:00:00.043) 0:00:59.966 ******* 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, d1e79dd3-9b54-4fee-b0f8-e9de381074ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1e79dd3-9b54-4fee-b0f8-e9de381074ea" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:01 +0000 (0:00:00.056) 0:01:00.023 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:01 +0000 (0:00:00.054) 0:01:00.078 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:47:01 +0000 (0:00:00.271) 0:01:00.350 ******* 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, d1e79dd3-9b54-4fee-b0f8-e9de381074ea\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1e79dd3-9b54-4fee-b0f8-e9de381074ea" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:47:01 +0000 (0:00:00.024) 0:01:00.375 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:47:01 +0000 (0:00:00.056) 0:01:00.431 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:47:01 +0000 (0:00:00.043) 0:01:00.475 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:47:01 +0000 (0:00:00.030) 0:01:00.505 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:47:01 +0000 (0:00:00.023) 0:01:00.529 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:47:01 +0000 (0:00:00.024) 0:01:00.553 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:47:04 +0000 (0:00:02.586) 0:01:03.139 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:47:05 +0000 (0:00:01.042) 0:01:04.182 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:47:05 +0000 (0:00:00.063) 0:01:04.245 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:47:05 +0000 (0:00:00.026) 0:01:04.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:47:05 +0000 (0:00:00.045) 0:01:04.318 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:47:05 +0000 (0:00:00.062) 0:01:04.380 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:47:05 +0000 (0:00:00.047) 0:01:04.428 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:47:05 +0000 (0:00:00.079) 0:01:04.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:47:05 +0000 (0:00:00.034) 0:01:04.543 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:06 +0000 (0:00:00.648) 0:01:05.191 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:06 +0000 (0:00:00.035) 0:01:05.226 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:06 +0000 (0:00:00.023) 0:01:05.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:06 +0000 (0:00:00.026) 0:01:05.276 ******* 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, d1e79dd3-9b54-4fee-b0f8-e9de381074ea skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:06 +0000 (0:00:00.450) 0:01:05.727 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:06 +0000 (0:00:00.036) 0:01:05.764 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1e79dd3-9b54-4fee-b0f8-e9de381074ea skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:07 +0000 (0:00:00.048) 0:01:05.812 ******* 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, d1e79dd3-9b54-4fee-b0f8-e9de381074ea skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1e79dd3-9b54-4fee-b0f8-e9de381074ea skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:07 +0000 (0:00:00.075) 0:01:05.887 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:07 +0000 (0:00:00.028) 0:01:05.916 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 23:47:07 +0000 (0:00:00.227) 0:01:06.143 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:47:07 +0000 (0:00:00.069) 0:01:06.212 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:47:07 +0000 (0:00:00.046) 0:01:06.259 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:47:07 +0000 (0:00:00.038) 0:01:06.298 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:47:07 +0000 (0:00:00.024) 0:01:06.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:47:07 +0000 (0:00:00.037) 0:01:06.360 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:47:10 +0000 (0:00:02.573) 0:01:08.934 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:47:11 +0000 (0:00:01.037) 0:01:09.971 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:47:11 +0000 (0:00:00.026) 0:01:09.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:47:11 +0000 (0:00:00.024) 0:01:10.023 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:47:11 +0000 (0:00:00.038) 0:01:10.062 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:47:11 +0000 (0:00:00.046) 0:01:10.108 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:47:11 +0000 (0:00:00.023) 0:01:10.131 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:47:11 +0000 (0:00:00.024) 0:01:10.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:47:11 +0000 (0:00:00.029) 0:01:10.185 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:12 +0000 (0:00:00.659) 0:01:10.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:12 +0000 (0:00:00.041) 0:01:10.886 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:12 +0000 (0:00:00.037) 0:01:10.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:12 +0000 (0:00:00.032) 0:01:10.957 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:12 +0000 (0:00:00.457) 0:01:11.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:12 +0000 (0:00:00.023) 0:01:11.438 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:12 +0000 (0:00:00.027) 0:01:11.466 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:12 +0000 (0:00:00.024) 0:01:11.490 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:12 +0000 (0:00:00.022) 0:01:11.512 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:47:12 +0000 (0:00:00.233) 0:01:11.745 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:47:13 +0000 (0:00:00.083) 0:01:11.828 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:47:13 +0000 (0:00:00.066) 0:01:11.895 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:47:13 +0000 (0:00:00.098) 0:01:11.993 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:47:13 +0000 (0:00:00.032) 0:01:12.026 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:47:13 +0000 (0:00:00.033) 0:01:12.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:47:13 +0000 (0:00:00.038) 0:01:12.097 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:47:15 +0000 (0:00:02.595) 0:01:14.693 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:47:16 +0000 (0:00:01.030) 0:01:15.724 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:47:16 +0000 (0:00:00.026) 0:01:15.750 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:47:16 +0000 (0:00:00.024) 0:01:15.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:47:17 +0000 (0:00:00.025) 0:01:15.799 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:47:17 +0000 (0:00:00.045) 0:01:15.844 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:47:17 +0000 (0:00:00.022) 0:01:15.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:47:17 +0000 (0:00:00.021) 0:01:15.889 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:47:17 +0000 (0:00:00.025) 0:01:15.915 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:17 +0000 (0:00:00.657) 0:01:16.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:17 +0000 (0:00:00.032) 0:01:16.604 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:17 +0000 (0:00:00.023) 0:01:16.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:17 +0000 (0:00:00.024) 0:01:16.652 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:18 +0000 (0:00:00.513) 0:01:17.166 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:18 +0000 (0:00:00.023) 0:01:17.190 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:18 +0000 (0:00:00.023) 0:01:17.214 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:18 +0000 (0:00:00.024) 0:01:17.238 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:18 +0000 (0:00:00.021) 0:01:17.260 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:47:18 +0000 (0:00:00.255) 0:01:17.516 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:47:18 +0000 (0:00:00.049) 0:01:17.566 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:47:18 +0000 (0:00:00.076) 0:01:17.642 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:47:18 +0000 (0:00:00.034) 0:01:17.677 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:47:19 +0000 (0:00:00.231) 0:01:17.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:47:19 +0000 (0:00:00.023) 0:01:17.932 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022746", "end": "2024-02-19 23:47:19.374947", "rc": 1, "start": "2024-02-19 23:47:19.352201" } 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:47:19 +0000 (0:00:00.260) 0:01:18.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:47:19 +0000 (0:00:00.039) 0:01:18.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:47:19 +0000 (0:00:00.038) 0:01:18.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:47:19 +0000 (0:00:00.031) 0:01:18.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:47:19 +0000 (0:00:00.027) 0:01:18.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:47:19 +0000 (0:00:00.032) 0:01:18.362 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:47:19 +0000 (0:00:00.026) 0:01:18.389 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:47:19 +0000 (0:00:00.052) 0:01:18.442 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:47:19 +0000 (0:00:00.084) 0:01:18.526 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:47:19 +0000 (0:00:00.239) 0:01:18.765 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:47:20 +0000 (0:00:00.028) 0:01:18.794 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:47:20 +0000 (0:00:00.025) 0:01:18.819 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:47:20 +0000 (0:00:00.044) 0:01:18.863 ******* 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.045084", "end": "2024-02-19 23:47:20.327822", "rc": 1, "start": "2024-02-19 23:47:20.282738" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 23:47:20 +0000 (0:00:00.289) 0:01:19.152 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 23:47:20 +0000 (0:00:00.045) 0:01:19.197 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 23:47:20 +0000 (0:00:00.024) 0:01:19.222 ******* 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 23:47:20 +0000 (0:00:00.048) 0:01:19.270 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 23:47:20 +0000 (0:00:00.041) 0:01:19.311 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 23:47:20 +0000 (0:00:00.073) 0:01:19.385 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004165", "end": "2024-02-19 23:47:20.817032", "rc": 0, "start": "2024-02-19 23:47:20.812867" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 23:47:20 +0000 (0:00:00.253) 0:01:19.638 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 23:47:20 +0000 (0:00:00.027) 0:01:19.666 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 23:47:20 +0000 (0:00:00.032) 0:01:19.698 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 23:47:20 +0000 (0:00:00.051) 0:01:19.750 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:47:21 +0000 (0:00:00.041) 0:01:19.791 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:47:21 +0000 (0:00:00.052) 0:01:19.843 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:47:21 +0000 (0:00:00.037) 0:01:19.880 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:47:21 +0000 (0:00:00.025) 0:01:19.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:47:21 +0000 (0:00:00.043) 0:01:19.949 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:47:23 +0000 (0:00:02.631) 0:01:22.580 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:47:24 +0000 (0:00:01.055) 0:01:23.636 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:47:24 +0000 (0:00:00.032) 0:01:23.668 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:47:24 +0000 (0:00:00.026) 0:01:23.695 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:47:24 +0000 (0:00:00.024) 0:01:23.719 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:47:25 +0000 (0:00:00.080) 0:01:23.800 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:47:25 +0000 (0:00:00.029) 0:01:23.830 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:47:25 +0000 (0:00:00.022) 0:01:23.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:47:25 +0000 (0:00:00.026) 0:01:23.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:25 +0000 (0:00:00.641) 0:01:24.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:25 +0000 (0:00:00.072) 0:01:24.593 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:25 +0000 (0:00:00.061) 0:01:24.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:25 +0000 (0:00:00.077) 0:01:24.733 ******* 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, aa1de96b-7211-422f-b81c-91693986f0bb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:26 +0000 (0:00:00.487) 0:01:25.220 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:26 +0000 (0:00:00.038) 0:01:25.259 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa1de96b-7211-422f-b81c-91693986f0bb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:26 +0000 (0:00:00.047) 0:01:25.307 ******* 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, aa1de96b-7211-422f-b81c-91693986f0bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa1de96b-7211-422f-b81c-91693986f0bb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:26 +0000 (0:00:00.037) 0:01:25.345 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:26 +0000 (0:00:00.031) 0:01:25.376 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 23:47:26 +0000 (0:00:00.238) 0:01:25.615 ******* 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, aa1de96b-7211-422f-b81c-91693986f0bb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, aa1de96b-7211-422f-b81c-91693986f0bb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 23:47:26 +0000 (0:00:00.052) 0:01:25.667 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:47:26 +0000 (0:00:00.040) 0:01:25.707 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:47:26 +0000 (0:00:00.048) 0:01:25.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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:47:27 +0000 (0:00:00.039) 0:01:25.795 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:47:27 +0000 (0:00:00.035) 0:01:25.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:47:27 +0000 (0:00:00.037) 0:01:25.868 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:47:29 +0000 (0:00:02.629) 0:01:28.498 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:47:30 +0000 (0:00:01.037) 0:01:29.535 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:47:30 +0000 (0:00:00.032) 0:01:29.567 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:47:30 +0000 (0:00:00.023) 0:01:29.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:47:30 +0000 (0:00:00.023) 0:01:29.615 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:47:30 +0000 (0:00:00.052) 0:01:29.668 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:47:30 +0000 (0:00:00.038) 0:01:29.706 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:47:30 +0000 (0:00:00.040) 0:01:29.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:47:31 +0000 (0:00:00.057) 0:01:29.803 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:31 +0000 (0:00:00.627) 0:01:30.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:31 +0000 (0:00:00.028) 0:01:30.460 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:31 +0000 (0:00:00.033) 0:01:30.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:31 +0000 (0:00:00.023) 0:01:30.517 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa1de96b-7211-422f-b81c-91693986f0bb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:32 +0000 (0:00:00.433) 0:01:30.950 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:32 +0000 (0:00:00.030) 0:01:30.981 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa1de96b-7211-422f-b81c-91693986f0bb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:32 +0000 (0:00:00.025) 0:01:31.006 ******* 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, aa1de96b-7211-422f-b81c-91693986f0bb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, aa1de96b-7211-422f-b81c-91693986f0bb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:32 +0000 (0:00:00.024) 0:01:31.031 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:32 +0000 (0:00:00.022) 0:01:31.054 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:47:32 +0000 (0:00:00.233) 0:01:31.287 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:47:32 +0000 (0:00:00.056) 0:01:31.343 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:47:32 +0000 (0:00:00.100) 0:01:31.443 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:47:32 +0000 (0:00:00.067) 0:01:31.510 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:47:32 +0000 (0:00:00.047) 0:01:31.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:47:32 +0000 (0:00:00.023) 0:01:31.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 : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:47:35 +0000 (0:00:02.614) 0:01:34.195 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:47:36 +0000 (0:00:01.089) 0:01:35.284 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:47:36 +0000 (0:00:00.023) 0:01:35.308 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:47:36 +0000 (0:00:00.029) 0:01:35.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:47:36 +0000 (0:00:00.035) 0:01:35.372 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:47:36 +0000 (0:00:00.050) 0:01:35.422 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:47:36 +0000 (0:00:00.025) 0:01:35.447 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:47:36 +0000 (0:00:00.027) 0:01:35.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:47:36 +0000 (0:00:00.033) 0:01:35.509 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:37 +0000 (0:00:00.638) 0:01:36.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:37 +0000 (0:00:00.057) 0:01:36.206 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:37 +0000 (0:00:00.032) 0:01:36.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:37 +0000 (0:00:00.023) 0:01:36.262 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:38 +0000 (0:00:00.627) 0:01:36.890 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:38 +0000 (0:00:00.024) 0:01:36.914 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:38 +0000 (0:00:00.032) 0:01:36.946 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:38 +0000 (0:00:00.034) 0:01:36.981 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:38 +0000 (0:00:00.037) 0:01:37.018 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 23:47:38 +0000 (0:00:00.268) 0:01:37.287 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 23:47:38 +0000 (0:00:00.056) 0:01:37.344 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 23:47:38 +0000 (0:00:00.050) 0:01:37.394 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 23:47:38 +0000 (0:00:00.046) 0:01:37.441 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 23:47:38 +0000 (0:00:00.029) 0:01:37.470 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 23:47:38 +0000 (0:00:00.024) 0:01:37.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 23:47:38 +0000 (0:00:00.024) 0:01:37.518 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 23:47:41 +0000 (0:00:02.646) 0:01:40.165 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 23:47:42 +0000 (0:00:01.016) 0:01:41.182 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 23:47:42 +0000 (0:00:00.057) 0:01:41.239 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 23:47:42 +0000 (0:00:00.073) 0:01:41.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 23:47:42 +0000 (0:00:00.030) 0:01:41.344 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 23:47:42 +0000 (0:00:00.079) 0:01:41.424 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 23:47:42 +0000 (0:00:00.039) 0:01:41.463 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 23:47:42 +0000 (0:00:00.040) 0:01:41.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 23:47:42 +0000 (0:00:00.039) 0:01:41.544 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 23:47:43 +0000 (0:00:00.743) 0:01:42.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 23:47:43 +0000 (0:00:00.042) 0:01:42.330 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 23:47:43 +0000 (0:00:00.050) 0:01:42.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 23:47:43 +0000 (0:00:00.023) 0:01:42.404 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 23:47:44 +0000 (0:00:00.449) 0:01:42.853 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 23:47:44 +0000 (0:00:00.056) 0:01:42.909 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 23:47:44 +0000 (0:00:00.067) 0:01:42.977 ******* 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-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 23:47:44 +0000 (0:00:00.100) 0:01:43.077 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 23:47:44 +0000 (0:00:00.023) 0:01:43.100 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 23:47:44 +0000 (0:00:00.300) 0:01:43.401 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 23:47:44 +0000 (0:00:00.062) 0:01:43.463 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 23:47:44 +0000 (0:00:00.041) 0:01:43.504 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 23:47:44 +0000 (0:00:00.023) 0:01:43.528 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 23:47:44 +0000 (0:00:00.242) 0:01:43.770 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 23:47:45 +0000 (0:00:00.027) 0:01:43.797 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022467", "end": "2024-02-19 23:47:45.238321", "rc": 1, "start": "2024-02-19 23:47:45.215854" } 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 23:47:45 +0000 (0:00:00.270) 0:01:44.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 23:47:45 +0000 (0:00:00.025) 0:01:44.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 23:47:45 +0000 (0:00:00.026) 0:01:44.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 23:47:45 +0000 (0:00:00.035) 0:01:44.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 23:47:45 +0000 (0:00:00.070) 0:01:44.226 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 23:47:45 +0000 (0:00:00.034) 0:01:44.260 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 23:47:45 +0000 (0:00:00.038) 0:01:44.298 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.391463", "end": "2024-02-19 23:47:46.118132", "rc": 0, "start": "2024-02-19 23:47:45.726669" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 23:47:46 +0000 (0:00:00.635) 0:01:44.934 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 23:47:46 +0000 (0:00:00.036) 0:01:44.970 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 23:47:46 +0000 (0:00:00.029) 0:01:45.000 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 23:47:46 +0000 (0:00:00.045) 0:01:45.046 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 23:47:46 +0000 (0:00:00.040) 0:01:45.086 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 23:47:46 +0000 (0:00:00.247) 0:01:45.334 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 23:47:46 +0000 (0:00:00.025) 0:01:45.360 ******* 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-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 23:47:46 +0000 (0:00:00.035) 0:01:45.395 ******* included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 23:47:46 +0000 (0:00:00.093) 0:01:45.489 ******* 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.044473", "end": "2024-02-19 23:47:46.954271", "rc": 1, "start": "2024-02-19 23:47:46.909798" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 23:47:46 +0000 (0:00:00.286) 0:01:45.775 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.010594", "end": "2024-02-19 23:47:47.211904", "rc": 0, "start": "2024-02-19 23:47:47.201310" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 0e:3a:93:2e:62:79 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.40.191/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3020sec preferred_lft 3020sec inet6 fe80::c3a:93ff:fe2e:6279/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.191 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.191 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 23:47:47 +0000 (0:00:00.278) 0:01:46.053 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=318 changed=10 unreachable=0 failed=0 skipped=253 rescued=0 ignored=11 Monday 19 February 2024 23:47:47 +0000 (0:00:00.038) 0:01:46.092 ******* =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.41s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.66s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.65s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.63s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.63s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.62s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.61s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.61s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.61s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.60s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.59s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.59s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.59s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 2.59s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.58s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.58s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.58s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.57s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.04s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.70s /WORKDIR/git-nm_plugin_hotfixqf71srne/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---