# 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_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/tests_states_nm.yml:6 Thursday 22 February 2024 03:17:02 +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_hotfixxhde1ubc/tests/tests_states_nm.yml:9 Thursday 22 February 2024 03:17:03 +0000 (0:00:00.958) 0:00:00.970 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 03:17:03 +0000 (0:00:00.022) 0:00:00.993 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/el_repo_setup.yml:19 Thursday 22 February 2024 03:17:03 +0000 (0:00:00.498) 0:00:01.492 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/el_repo_setup.yml:24 Thursday 22 February 2024 03:17:03 +0000 (0:00:00.260) 0:00:01.752 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/el_repo_setup.yml:28 Thursday 22 February 2024 03:17:03 +0000 (0:00:00.021) 0:00:01.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/el_repo_setup.yml:53 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.019) 0:00:01.794 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.031) 0:00:01.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.008) 0:00:01.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.008) 0:00:01.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.008) 0:00:01.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.008) 0:00:01.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/tests_states_nm.yml:11 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.008) 0:00:01.867 ***** 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_hotfixxhde1ubc/tests/playbooks/tests_states.yml:3 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.009) 0:00:01.877 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tests_states.yml:11 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.745) 0:00:02.623 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tests_states.yml:22 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.013) 0:00:02.636 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.024) 0:00:02.661 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.028) 0:00:02.689 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.046) 0:00:02.735 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.014) 0:00:02.750 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:17:04 +0000 (0:00:00.013) 0:00:02.764 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003358", "end": "2024-02-22 03:17:05.202674", "rc": 0, "start": "2024-02-22 03:17:05.199316" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.241) 0:00:03.006 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.010) 0:00:03.017 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.009) 0:00:03.026 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.019) 0:00:03.046 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007450", "end": "2024-02-22 03:17:05.441528", "rc": 1, "start": "2024-02-22 03:17:05.434078" } 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_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.198) 0:00:03.244 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.017) 0:00:03.262 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.193) 0:00:03.455 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.011) 0:00:03.467 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.017) 0:00:03.484 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.080) 0:00:03.565 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.020) 0:00:03.585 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.010) 0:00:03.596 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.009) 0:00:03.606 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:17:05 +0000 (0:00:00.009) 0:00:03.615 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:17:08 +0000 (0:00:02.203) 0:00:05.819 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:17:09 +0000 (0:00:01.046) 0:00:06.865 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:17:09 +0000 (0:00:00.023) 0:00:06.889 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:17:09 +0000 (0:00:00.021) 0:00:06.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:17:09 +0000 (0:00:00.021) 0:00:06.932 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:17:13 +0000 (0:00:04.317) 0:00:11.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:17:13 +0000 (0:00:00.021) 0:00:11.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:17:13 +0000 (0:00:00.025) 0:00:11.297 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:17:13 +0000 (0:00:00.043) 0:00:11.341 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:17:13 +0000 (0:00:00.021) 0:00:11.363 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:17:13 +0000 (0:00:00.039) 0:00:11.402 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:17:13 +0000 (0:00:00.026) 0:00:11.429 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:17:14 +0000 (0:00:00.682) 0:00:12.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:17:14 +0000 (0:00:00.033) 0:00:12.144 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:17:14 +0000 (0:00:00.025) 0:00:12.170 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:17:14 +0000 (0:00:00.030) 0:00:12.200 ***** 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, d0720c08-ba33-4a15-a0d5-2e755be3444a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:17:14 +0000 (0:00:00.525) 0:00:12.725 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:17:14 +0000 (0:00:00.026) 0:00:12.752 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0720c08-ba33-4a15-a0d5-2e755be3444a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:17:14 +0000 (0:00:00.024) 0:00:12.776 ***** 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, d0720c08-ba33-4a15-a0d5-2e755be3444a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0720c08-ba33-4a15-a0d5-2e755be3444a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.023) 0:00:12.799 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.021) 0:00:12.821 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.301) 0:00:13.122 ***** 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, d0720c08-ba33-4a15-a0d5-2e755be3444a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0720c08-ba33-4a15-a0d5-2e755be3444a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.051) 0:00:13.173 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.045) 0:00:13.219 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.041) 0:00:13.260 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.022) 0:00:13.283 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.202) 0:00:13.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.021) 0:00:13.507 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022274", "end": "2024-02-22 03:17:15.918178", "rc": 0, "start": "2024-02-22 03:17:15.895904" } 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:17:15 +0000 (0:00:00.269) 0:00:13.776 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.035) 0:00:13.812 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.026) 0:00:13.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.024) 0:00:13.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.024) 0:00:13.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.047) 0:00:13.934 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.030) 0:00:13.964 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.025) 0:00:13.990 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.034) 0:00:14.025 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.047) 0:00:14.072 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.041) 0:00:14.114 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708571834.8523202, "block_size": 4096, "blocks": 0, "ctime": 1708571834.8523202, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40949, "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": 1708571834.8523202, "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_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.226) 0:00:14.340 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.025) 0:00:14.366 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.023) 0:00:14.389 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.042) 0:00:14.432 ***** 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.059624", "end": "2024-02-22 03:17:16.880710", "rc": 1, "start": "2024-02-22 03:17:16.821086" } STDOUT: Connection 'statebr' (d0720c08-ba33-4a15-a0d5-2e755be3444a) 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_hotfixxhde1ubc/tests/playbooks/tests_states.yml:45 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.265) 0:00:14.698 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:17:16 +0000 (0:00:00.064) 0:00:14.762 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:17:17 +0000 (0:00:00.026) 0:00:14.789 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:17:17 +0000 (0:00:00.044) 0:00:14.833 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:17:17 +0000 (0:00:00.037) 0:00:14.870 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:17:17 +0000 (0:00:00.035) 0:00:14.906 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004602", "end": "2024-02-22 03:17:18.301014", "rc": 0, "start": "2024-02-22 03:17:17.296412" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:17:18 +0000 (0:00:01.213) 0:00:16.120 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.024) 0:00:16.144 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.024) 0:00:16.169 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/delete_interface.yml:3 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.068) 0:00:16.237 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006207", "end": "2024-02-22 03:17:18.635691", "rc": 1, "start": "2024-02-22 03:17:18.629484" } 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_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.213) 0:00:16.451 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.038) 0:00:16.490 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.206) 0:00:16.696 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.026) 0:00:16.723 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 22 February 2024 03:17:18 +0000 (0:00:00.042) 0:00:16.765 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:17:19 +0000 (0:00:00.050) 0:00:16.816 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:17:19 +0000 (0:00:00.056) 0:00:16.872 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:17:19 +0000 (0:00:00.029) 0:00:16.901 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:17:19 +0000 (0:00:00.045) 0:00:16.947 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:17:19 +0000 (0:00:00.022) 0:00:16.969 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:17:21 +0000 (0:00:02.170) 0:00:19.140 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:17:22 +0000 (0:00:00.896) 0:00:20.037 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:17:22 +0000 (0:00:00.043) 0:00:20.080 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:17:22 +0000 (0:00:00.023) 0:00:20.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:17:22 +0000 (0:00:00.022) 0:00:20.126 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:17:26 +0000 (0:00:04.569) 0:00:24.696 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:17:26 +0000 (0:00:00.023) 0:00:24.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:17:26 +0000 (0:00:00.026) 0:00:24.745 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.096) 0:00:24.842 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.024) 0:00:24.866 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.024) 0:00:24.891 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.028) 0:00:24.919 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.543) 0:00:25.462 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.027) 0:00:25.490 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.022) 0:00:25.512 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:17:27 +0000 (0:00:00.022) 0:00:25.534 ***** 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, 3abd4dc0-db0b-4837-8271-b4117dbaf254 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.397) 0:00:25.931 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.023) 0:00:25.955 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3abd4dc0-db0b-4837-8271-b4117dbaf254" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.023) 0:00:25.979 ***** 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, 3abd4dc0-db0b-4837-8271-b4117dbaf254\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3abd4dc0-db0b-4837-8271-b4117dbaf254" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.025) 0:00:26.004 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.026) 0:00:26.030 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.198) 0:00:26.229 ***** 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, 3abd4dc0-db0b-4837-8271-b4117dbaf254\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3abd4dc0-db0b-4837-8271-b4117dbaf254" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.024) 0:00:26.253 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.045) 0:00:26.299 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.038) 0:00:26.337 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.209) 0:00:26.547 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.024) 0:00:26.572 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.039) 0:00:26.612 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:17:28 +0000 (0:00:00.021) 0:00:26.633 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.202) 0:00:26.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.022) 0:00:26.858 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021890", "end": "2024-02-22 03:17:29.275248", "rc": 0, "start": "2024-02-22 03:17:29.253358" } 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.254) 0:00:27.112 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.028) 0:00:27.141 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.030) 0:00:27.172 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.037) 0:00:27.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.026) 0:00:27.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.025) 0:00:27.262 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.025) 0:00:27.287 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.025) 0:00:27.312 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.023) 0:00:27.335 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.021) 0:00:27.356 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.022) 0:00:27.379 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.043) 0:00:27.422 ***** 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.042194", "end": "2024-02-22 03:17:29.863565", "rc": 1, "start": "2024-02-22 03:17:29.821371" } STDOUT: Connection 'statebr' (3abd4dc0-db0b-4837-8271-b4117dbaf254) 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_hotfixxhde1ubc/tests/playbooks/tests_states.yml:65 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.257) 0:00:27.680 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.065) 0:00:27.745 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:17:29 +0000 (0:00:00.023) 0:00:27.769 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.043) 0:00:27.813 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.037) 0:00:27.850 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.036) 0:00:27.887 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003522", "end": "2024-02-22 03:17:30.282330", "rc": 0, "start": "2024-02-22 03:17:30.278808" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.212) 0:00:28.099 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.022) 0:00:28.122 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.023) 0:00:28.145 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.040) 0:00:28.185 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.037) 0:00:28.223 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.066) 0:00:28.290 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.029) 0:00:28.319 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.022) 0:00:28.342 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:17:30 +0000 (0:00:00.022) 0:00:28.364 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:17:32 +0000 (0:00:02.146) 0:00:30.510 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:17:33 +0000 (0:00:00.918) 0:00:31.428 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:17:33 +0000 (0:00:00.025) 0:00:31.453 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:17:33 +0000 (0:00:00.021) 0:00:31.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:17:33 +0000 (0:00:00.022) 0:00:31.497 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:17:37 +0000 (0:00:04.103) 0:00:35.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:17:37 +0000 (0:00:00.022) 0:00:35.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:17:37 +0000 (0:00:00.027) 0:00:35.651 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:17:37 +0000 (0:00:00.045) 0:00:35.696 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:17:37 +0000 (0:00:00.022) 0:00:35.719 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:17:37 +0000 (0:00:00.021) 0:00:35.740 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:17:37 +0000 (0:00:00.025) 0:00:35.766 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:17:38 +0000 (0:00:00.544) 0:00:36.311 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:17:38 +0000 (0:00:00.027) 0:00:36.338 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:17:38 +0000 (0:00:00.022) 0:00:36.360 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:17:38 +0000 (0:00:00.022) 0:00:36.383 ***** 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, 821613e2-64ae-41fc-8393-c34d2516de6b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.416) 0:00:36.799 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.021) 0:00:36.821 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 821613e2-64ae-41fc-8393-c34d2516de6b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.024) 0:00:36.846 ***** 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, 821613e2-64ae-41fc-8393-c34d2516de6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 821613e2-64ae-41fc-8393-c34d2516de6b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.024) 0:00:36.870 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.021) 0:00:36.892 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.201) 0:00:37.093 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 821613e2-64ae-41fc-8393-c34d2516de6b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 821613e2-64ae-41fc-8393-c34d2516de6b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.024) 0:00:37.118 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.066) 0:00:37.184 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.044) 0:00:37.229 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.043) 0:00:37.272 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.027) 0:00:37.300 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.022) 0:00:37.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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:17:39 +0000 (0:00:00.022) 0:00:37.344 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:17:41 +0000 (0:00:02.156) 0:00:39.500 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:17:42 +0000 (0:00:00.933) 0:00:40.434 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:17:42 +0000 (0:00:00.036) 0:00:40.470 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:17:42 +0000 (0:00:00.024) 0:00:40.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:17:42 +0000 (0:00:00.021) 0:00:40.517 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:17:47 +0000 (0:00:04.627) 0:00:45.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:17:47 +0000 (0:00:00.026) 0:00:45.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:17:47 +0000 (0:00:00.026) 0:00:45.198 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:17:47 +0000 (0:00:00.045) 0:00:45.243 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:17:47 +0000 (0:00:00.023) 0:00:45.266 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:17:47 +0000 (0:00:00.023) 0:00:45.289 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:17:47 +0000 (0:00:00.065) 0:00:45.355 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.544) 0:00:45.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.027) 0:00:45.928 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.026) 0:00:45.955 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.022) 0:00:45.977 ***** 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, 821613e2-64ae-41fc-8393-c34d2516de6b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.359) 0:00:46.336 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.023) 0:00:46.360 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 821613e2-64ae-41fc-8393-c34d2516de6b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.024) 0:00:46.385 ***** 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, 821613e2-64ae-41fc-8393-c34d2516de6b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 821613e2-64ae-41fc-8393-c34d2516de6b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.024) 0:00:46.409 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.022) 0:00:46.431 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.200) 0:00:46.632 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.070) 0:00:46.703 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:17:48 +0000 (0:00:00.041) 0:00:46.744 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708571858.9257288, "block_size": 4096, "blocks": 0, "ctime": 1708571858.9257288, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41080, "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": 1708571858.9257288, "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_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.210) 0:00:46.954 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.025) 0:00:46.980 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.039) 0:00:47.019 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.023) 0:00:47.042 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.204) 0:00:47.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.022) 0:00:47.269 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022092", "end": "2024-02-22 03:17:49.681761", "rc": 0, "start": "2024-02-22 03:17:49.659669" } 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.230) 0:00:47.499 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.025) 0:00:47.525 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.023) 0:00:47.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.023) 0:00:47.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.044) 0:00:47.616 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.025) 0:00:47.641 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.026) 0:00:47.668 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.025) 0:00:47.693 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.023) 0:00:47.717 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.022) 0:00:47.739 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:17:49 +0000 (0:00:00.022) 0:00:47.761 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:17:50 +0000 (0:00:00.042) 0:00:47.804 ***** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.069557", "end": "2024-02-22 03:17:50.267964", "rc": 0, "start": "2024-02-22 03:17:50.198407" } STDOUT: Connection 'statebr' (821613e2-64ae-41fc-8393-c34d2516de6b) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tests_states.yml:83 Thursday 22 February 2024 03:17:50 +0000 (0:00:00.288) 0:00:48.092 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:17:50 +0000 (0:00:00.039) 0:00:48.131 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:17:50 +0000 (0:00:00.022) 0:00:48.154 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:17:50 +0000 (0:00:00.045) 0:00:48.200 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:17:50 +0000 (0:00:00.060) 0:00:48.261 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:17:50 +0000 (0:00:00.036) 0:00:48.297 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004746", "end": "2024-02-22 03:17:51.691670", "rc": 0, "start": "2024-02-22 03:17:50.686924" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:17:51 +0000 (0:00:01.213) 0:00:49.511 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:17:51 +0000 (0:00:00.024) 0:00:49.535 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:17:51 +0000 (0:00:00.023) 0:00:49.559 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:17:51 +0000 (0:00:00.045) 0:00:49.605 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:17:51 +0000 (0:00:00.040) 0:00:49.645 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:17:51 +0000 (0:00:00.064) 0:00:49.710 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:17:51 +0000 (0:00:00.028) 0:00:49.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:17:51 +0000 (0:00:00.022) 0:00:49.761 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:17:52 +0000 (0:00:00.022) 0:00:49.783 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:17:54 +0000 (0:00:02.144) 0:00:51.928 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:17:55 +0000 (0:00:00.927) 0:00:52.856 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:17:55 +0000 (0:00:00.025) 0:00:52.881 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:17:55 +0000 (0:00:00.040) 0:00:52.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:17:55 +0000 (0:00:00.029) 0:00:52.951 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:17:59 +0000 (0:00:04.213) 0:00:57.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:17:59 +0000 (0:00:00.022) 0:00:57.187 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:17:59 +0000 (0:00:00.026) 0:00:57.214 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:17:59 +0000 (0:00:00.044) 0:00:57.258 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:17:59 +0000 (0:00:00.022) 0:00:57.281 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:17:59 +0000 (0:00:00.022) 0:00:57.303 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:17:59 +0000 (0:00:00.025) 0:00:57.328 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.550) 0:00:57.879 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.026) 0:00:57.906 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.022) 0:00:57.928 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.022) 0:00:57.951 ***** 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, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.416) 0:00:58.368 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.022) 0:00:58.390 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.023) 0:00:58.413 ***** 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, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.022) 0:00:58.436 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.022) 0:00:58.459 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.203) 0:00:58.662 ***** 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, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.025) 0:00:58.688 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:18:00 +0000 (0:00:00.039) 0:00:58.728 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:18:01 +0000 (0:00:00.069) 0:00:58.797 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:18:01 +0000 (0:00:00.029) 0:00:58.826 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:18:01 +0000 (0:00:00.024) 0:00:58.851 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:18:01 +0000 (0:00:00.027) 0:00:58.879 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:18:03 +0000 (0:00:02.153) 0:01:01.032 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:18:04 +0000 (0:00:00.920) 0:01:01.953 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:18:04 +0000 (0:00:00.024) 0:01:01.978 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:18:04 +0000 (0:00:00.023) 0:01:02.002 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:18:04 +0000 (0:00:00.023) 0:01:02.026 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:18:08 +0000 (0:00:04.538) 0:01:06.565 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:18:08 +0000 (0:00:00.023) 0:01:06.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:18:08 +0000 (0:00:00.026) 0:01:06.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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:18:08 +0000 (0:00:00.044) 0:01:06.659 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:18:08 +0000 (0:00:00.022) 0:01:06.681 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:18:08 +0000 (0:00:00.042) 0:01:06.723 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:18:08 +0000 (0:00:00.026) 0:01:06.750 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:18:09 +0000 (0:00:00.553) 0:01:07.304 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:18:09 +0000 (0:00:00.026) 0:01:07.331 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:18:09 +0000 (0:00:00.022) 0:01:07.353 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:18:09 +0000 (0:00:00.024) 0:01:07.377 ***** 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, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:18:09 +0000 (0:00:00.364) 0:01:07.742 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:18:09 +0000 (0:00:00.022) 0:01:07.765 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.023) 0:01:07.788 ***** 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, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.023) 0:01:07.811 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.023) 0:01:07.835 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.200) 0:01:08.036 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.066) 0:01:08.103 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.044) 0:01:08.147 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.046) 0:01:08.194 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.029) 0:01:08.223 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.024) 0:01:08.248 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:18:10 +0000 (0:00:00.054) 0:01:08.303 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:18:12 +0000 (0:00:02.146) 0:01:10.450 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:18:13 +0000 (0:00:00.897) 0:01:11.348 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:18:13 +0000 (0:00:00.026) 0:01:11.374 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:18:13 +0000 (0:00:00.025) 0:01:11.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:18:13 +0000 (0:00:00.026) 0:01:11.426 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:18:18 +0000 (0:00:04.399) 0:01:15.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.028) 0:01:15.854 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.026) 0:01:15.881 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.044) 0:01:15.925 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.022) 0:01:15.948 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.022) 0:01:15.971 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.068) 0:01:16.040 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.568) 0:01:16.608 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.034) 0:01:16.642 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.023) 0:01:16.666 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:18:18 +0000 (0:00:00.023) 0:01:16.689 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.393) 0:01:17.082 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.023) 0:01:17.106 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.022) 0:01:17.129 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.025) 0:01:17.155 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.023) 0:01:17.179 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.201) 0:01:17.380 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.073) 0:01:17.454 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.048) 0:01:17.502 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708571880.4966524, "block_size": 4096, "blocks": 0, "ctime": 1708571880.4966524, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41211, "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": 1708571880.4966524, "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_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.209) 0:01:17.712 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.025) 0:01:17.738 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:18:19 +0000 (0:00:00.044) 0:01:17.782 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.025) 0:01:17.807 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.246) 0:01:18.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.034) 0:01:18.089 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021811", "end": "2024-02-22 03:18:20.505633", "rc": 1, "start": "2024-02-22 03:18:20.483822" } 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.235) 0:01:18.324 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.023) 0:01:18.347 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.023) 0:01:18.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.055) 0:01:18.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.026) 0:01:18.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.027) 0:01:18.480 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.026) 0:01:18.507 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.025) 0:01:18.532 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.025) 0:01:18.558 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:18:20 +0000 (0:00:00.042) 0:01:18.600 ***** 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.069635", "end": "2024-02-22 03:18:21.060061", "rc": 1, "start": "2024-02-22 03:18:20.990426" } STDOUT: Connection 'statebr' (0aaca0ef-57e5-4cc7-94e1-3c5e8d9afed1) 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_hotfixxhde1ubc/tests/playbooks/tests_states.yml:103 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.283) 0:01:18.883 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.039) 0:01:18.922 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.023) 0:01:18.946 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.044) 0:01:18.990 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.037) 0:01:19.028 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.064) 0:01:19.093 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003598", "end": "2024-02-22 03:18:21.487807", "rc": 0, "start": "2024-02-22 03:18:21.484209" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.211) 0:01:19.304 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.023) 0:01:19.327 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.025) 0:01:19.353 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.049) 0:01:19.403 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.042) 0:01:19.446 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.068) 0:01:19.514 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.043) 0:01:19.558 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.031) 0:01:19.589 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:18:21 +0000 (0:00:00.025) 0:01:19.614 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:18:23 +0000 (0:00:02.134) 0:01:21.749 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:18:24 +0000 (0:00:00.904) 0:01:22.653 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:18:24 +0000 (0:00:00.023) 0:01:22.676 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:18:24 +0000 (0:00:00.040) 0:01:22.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:18:24 +0000 (0:00:00.022) 0:01:22.739 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:18:29 +0000 (0:00:04.527) 0:01:27.267 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:18:29 +0000 (0:00:00.023) 0:01:27.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:18:29 +0000 (0:00:00.027) 0:01:27.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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:18:29 +0000 (0:00:00.045) 0:01:27.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:18:29 +0000 (0:00:00.042) 0:01:27.406 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:18:29 +0000 (0:00:00.025) 0:01:27.432 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:18:29 +0000 (0:00:00.027) 0:01:27.459 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.547) 0:01:28.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.029) 0:01:28.036 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.023) 0:01:28.059 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.022) 0:01:28.082 ***** 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, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.411) 0:01:28.493 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.023) 0:01:28.517 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.022) 0:01:28.540 ***** 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, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.023) 0:01:28.563 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:18:30 +0000 (0:00:00.022) 0:01:28.586 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:18:31 +0000 (0:00:00.224) 0:01:28.811 ***** 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, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:18:31 +0000 (0:00:00.024) 0:01:28.835 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:18:31 +0000 (0:00:00.038) 0:01:28.874 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:18:31 +0000 (0:00:00.043) 0:01:28.917 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:18:31 +0000 (0:00:00.028) 0:01:28.946 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:18:31 +0000 (0:00:00.023) 0:01:28.970 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:18:31 +0000 (0:00:00.025) 0:01:28.995 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:18:33 +0000 (0:00:02.152) 0:01:31.147 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:18:34 +0000 (0:00:00.896) 0:01:32.044 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:18:34 +0000 (0:00:00.023) 0:01:32.068 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:18:34 +0000 (0:00:00.024) 0:01:32.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:18:34 +0000 (0:00:00.025) 0:01:32.118 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:18:38 +0000 (0:00:04.549) 0:01:36.667 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:18:38 +0000 (0:00:00.026) 0:01:36.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:18:38 +0000 (0:00:00.026) 0:01:36.720 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:18:38 +0000 (0:00:00.044) 0:01:36.764 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:18:39 +0000 (0:00:00.022) 0:01:36.787 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:18:39 +0000 (0:00:00.041) 0:01:36.828 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:18:39 +0000 (0:00:00.026) 0:01:36.855 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:18:39 +0000 (0:00:00.544) 0:01:37.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:18:39 +0000 (0:00:00.026) 0:01:37.426 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:18:39 +0000 (0:00:00.023) 0:01:37.450 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:18:39 +0000 (0:00:00.022) 0:01:37.472 ***** 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, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.361) 0:01:37.834 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.022) 0:01:37.856 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.024) 0:01:37.881 ***** 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, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5969eaa6-bb5f-4b0c-83e9-586ef68351ac skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.024) 0:01:37.905 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.022) 0:01:37.927 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove_profile.yml:3 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.200) 0:01:38.128 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.069) 0:01:38.197 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.049) 0:01:38.247 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.031) 0:01:38.278 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.028) 0:01:38.306 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:18:40 +0000 (0:00:00.035) 0:01:38.342 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:18:42 +0000 (0:00:02.163) 0:01:40.506 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:18:43 +0000 (0:00:00.901) 0:01:41.408 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:18:43 +0000 (0:00:00.024) 0:01:41.432 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:18:43 +0000 (0:00:00.022) 0:01:41.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:18:43 +0000 (0:00:00.022) 0:01:41.478 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:18:48 +0000 (0:00:04.603) 0:01:46.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:18:48 +0000 (0:00:00.022) 0:01:46.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:18:48 +0000 (0:00:00.025) 0:01:46.129 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:18:48 +0000 (0:00:00.044) 0:01:46.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:18:48 +0000 (0:00:00.021) 0:01:46.196 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:18:48 +0000 (0:00:00.041) 0:01:46.237 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:18:48 +0000 (0:00:00.027) 0:01:46.265 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.544) 0:01:46.809 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.026) 0:01:46.835 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.022) 0:01:46.857 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.022) 0:01:46.880 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.397) 0:01:47.277 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.023) 0:01:47.300 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.026) 0:01:47.327 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.024) 0:01:47.351 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.022) 0:01:47.374 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.201) 0:01:47.576 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.070) 0:01:47.646 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.043) 0:01:47.690 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.044) 0:01:47.734 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:18:49 +0000 (0:00:00.046) 0:01:47.780 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:18:50 +0000 (0:00:00.043) 0:01:47.823 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:18:50 +0000 (0:00:00.051) 0:01:47.875 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:18:52 +0000 (0:00:02.191) 0:01:50.067 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:18:53 +0000 (0:00:00.901) 0:01:50.968 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:18:53 +0000 (0:00:00.024) 0:01:50.992 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:18:53 +0000 (0:00:00.024) 0:01:51.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:18:53 +0000 (0:00:00.031) 0:01:51.049 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:18:57 +0000 (0:00:04.401) 0:01:55.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:18:57 +0000 (0:00:00.025) 0:01:55.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:18:57 +0000 (0:00:00.036) 0:01:55.512 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:18:57 +0000 (0:00:00.048) 0:01:55.560 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:18:57 +0000 (0:00:00.054) 0:01:55.615 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:18:57 +0000 (0:00:00.105) 0:01:55.720 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:18:57 +0000 (0:00:00.028) 0:01:55.749 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:18:58 +0000 (0:00:00.549) 0:01:56.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:18:58 +0000 (0:00:00.028) 0:01:56.326 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:18:58 +0000 (0:00:00.028) 0:01:56.355 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:18:58 +0000 (0:00:00.027) 0:01:56.383 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.459) 0:01:56.843 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.028) 0:01:56.872 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.024) 0:01:56.897 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.024) 0:01:56.921 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.022) 0:01:56.944 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.202) 0:01:57.147 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.088) 0:01:57.235 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.040) 0:01:57.275 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.033) 0:01:57.308 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.208) 0:01:57.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.024) 0:01:57.541 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020980", "end": "2024-02-22 03:18:59.952048", "rc": 1, "start": "2024-02-22 03:18:59.931068" } 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:18:59 +0000 (0:00:00.228) 0:01:57.769 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.025) 0:01:57.795 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.026) 0:01:57.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.026) 0:01:57.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.024) 0:01:57.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.027) 0:01:57.901 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.034) 0:01:57.935 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.087) 0:01:58.023 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.069) 0:01:58.092 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.209) 0:01:58.301 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.028) 0:01:58.330 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.023) 0:01:58.353 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.044) 0:01:58.397 ***** 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.041448", "end": "2024-02-22 03:19:00.831421", "rc": 1, "start": "2024-02-22 03:19:00.789973" } 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_hotfixxhde1ubc/tests/playbooks/tests_states.yml:126 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.251) 0:01:58.649 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:5 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.040) 0:01:58.690 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:9 Thursday 22 February 2024 03:19:00 +0000 (0:00:00.030) 0:01:58.720 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:21 Thursday 22 February 2024 03:19:01 +0000 (0:00:00.069) 0:01:58.789 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 03:19:01 +0000 (0:00:00.084) 0:01:58.874 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 03:19:01 +0000 (0:00:00.055) 0:01:58.929 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004660", "end": "2024-02-22 03:19:02.336054", "rc": 0, "start": "2024-02-22 03:19:01.331394" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 03:19:02 +0000 (0:00:01.226) 0:02:00.155 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.025) 0:02:00.181 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:24 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.026) 0:02:00.208 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.063) 0:02:00.271 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.044) 0:02:00.315 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.073) 0:02:00.388 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.028) 0:02:00.417 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.022) 0:02:00.440 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:19:02 +0000 (0:00:00.022) 0:02:00.462 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:19:04 +0000 (0:00:02.146) 0:02:02.608 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:19:05 +0000 (0:00:00.926) 0:02:03.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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:19:05 +0000 (0:00:00.034) 0:02:03.569 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:19:05 +0000 (0:00:00.025) 0:02:03.595 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:19:05 +0000 (0:00:00.029) 0:02:03.624 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:19:10 +0000 (0:00:04.329) 0:02:07.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.023) 0:02:07.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.028) 0:02:08.005 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.046) 0:02:08.052 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.024) 0:02:08.076 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.025) 0:02:08.102 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.027) 0:02:08.130 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.560) 0:02:08.690 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.029) 0:02:08.719 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.022) 0:02:08.742 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:19:10 +0000 (0:00:00.024) 0:02:08.767 ***** 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, e0858702-0d47-445d-abf1-5d712cfb9263 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.419) 0:02:09.186 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.023) 0:02:09.210 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0858702-0d47-445d-abf1-5d712cfb9263" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.025) 0:02:09.236 ***** 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, e0858702-0d47-445d-abf1-5d712cfb9263\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0858702-0d47-445d-abf1-5d712cfb9263" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.027) 0:02:09.263 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.023) 0:02:09.287 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.203) 0:02:09.490 ***** 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, e0858702-0d47-445d-abf1-5d712cfb9263\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e0858702-0d47-445d-abf1-5d712cfb9263" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.025) 0:02:09.515 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.076) 0:02:09.592 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.046) 0:02:09.638 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.029) 0:02:09.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.024) 0:02:09.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:19:11 +0000 (0:00:00.024) 0:02:09.717 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:19:14 +0000 (0:00:02.140) 0:02:11.857 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:19:14 +0000 (0:00:00.924) 0:02:12.782 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:19:15 +0000 (0:00:00.025) 0:02:12.807 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:19:15 +0000 (0:00:00.025) 0:02:12.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:19:15 +0000 (0:00:00.032) 0:02:12.865 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:19:19 +0000 (0:00:04.455) 0:02:17.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:19:19 +0000 (0:00:00.028) 0:02:17.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:19:19 +0000 (0:00:00.030) 0:02:17.379 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:19:19 +0000 (0:00:00.050) 0:02:17.430 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:19:19 +0000 (0:00:00.024) 0:02:17.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:19:19 +0000 (0:00:00.038) 0:02:17.493 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:19:19 +0000 (0:00:00.053) 0:02:17.546 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.554) 0:02:18.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.030) 0:02:18.130 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.022) 0:02:18.153 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.022) 0:02:18.176 ***** 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, e0858702-0d47-445d-abf1-5d712cfb9263 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.363) 0:02:18.540 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.022) 0:02:18.562 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0858702-0d47-445d-abf1-5d712cfb9263 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.023) 0:02:18.586 ***** 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, e0858702-0d47-445d-abf1-5d712cfb9263 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e0858702-0d47-445d-abf1-5d712cfb9263 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.025) 0:02:18.611 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:19:20 +0000 (0:00:00.023) 0:02:18.635 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:19:21 +0000 (0:00:00.201) 0:02:18.837 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:19:21 +0000 (0:00:00.063) 0:02:18.901 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:19:21 +0000 (0:00:00.045) 0:02:18.946 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:19:21 +0000 (0:00:00.031) 0:02:18.977 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:19:21 +0000 (0:00:00.039) 0:02:19.017 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:19:21 +0000 (0:00:00.033) 0:02:19.050 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:19:23 +0000 (0:00:02.154) 0:02:21.205 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:19:24 +0000 (0:00:00.922) 0:02:22.127 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:19:24 +0000 (0:00:00.024) 0:02:22.152 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:19:24 +0000 (0:00:00.025) 0:02:22.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:19:24 +0000 (0:00:00.024) 0:02:22.202 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:19:28 +0000 (0:00:04.164) 0:02:26.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:19:28 +0000 (0:00:00.023) 0:02:26.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:19:28 +0000 (0:00:00.034) 0:02:26.425 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:19:28 +0000 (0:00:00.048) 0:02:26.474 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:19:28 +0000 (0:00:00.023) 0:02:26.497 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:19:28 +0000 (0:00:00.041) 0:02:26.538 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:19:28 +0000 (0:00:00.031) 0:02:26.570 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:19:29 +0000 (0:00:00.596) 0:02:27.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:19:29 +0000 (0:00:00.027) 0:02:27.194 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:19:29 +0000 (0:00:00.023) 0:02:27.217 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:19:29 +0000 (0:00:00.024) 0:02:27.242 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:19:29 +0000 (0:00:00.470) 0:02:27.713 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:19:29 +0000 (0:00:00.024) 0:02:27.737 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:19:29 +0000 (0:00:00.031) 0:02:27.768 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.025) 0:02:27.794 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.021) 0:02:27.816 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:30 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.203) 0:02:28.019 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.082) 0:02:28.102 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.044) 0:02:28.146 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.048) 0:02:28.195 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.030) 0:02:28.226 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.025) 0:02:28.251 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 22 February 2024 03:19:30 +0000 (0:00:00.027) 0:02:28.278 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 22 February 2024 03:19:32 +0000 (0:00:02.153) 0:02:30.431 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 22 February 2024 03:19:33 +0000 (0:00:00.902) 0:02:31.334 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 22 February 2024 03:19:33 +0000 (0:00:00.024) 0:02:31.359 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 22 February 2024 03:19:33 +0000 (0:00:00.027) 0:02:31.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 22 February 2024 03:19:33 +0000 (0:00:00.023) 0:02:31.409 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:39 Thursday 22 February 2024 03:19:38 +0000 (0:00:05.141) 0:02:36.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:49 Thursday 22 February 2024 03:19:38 +0000 (0:00:00.022) 0:02:36.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:66 Thursday 22 February 2024 03:19:38 +0000 (0:00:00.026) 0:02:36.600 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Thursday 22 February 2024 03:19:38 +0000 (0:00:00.046) 0:02:36.647 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:94 Thursday 22 February 2024 03:19:38 +0000 (0:00:00.024) 0:02:36.671 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:111 Thursday 22 February 2024 03:19:38 +0000 (0:00:00.023) 0:02:36.694 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 22 February 2024 03:19:38 +0000 (0:00:00.047) 0:02:36.741 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:136 Thursday 22 February 2024 03:19:39 +0000 (0:00:00.548) 0:02:37.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:145 Thursday 22 February 2024 03:19:39 +0000 (0:00:00.034) 0:02:37.324 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:153 Thursday 22 February 2024 03:19:39 +0000 (0:00:00.023) 0:02:37.348 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 22 February 2024 03:19:39 +0000 (0:00:00.024) 0:02:37.373 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:174 Thursday 22 February 2024 03:19:39 +0000 (0:00:00.394) 0:02:37.767 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.024) 0:02:37.792 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:184 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.025) 0:02:37.818 ***** 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_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:189 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.026) 0:02:37.844 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.023) 0:02:37.867 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:36 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.200) 0:02:38.067 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.071) 0:02:38.139 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.043) 0:02:38.182 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.025) 0:02:38.208 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.211) 0:02:38.420 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.028) 0:02:38.448 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020728", "end": "2024-02-22 03:19:40.859789", "rc": 1, "start": "2024-02-22 03:19:40.839061" } 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.238) 0:02:38.687 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.027) 0:02:38.714 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 03:19:40 +0000 (0:00:00.041) 0:02:38.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.039) 0:02:38.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.031) 0:02:38.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.033) 0:02:38.860 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.034) 0:02:38.895 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360413", "end": "2024-02-22 03:19:41.660584", "rc": 0, "start": "2024-02-22 03:19:41.300171" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.614) 0:02:39.510 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.026) 0:02:39.536 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:42 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.023) 0:02:39.559 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.047) 0:02:39.607 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 03:19:41 +0000 (0:00:00.039) 0:02:39.647 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 22 February 2024 03:19:42 +0000 (0:00:00.206) 0:02:39.853 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:47 Thursday 22 February 2024 03:19:42 +0000 (0:00:00.030) 0:02:39.884 ***** 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_hotfixxhde1ubc/tests/playbooks/tasks/run_test.yml:66 Thursday 22 February 2024 03:19:42 +0000 (0:00:00.024) 0:02:39.908 ***** included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 22 February 2024 03:19:42 +0000 (0:00:00.051) 0:02:39.960 ***** 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.041226", "end": "2024-02-22 03:19:42.396426", "rc": 1, "start": "2024-02-22 03:19:42.355200" } 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_hotfixxhde1ubc/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 22 February 2024 03:19:42 +0000 (0:00:00.253) 0:02:40.213 ***** 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.008484", "end": "2024-02-22 03:19:42.610850", "rc": 0, "start": "2024-02-22 03:19:42.602366" } 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 02:e7:32:4a:3e:bd brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.47.49/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3530sec preferred_lft 3530sec inet6 fe80::e7:32ff:fe4a:3ebd/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.49 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.49 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_hotfixxhde1ubc/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 22 February 2024 03:19:42 +0000 (0:00:00.239) 0:02:40.453 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=333 changed=10 unreachable=0 failed=0 skipped=283 rescued=0 ignored=10 Thursday 22 February 2024 03:19:42 +0000 (0:00:00.013) 0:02:40.467 ***** =============================================================================== linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 21.49s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 18.17s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager -- 13.71s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager --- 9.00s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Check if updates for network packages are available through the DNF package manager --- 4.57s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 2.89s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.20s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.19s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/main.yml:162 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-nm_plugin_hotfixxhde1ubc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---