# 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_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/tests_states_nm.yml:6 Tuesday 20 February 2024 20:41:28 +0000 (0:00:00.031) 0:00:00.031 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tests_states_nm.yml:9 Tuesday 20 February 2024 20:41:29 +0000 (0:00:00.759) 0:00:00.791 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:3 Tuesday 20 February 2024 20:41:29 +0000 (0:00:00.023) 0:00:00.814 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:19 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.321) 0:00:01.136 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:24 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.279) 0:00:01.415 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:28 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.026) 0:00:01.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/el_repo_setup.yml:53 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.033) 0:00:01.476 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:8 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.038) 0:00:01.514 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:24 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.358) 0:00:01.873 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:30 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.018) 0:00:01.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:35 Tuesday 20 February 2024 20:41:30 +0000 (0:00:00.023) 0:00:01.915 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.239271", "end": "2024-02-20 20:41:32.225022", "rc": 0, "start": "2024-02-20 20:41:30.985751" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tasks/enable_epel.yml:40 Tuesday 20 February 2024 20:41:32 +0000 (0:00:01.460) 0:00:03.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/tests_states_nm.yml:11 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.011) 0:00:03.387 ****** 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_hotfixx_wcrngk/tests/playbooks/tests_states.yml:3 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.027) 0:00:03.415 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:11 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.497) 0:00:03.912 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:22 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.038) 0:00:03.951 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.067) 0:00:04.019 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.030) 0:00:04.049 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.050) 0:00:04.100 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:41:32 +0000 (0:00:00.018) 0:00:04.118 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.016) 0:00:04.135 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003364", "end": "2024-02-20 20:41:33.192492", "rc": 0, "start": "2024-02-20 20:41:33.189128" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.243) 0:00:04.378 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.057) 0:00:04.436 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.032) 0:00:04.468 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.079) 0:00:04.548 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007930", "end": "2024-02-20 20:41:33.634644", "rc": 1, "start": "2024-02-20 20:41:33.626714" } 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.268) 0:00:04.817 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.037) 0:00:04.855 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:41:33 +0000 (0:00:00.242) 0:00:05.097 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.081) 0:00:05.179 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.024) 0:00:05.203 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.086) 0:00:05.290 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.153) 0:00:05.443 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.014) 0:00:05.458 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.027) 0:00:05.485 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:34 +0000 (0:00:00.028) 0:00:05.513 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:36 +0000 (0:00:01.797) 0:00:07.310 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:41:38 +0000 (0:00:02.176) 0:00:09.487 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.262) 0:00:09.749 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.098) 0:00:09.848 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.083) 0:00:09.931 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:41:38 +0000 (0:00:00.149) 0:00:10.080 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.077) 0:00:10.158 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.095) 0:00:10.253 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.064) 0:00:10.318 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.105) 0:00:10.424 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.611) 0:00:11.036 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:41:39 +0000 (0:00:00.080) 0:00:11.116 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.080) 0:00:11.197 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.056) 0:00:11.253 ****** 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, a216a33b-4b16-4238-bb37-50b70bf3a8c7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.548) 0:00:11.801 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.042) 0:00:11.844 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a216a33b-4b16-4238-bb37-50b70bf3a8c7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.026) 0:00:11.870 ****** 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, a216a33b-4b16-4238-bb37-50b70bf3a8c7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a216a33b-4b16-4238-bb37-50b70bf3a8c7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.062) 0:00:11.932 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:41:40 +0000 (0:00:00.035) 0:00:11.968 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:41:41 +0000 (0:00:00.319) 0:00:12.287 ****** 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, a216a33b-4b16-4238-bb37-50b70bf3a8c7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a216a33b-4b16-4238-bb37-50b70bf3a8c7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:41:41 +0000 (0:00:00.027) 0:00:12.314 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:41:41 +0000 (0:00:00.093) 0:00:12.407 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:41:41 +0000 (0:00:00.060) 0:00:12.468 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:41:41 +0000 (0:00:00.077) 0:00:12.546 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461700.6325245, "block_size": 4096, "blocks": 8, "ctime": 1708461700.5685275, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461700.5685275, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:41:41 +0000 (0:00:00.260) 0:00:12.806 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:41:41 +0000 (0:00:00.069) 0:00:12.875 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020808", "end": "2024-02-20 20:41:41.961943", "rc": 0, "start": "2024-02-20 20:41:41.941135" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.293) 0:00:13.168 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.090) 0:00:13.259 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.046) 0:00:13.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.094) 0:00:13.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.057) 0:00:13.459 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.050) 0:00:13.509 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.049) 0:00:13.559 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.105) 0:00:13.664 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.030) 0:00:13.695 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.060) 0:00:13.756 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.067) 0:00:13.823 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461700.570696, "block_size": 4096, "blocks": 0, "ctime": 1708461700.570696, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36071, "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": 1708461700.570696, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.232) 0:00:14.056 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:41:42 +0000 (0:00:00.034) 0:00:14.090 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.116) 0:00:14.207 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.156) 0:00:14.363 ****** 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.060838", "end": "2024-02-20 20:41:43.521158", "rc": 1, "start": "2024-02-20 20:41:43.460320" } STDOUT: Connection 'statebr' (a216a33b-4b16-4238-bb37-50b70bf3a8c7) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:45 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.357) 0:00:14.721 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.123) 0:00:14.844 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.024) 0:00:14.868 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.138) 0:00:15.007 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:41:43 +0000 (0:00:00.042) 0:00:15.049 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.174) 0:00:15.224 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003297", "end": "2024-02-20 20:41:44.388443", "rc": 0, "start": "2024-02-20 20:41:44.385146" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.343) 0:00:15.567 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.069) 0:00:15.637 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.059) 0:00:15.697 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.143) 0:00:15.841 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006256", "end": "2024-02-20 20:41:44.923752", "rc": 1, "start": "2024-02-20 20:41:44.917496" } 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:41:44 +0000 (0:00:00.280) 0:00:16.122 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.086) 0:00:16.208 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.281) 0:00:16.489 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.046) 0:00:16.536 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.064) 0:00:16.600 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.075) 0:00:16.675 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.100) 0:00:16.775 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.043) 0:00:16.819 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.082) 0:00:16.902 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:45 +0000 (0:00:00.057) 0:00:16.959 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:47 +0000 (0:00:01.497) 0:00:18.457 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:41:48 +0000 (0:00:01.443) 0:00:19.900 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:41:48 +0000 (0:00:00.041) 0:00:19.942 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:41:48 +0000 (0:00:00.035) 0:00:19.977 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:41:48 +0000 (0:00:00.082) 0:00:20.060 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.103) 0:00:20.163 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.094) 0:00:20.257 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.072) 0:00:20.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.056) 0:00:20.385 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.028) 0:00:20.414 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.429) 0:00:20.843 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.052) 0:00:20.896 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.030) 0:00:20.927 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:41:49 +0000 (0:00:00.041) 0:00:20.968 ****** 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, b92a1e91-d88b-4aff-8f79-c06148f57468 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.530) 0:00:21.499 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.107) 0:00:21.607 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b92a1e91-d88b-4aff-8f79-c06148f57468" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.103) 0:00:21.710 ****** 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, b92a1e91-d88b-4aff-8f79-c06148f57468\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b92a1e91-d88b-4aff-8f79-c06148f57468" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.136) 0:00:21.847 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:41:50 +0000 (0:00:00.153) 0:00:22.001 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.402) 0:00:22.403 ****** 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, b92a1e91-d88b-4aff-8f79-c06148f57468\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b92a1e91-d88b-4aff-8f79-c06148f57468" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.137) 0:00:22.541 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.065) 0:00:22.606 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.055) 0:00:22.662 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.284) 0:00:22.946 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.034) 0:00:22.980 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.077) 0:00:23.057 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:41:51 +0000 (0:00:00.026) 0:00:23.083 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461710.2440581, "block_size": 4096, "blocks": 8, "ctime": 1708461710.2440581, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461710.2440581, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.286) 0:00:23.370 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.054) 0:00:23.424 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019410", "end": "2024-02-20 20:41:52.474843", "rc": 0, "start": "2024-02-20 20:41:52.455433" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.249) 0:00:23.674 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.025) 0:00:23.700 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.024) 0:00:23.724 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.026) 0:00:23.751 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.179) 0:00:23.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:41:52 +0000 (0:00:00.093) 0:00:24.024 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.119) 0:00:24.143 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.038) 0:00:24.181 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.078) 0:00:24.259 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.044) 0:00:24.303 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.055) 0:00:24.358 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.095) 0:00:24.454 ****** 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.041444", "end": "2024-02-20 20:41:53.553618", "rc": 1, "start": "2024-02-20 20:41:53.512174" } STDOUT: Connection 'statebr' (b92a1e91-d88b-4aff-8f79-c06148f57468) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:65 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.267) 0:00:24.721 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.052) 0:00:24.774 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.031) 0:00:24.805 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.062) 0:00:24.867 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.217) 0:00:25.085 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:41:53 +0000 (0:00:00.042) 0:00:25.128 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002961", "end": "2024-02-20 20:41:54.189606", "rc": 0, "start": "2024-02-20 20:41:54.186645" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.276) 0:00:25.405 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.040) 0:00:25.445 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.031) 0:00:25.476 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.046) 0:00:25.523 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.038) 0:00:25.561 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.042) 0:00:25.604 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.030) 0:00:25.634 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.022) 0:00:25.657 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:54 +0000 (0:00:00.023) 0:00:25.680 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:41:56 +0000 (0:00:01.507) 0:00:27.187 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:41:57 +0000 (0:00:01.473) 0:00:28.660 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.051) 0:00:28.712 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.034) 0:00:28.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.035) 0:00:28.782 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.068) 0:00:28.850 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.067) 0:00:28.918 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.038) 0:00:28.957 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.045) 0:00:29.002 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:41:57 +0000 (0:00:00.048) 0:00:29.051 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:41:58 +0000 (0:00:00.448) 0:00:29.499 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:41:58 +0000 (0:00:00.075) 0:00:29.575 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:41:58 +0000 (0:00:00.046) 0:00:29.622 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:41:58 +0000 (0:00:00.083) 0:00:29.706 ****** 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, 19737099-c035-4e9e-a242-22744f0eaa85 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.525) 0:00:30.231 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.021) 0:00:30.252 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 19737099-c035-4e9e-a242-22744f0eaa85" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.029) 0:00:30.282 ****** 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, 19737099-c035-4e9e-a242-22744f0eaa85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 19737099-c035-4e9e-a242-22744f0eaa85" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.030) 0:00:30.312 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.048) 0:00:30.361 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.231) 0:00:30.592 ****** 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, 19737099-c035-4e9e-a242-22744f0eaa85\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 19737099-c035-4e9e-a242-22744f0eaa85" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.033) 0:00:30.626 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.079) 0:00:30.705 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.071) 0:00:30.777 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.162) 0:00:30.939 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.081) 0:00:31.021 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.068) 0:00:31.089 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:41:59 +0000 (0:00:00.043) 0:00:31.133 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:01 +0000 (0:00:01.550) 0:00:32.683 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:02 +0000 (0:00:01.325) 0:00:34.008 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.049) 0:00:34.058 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:02 +0000 (0:00:00.041) 0:00:34.100 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.074) 0:00:34.174 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.062) 0:00:34.237 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.045) 0:00:34.282 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.046) 0:00:34.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.071) 0:00:34.400 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.029) 0:00:34.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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.374) 0:00:34.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.051) 0:00:34.855 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.046) 0:00:34.902 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:03 +0000 (0:00:00.056) 0:00:34.959 ****** 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, 19737099-c035-4e9e-a242-22744f0eaa85 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.480) 0:00:35.439 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.044) 0:00:35.483 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 19737099-c035-4e9e-a242-22744f0eaa85 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.094) 0:00:35.577 ****** 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, 19737099-c035-4e9e-a242-22744f0eaa85 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 19737099-c035-4e9e-a242-22744f0eaa85 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.041) 0:00:35.618 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.044) 0:00:35.662 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.244) 0:00:35.907 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.063) 0:00:35.971 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:42:04 +0000 (0:00:00.056) 0:00:36.028 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461719.0099547, "block_size": 4096, "blocks": 0, "ctime": 1708461719.0099547, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36202, "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": 1708461719.0099547, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:42:05 +0000 (0:00:00.253) 0:00:36.281 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 20 February 2024 20:42:05 +0000 (0:00:00.055) 0:00:36.337 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:42:05 +0000 (0:00:00.070) 0:00:36.408 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:42:05 +0000 (0:00:00.098) 0:00:36.506 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461719.054631, "block_size": 4096, "blocks": 8, "ctime": 1708461719.0086331, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708461719.0086331, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:42:05 +0000 (0:00:00.229) 0:00:36.736 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:42:05 +0000 (0:00:00.059) 0:00:36.795 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019812", "end": "2024-02-20 20:42:05.953245", "rc": 0, "start": "2024-02-20 20:42:05.933433" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.358) 0:00:37.153 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.039) 0:00:37.193 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.064) 0:00:37.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.084) 0:00:37.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.308) 0:00:37.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.039) 0:00:37.689 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.083) 0:00:37.773 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.040) 0:00:37.813 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.111) 0:00:37.925 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.060) 0:00:37.985 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.057) 0:00:38.042 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:42:06 +0000 (0:00:00.075) 0:00:38.118 ****** 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.056212", "end": "2024-02-20 20:42:07.253554", "rc": 1, "start": "2024-02-20 20:42:07.197342" } STDOUT: Connection 'statebr' (19737099-c035-4e9e-a242-22744f0eaa85) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:83 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.341) 0:00:38.460 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.195) 0:00:38.656 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.099) 0:00:38.755 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.065) 0:00:38.820 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.090) 0:00:38.911 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:42:07 +0000 (0:00:00.155) 0:00:39.066 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003094", "end": "2024-02-20 20:42:08.208427", "rc": 0, "start": "2024-02-20 20:42:08.205333" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.309) 0:00:39.375 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.039) 0:00:39.415 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.033) 0:00:39.448 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.048) 0:00:39.496 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.091) 0:00:39.588 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.070) 0:00:39.658 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.056) 0:00:39.714 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.061) 0:00:39.776 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:08 +0000 (0:00:00.043) 0:00:39.820 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:10 +0000 (0:00:01.630) 0:00:41.451 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:11 +0000 (0:00:01.351) 0:00:42.803 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:11 +0000 (0:00:00.097) 0:00:42.901 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:11 +0000 (0:00:00.028) 0:00:42.929 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:11 +0000 (0:00:00.036) 0:00:42.966 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:11 +0000 (0:00:00.075) 0:00:43.042 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:11 +0000 (0:00:00.022) 0:00:43.064 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:11 +0000 (0:00:00.023) 0:00:43.088 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:12 +0000 (0:00:00.059) 0:00:43.148 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:12 +0000 (0:00:00.030) 0:00:43.179 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:12 +0000 (0:00:00.511) 0:00:43.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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:12 +0000 (0:00:00.162) 0:00:43.852 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:12 +0000 (0:00:00.028) 0:00:43.880 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:12 +0000 (0:00:00.026) 0:00:43.906 ****** 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, 0f63c483-5835-41f1-822c-0d957c8ae539 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.444) 0:00:44.351 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.038) 0:00:44.390 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f63c483-5835-41f1-822c-0d957c8ae539" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.088) 0:00:44.479 ****** 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, 0f63c483-5835-41f1-822c-0d957c8ae539\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f63c483-5835-41f1-822c-0d957c8ae539" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.052) 0:00:44.531 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.059) 0:00:44.591 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.296) 0:00:44.887 ****** 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, 0f63c483-5835-41f1-822c-0d957c8ae539\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0f63c483-5835-41f1-822c-0d957c8ae539" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.059) 0:00:44.947 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.053) 0:00:45.000 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.061) 0:00:45.062 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:13 +0000 (0:00:00.049) 0:00:45.111 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:14 +0000 (0:00:00.038) 0:00:45.150 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:14 +0000 (0:00:00.030) 0:00:45.180 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:15 +0000 (0:00:01.528) 0:00:46.709 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:16 +0000 (0:00:01.394) 0:00:48.104 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.048) 0:00:48.153 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.111) 0:00:48.264 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.031) 0:00:48.296 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.067) 0:00:48.364 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.045) 0:00:48.409 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.037) 0:00:48.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.076) 0:00:48.523 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:17 +0000 (0:00:00.149) 0:00:48.672 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.488) 0:00:49.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.086) 0:00:49.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.098) 0:00:49.345 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.077) 0:00:49.423 ****** 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, 0f63c483-5835-41f1-822c-0d957c8ae539 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.553) 0:00:49.976 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:18 +0000 (0:00:00.069) 0:00:50.046 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0f63c483-5835-41f1-822c-0d957c8ae539 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.108) 0:00:50.154 ****** 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, 0f63c483-5835-41f1-822c-0d957c8ae539 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0f63c483-5835-41f1-822c-0d957c8ae539 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.036) 0:00:50.191 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.054) 0:00:50.246 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.236) 0:00:50.482 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.051) 0:00:50.533 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.055) 0:00:50.589 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.172) 0:00:50.762 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.055) 0:00:50.817 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.050) 0:00:50.868 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:19 +0000 (0:00:00.098) 0:00:50.966 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:21 +0000 (0:00:01.502) 0:00:52.469 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:22 +0000 (0:00:01.373) 0:00:53.842 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.093) 0:00:53.935 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.037) 0:00:53.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.023) 0:00:53.996 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:22 +0000 (0:00:00.089) 0:00:54.085 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.057) 0:00:54.143 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.052) 0:00:54.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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.057) 0:00:54.253 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.111) 0:00:54.365 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.469) 0:00:54.835 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.035) 0:00:54.871 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.039) 0:00:54.910 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:23 +0000 (0:00:00.023) 0:00:54.933 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.443) 0:00:55.376 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.068) 0:00:55.445 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.063) 0:00:55.508 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.039) 0:00:55.547 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.106) 0:00:55.654 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.222) 0:00:55.876 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.092) 0:00:55.969 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:42:24 +0000 (0:00:00.056) 0:00:56.025 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1708461733.1171715, "block_size": 4096, "blocks": 0, "ctime": 1708461733.1171715, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36333, "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": 1708461733.1171715, "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_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.247) 0:00:56.272 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.025) 0:00:56.297 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.087) 0:00:56.385 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.053) 0:00:56.438 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.211) 0:00:56.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.026) 0:00:56.676 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019959", "end": "2024-02-20 20:42:25.726937", "rc": 1, "start": "2024-02-20 20:42:25.706978" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.230) 0:00:56.907 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.069) 0:00:56.976 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.028) 0:00:57.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.078) 0:00:57.083 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:42:25 +0000 (0:00:00.025) 0:00:57.109 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.037) 0:00:57.147 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.031) 0:00:57.179 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.025) 0:00:57.205 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.035) 0:00:57.240 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.106) 0:00:57.346 ****** 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.071735", "end": "2024-02-20 20:42:26.469777", "rc": 1, "start": "2024-02-20 20:42:26.398042" } STDOUT: Connection 'statebr' (0f63c483-5835-41f1-822c-0d957c8ae539) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:103 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.288) 0:00:57.635 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.070) 0:00:57.706 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.025) 0:00:57.731 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.049) 0:00:57.780 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.075) 0:00:57.855 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.039) 0:00:57.895 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003785", "end": "2024-02-20 20:42:26.936552", "rc": 0, "start": "2024-02-20 20:42:26.932767" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.204) 0:00:58.099 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:42:26 +0000 (0:00:00.034) 0:00:58.134 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:42:27 +0000 (0:00:00.024) 0:00:58.159 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:42:27 +0000 (0:00:00.083) 0:00:58.242 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:27 +0000 (0:00:00.101) 0:00:58.344 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:27 +0000 (0:00:00.148) 0:00:58.493 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:27 +0000 (0:00:00.069) 0:00:58.562 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:27 +0000 (0:00:00.048) 0:00:58.611 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:27 +0000 (0:00:00.036) 0:00:58.647 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:29 +0000 (0:00:01.605) 0:01:00.252 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:30 +0000 (0:00:01.340) 0:01:01.593 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.031) 0:01:01.624 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.039) 0:01:01.664 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.038) 0:01:01.703 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.047) 0:01:01.750 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.024) 0:01:01.775 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.024) 0:01:01.800 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.034) 0:01:01.834 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:30 +0000 (0:00:00.064) 0:01:01.898 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.356) 0:01:02.255 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.057) 0:01:02.313 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.048) 0:01:02.361 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.042) 0:01:02.404 ****** 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, 91210b44-2269-41ef-850d-ee71c78fe5f6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.403) 0:01:02.808 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.025) 0:01:02.833 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91210b44-2269-41ef-850d-ee71c78fe5f6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.032) 0:01:02.866 ****** 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, 91210b44-2269-41ef-850d-ee71c78fe5f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91210b44-2269-41ef-850d-ee71c78fe5f6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.066) 0:01:02.932 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:31 +0000 (0:00:00.057) 0:01:02.989 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:42:32 +0000 (0:00:00.218) 0:01:03.208 ****** 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, 91210b44-2269-41ef-850d-ee71c78fe5f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 91210b44-2269-41ef-850d-ee71c78fe5f6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:42:32 +0000 (0:00:00.031) 0:01:03.239 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:32 +0000 (0:00:00.038) 0:01:03.278 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:32 +0000 (0:00:00.126) 0:01:03.404 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:32 +0000 (0:00:00.046) 0:01:03.451 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:32 +0000 (0:00:00.029) 0:01:03.480 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:32 +0000 (0:00:00.024) 0:01:03.505 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:33 +0000 (0:00:01.517) 0:01:05.022 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:35 +0000 (0:00:01.478) 0:01:06.501 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.063) 0:01:06.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.064) 0:01:06.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.080) 0:01:06.709 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.193) 0:01:06.902 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.076) 0:01:06.979 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.052) 0:01:07.031 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:35 +0000 (0:00:00.029) 0:01:07.061 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.083) 0:01:07.144 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.411) 0:01:07.556 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.035) 0:01:07.591 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.039) 0:01:07.631 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.024) 0:01:07.656 ****** 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, 91210b44-2269-41ef-850d-ee71c78fe5f6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.336) 0:01:07.993 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.032) 0:01:08.025 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91210b44-2269-41ef-850d-ee71c78fe5f6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.038) 0:01:08.063 ****** 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, 91210b44-2269-41ef-850d-ee71c78fe5f6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 91210b44-2269-41ef-850d-ee71c78fe5f6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.026) 0:01:08.090 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:36 +0000 (0:00:00.022) 0:01:08.113 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.221) 0:01:08.334 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.145) 0:01:08.479 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.082) 0:01:08.562 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.064) 0:01:08.626 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.027) 0:01:08.654 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:37 +0000 (0:00:00.034) 0:01:08.689 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:39 +0000 (0:00:01.502) 0:01:10.191 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:40 +0000 (0:00:01.333) 0:01:11.524 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.076) 0:01:11.600 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.041) 0:01:11.642 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.032) 0:01:11.675 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.067) 0:01:11.742 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.033) 0:01:11.775 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.029) 0:01:11.805 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.027) 0:01:11.832 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:40 +0000 (0:00:00.029) 0:01:11.862 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.386) 0:01:12.248 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.062) 0:01:12.310 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.045) 0:01:12.356 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.036) 0:01:12.392 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.357) 0:01:12.749 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.048) 0:01:12.798 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.105) 0:01:12.904 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.031) 0:01:12.935 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:41 +0000 (0:00:00.093) 0:01:13.028 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.229) 0:01:13.257 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.080) 0:01:13.338 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.072) 0:01:13.411 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.084) 0:01:13.495 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.050) 0:01:13.545 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.062) 0:01:13.607 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:42 +0000 (0:00:00.073) 0:01:13.681 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:44 +0000 (0:00:01.567) 0:01:15.248 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:45 +0000 (0:00:01.435) 0:01:16.684 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.079) 0:01:16.764 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.054) 0:01:16.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.025) 0:01:16.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.061) 0:01:16.906 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.031) 0:01:16.937 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.045) 0:01:16.983 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.057) 0:01:17.040 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:45 +0000 (0:00:00.047) 0:01:17.088 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.396) 0:01:17.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.043) 0:01:17.528 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.044) 0:01:17.573 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:46 +0000 (0:00:00.119) 0:01:17.692 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.468) 0:01:18.161 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.051) 0:01:18.212 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.030) 0:01:18.243 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.029) 0:01:18.272 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.046) 0:01:18.318 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.226) 0:01:18.544 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.052) 0:01:18.597 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.043) 0:01:18.640 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.057) 0:01:18.698 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.256) 0:01:18.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:42:47 +0000 (0:00:00.036) 0:01:18.991 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018787", "end": "2024-02-20 20:42:48.051193", "rc": 1, "start": "2024-02-20 20:42:48.032406" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.259) 0:01:19.250 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.072) 0:01:19.322 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.068) 0:01:19.390 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.076) 0:01:19.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.052) 0:01:19.519 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.028) 0:01:19.548 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.109) 0:01:19.657 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.085) 0:01:19.743 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.079) 0:01:19.822 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.248) 0:01:20.071 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.030) 0:01:20.102 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:42:48 +0000 (0:00:00.026) 0:01:20.128 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.090) 0:01:20.219 ****** 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.037855", "end": "2024-02-20 20:42:49.290436", "rc": 1, "start": "2024-02-20 20:42:49.252581" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tests_states.yml:126 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.233) 0:01:20.453 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:5 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.102) 0:01:20.556 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:9 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.048) 0:01:20.605 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:21 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.059) 0:01:20.664 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.057) 0:01:20.722 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.044) 0:01:20.766 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002822", "end": "2024-02-20 20:42:49.816878", "rc": 0, "start": "2024-02-20 20:42:49.814056" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.246) 0:01:21.012 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.061) 0:01:21.073 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:24 Tuesday 20 February 2024 20:42:49 +0000 (0:00:00.038) 0:01:21.112 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.102) 0:01:21.215 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.074) 0:01:21.290 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.158) 0:01:21.448 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.064) 0:01:21.512 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.104) 0:01:21.617 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:50 +0000 (0:00:00.039) 0:01:21.657 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:52 +0000 (0:00:01.514) 0:01:23.172 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:53 +0000 (0:00:01.360) 0:01:24.532 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.033) 0:01:24.566 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.080) 0:01:24.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.023) 0:01:24.671 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.063) 0:01:24.734 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.023) 0:01:24.757 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.022) 0:01:24.780 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.033) 0:01:24.813 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:53 +0000 (0:00:00.037) 0:01:24.851 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.383) 0:01:25.234 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.031) 0:01:25.265 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.054) 0:01:25.320 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.035) 0:01:25.356 ****** 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, 80dd9a11-4088-4d38-be9f-92d5d134dbbd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.388) 0:01:25.745 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.024) 0:01:25.770 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 80dd9a11-4088-4d38-be9f-92d5d134dbbd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.029) 0:01:25.799 ****** 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, 80dd9a11-4088-4d38-be9f-92d5d134dbbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 80dd9a11-4088-4d38-be9f-92d5d134dbbd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.069) 0:01:25.869 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:54 +0000 (0:00:00.096) 0:01:25.965 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.253) 0:01:26.219 ****** 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, 80dd9a11-4088-4d38-be9f-92d5d134dbbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 80dd9a11-4088-4d38-be9f-92d5d134dbbd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.031) 0:01:26.250 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.056) 0:01:26.307 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.058) 0:01:26.365 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.045) 0:01:26.411 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.028) 0:01:26.439 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:42:55 +0000 (0:00:00.057) 0:01:26.497 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:42:56 +0000 (0:00:01.516) 0:01:28.014 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:42:58 +0000 (0:00:01.378) 0:01:29.392 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.041) 0:01:29.434 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.033) 0:01:29.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.048) 0:01:29.516 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.058) 0:01:29.575 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.028) 0:01:29.603 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.025) 0:01:29.628 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.043) 0:01:29.672 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.044) 0:01:29.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.375) 0:01:30.092 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:42:58 +0000 (0:00:00.035) 0:01:30.128 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.067) 0:01:30.195 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.027) 0:01:30.223 ****** 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, 80dd9a11-4088-4d38-be9f-92d5d134dbbd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.415) 0:01:30.638 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.039) 0:01:30.678 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 80dd9a11-4088-4d38-be9f-92d5d134dbbd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.058) 0:01:30.737 ****** 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, 80dd9a11-4088-4d38-be9f-92d5d134dbbd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 80dd9a11-4088-4d38-be9f-92d5d134dbbd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.049) 0:01:30.786 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.090) 0:01:30.876 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:42:59 +0000 (0:00:00.217) 0:01:31.094 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:43:00 +0000 (0:00:00.077) 0:01:31.171 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:43:00 +0000 (0:00:00.057) 0:01:31.229 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:43:00 +0000 (0:00:00.065) 0:01:31.294 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:43:00 +0000 (0:00:00.034) 0:01:31.329 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:43:00 +0000 (0:00:00.030) 0:01:31.360 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:43:01 +0000 (0:00:01.485) 0:01:32.846 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:43:03 +0000 (0:00:01.333) 0:01:34.180 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.027) 0:01:34.208 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.040) 0:01:34.248 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.042) 0:01:34.291 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.067) 0:01:34.358 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.034) 0:01:34.392 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.029) 0:01:34.422 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.027) 0:01:34.450 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.058) 0:01:34.508 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.368) 0:01:34.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.060) 0:01:34.937 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.039) 0:01:34.976 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:43:03 +0000 (0:00:00.051) 0:01:35.027 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.457) 0:01:35.485 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.025) 0:01:35.511 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.047) 0:01:35.558 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.038) 0:01:35.597 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.032) 0:01:35.629 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:30 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.200) 0:01:35.830 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.040) 0:01:35.870 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.037) 0:01:35.908 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.078) 0:01:35.987 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.030) 0:01:36.017 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.034) 0:01:36.051 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 20 February 2024 20:43:04 +0000 (0:00:00.028) 0:01:36.080 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 20 February 2024 20:43:06 +0000 (0:00:01.485) 0:01:37.565 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 20 February 2024 20:43:07 +0000 (0:00:01.337) 0:01:38.903 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.024) 0:01:38.927 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.025) 0:01:38.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.027) 0:01:38.980 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.061) 0:01:39.042 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 20 February 2024 20:43:07 +0000 (0:00:00.032) 0:01:39.074 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.070) 0:01:39.145 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.087) 0:01:39.232 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.052) 0:01:39.284 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.383) 0:01:39.668 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.084) 0:01:39.752 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:130 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.032) 0:01:39.785 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 Tuesday 20 February 2024 20:43:08 +0000 (0:00:00.072) 0:01:39.857 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.362) 0:01:40.219 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:157 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.040) 0:01:40.260 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:161 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.083) 0:01:40.343 ****** 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_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:166 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.057) 0:01:40.401 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:172 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.051) 0:01:40.452 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:36 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.197) 0:01:40.650 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.072) 0:01:40.722 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.043) 0:01:40.766 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.024) 0:01:40.790 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.224) 0:01:41.014 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 20 February 2024 20:43:09 +0000 (0:00:00.036) 0:01:41.051 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019133", "end": "2024-02-20 20:43:10.124255", "rc": 1, "start": "2024-02-20 20:43:10.105122" } 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.256) 0:01:41.308 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.027) 0:01:41.336 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.050) 0:01:41.386 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.083) 0:01:41.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.074) 0:01:41.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.112) 0:01:41.656 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 20 February 2024 20:43:10 +0000 (0:00:00.029) 0:01:41.686 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.931437", "end": "2024-02-20 20:43:11.670333", "rc": 0, "start": "2024-02-20 20:43:10.738896" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 20 February 2024 20:43:11 +0000 (0:00:01.174) 0:01:42.860 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 20 February 2024 20:43:11 +0000 (0:00:00.030) 0:01:42.890 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:42 Tuesday 20 February 2024 20:43:11 +0000 (0:00:00.036) 0:01:42.927 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 20 February 2024 20:43:11 +0000 (0:00:00.065) 0:01:42.992 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 20 February 2024 20:43:11 +0000 (0:00:00.054) 0:01:43.046 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.207) 0:01:43.253 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:47 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.034) 0:01:43.288 ****** 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_hotfixx_wcrngk/tests/playbooks/tasks/run_test.yml:66 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.039) 0:01:43.328 ****** included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.087) 0:01:43.416 ****** 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.036624", "end": "2024-02-20 20:43:12.495484", "rc": 1, "start": "2024-02-20 20:43:12.458860" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.278) 0:01:43.695 ****** 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.009291", "end": "2024-02-20 20:43:12.751293", "rc": 0, "start": "2024-02-20 20:43:12.742002" } 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 valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:6b:9e:43:01:45 brd ff:ff:ff:ff:ff:ff inet 10.31.40.96/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2830sec preferred_lft 2830sec inet6 fe80::c6b:9eff:fe43:145/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.96 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.96 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 20 February 2024 20:43:12 +0000 (0:00:00.242) 0:01:43.937 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.273933", "end": "2024-02-20 20:43:13.315538", "rc": 0, "start": "2024-02-20 20:43:13.041605" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1495 0 --:--:-- --:--:-- --:--:-- 1495 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 6191 0 --:--:-- --:--:-- --:--:-- 6191 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=262 rescued=0 ignored=11 Tuesday 20 February 2024 20:43:13 +0000 (0:00:00.528) 0:01:44.466 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.31s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 linux-system-roles.network : Configure networking connection profiles --- 2.31s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Check which packages are installed --------- 2.18s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.79s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:139 linux-system-roles.network : Enable and start NetworkManager ------------ 1.65s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/main.yml:102 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-nm_plugin_hotfixx_wcrngk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---