# 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_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/tests_states_nm.yml:6 Friday 15 March 2024 15:39:07 +0000 (0:00:00.034) 0:00:00.034 ********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tests_states_nm.yml:9 Friday 15 March 2024 15:39:08 +0000 (0:00:00.847) 0:00:00.881 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/tasks/el_repo_setup.yml:3 Friday 15 March 2024 15:39:08 +0000 (0:00:00.030) 0:00:00.912 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/el_repo_setup.yml:19 Friday 15 March 2024 15:39:18 +0000 (0:00:10.461) 0:00:11.374 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/el_repo_setup.yml:24 Friday 15 March 2024 15:39:19 +0000 (0:00:00.277) 0:00:11.652 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/el_repo_setup.yml:28 Friday 15 March 2024 15:39:19 +0000 (0:00:00.022) 0:00:11.674 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/el_repo_setup.yml:53 Friday 15 March 2024 15:39:19 +0000 (0:00:00.025) 0:00:11.700 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/enable_epel.yml:8 Friday 15 March 2024 15:39:19 +0000 (0:00:00.034) 0:00:11.734 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/enable_epel.yml:24 Friday 15 March 2024 15:39:19 +0000 (0:00:00.012) 0:00:11.747 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/enable_epel.yml:30 Friday 15 March 2024 15:39:19 +0000 (0:00:00.016) 0:00:11.763 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/enable_epel.yml:35 Friday 15 March 2024 15:39:19 +0000 (0:00:00.017) 0:00:11.780 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/enable_epel.yml:40 Friday 15 March 2024 15:39:19 +0000 (0:00:00.018) 0:00:11.799 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tests_states_nm.yml:11 Friday 15 March 2024 15:39:19 +0000 (0:00:00.019) 0:00:11.819 ********** 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_hotfixj8df0s1n/tests/playbooks/tests_states.yml:3 Friday 15 March 2024 15:39:19 +0000 (0:00:00.021) 0:00:11.841 ********** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tests_states.yml:11 Friday 15 March 2024 15:39:24 +0000 (0:00:05.578) 0:00:17.419 ********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tests_states.yml:22 Friday 15 March 2024 15:39:24 +0000 (0:00:00.011) 0:00:17.430 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:39:24 +0000 (0:00:00.016) 0:00:17.447 ********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:39:24 +0000 (0:00:00.012) 0:00:17.459 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:39:24 +0000 (0:00:00.033) 0:00:17.493 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:39:24 +0000 (0:00:00.017) 0:00:17.510 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:39:24 +0000 (0:00:00.014) 0:00:17.525 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003914", "end": "2024-03-15 15:39:25.241976", "rc": 0, "start": "2024-03-15 15:39:25.238062" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:39:25 +0000 (0:00:00.295) 0:00:17.820 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:39:25 +0000 (0:00:00.015) 0:00:17.836 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:39:25 +0000 (0:00:00.043) 0:00:17.879 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 15:39:25 +0000 (0:00:00.042) 0:00:17.921 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008797", "end": "2024-03-15 15:39:25.570865", "rc": 1, "start": "2024-03-15 15:39:25.562068" } 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_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:39:25 +0000 (0:00:00.223) 0:00:18.145 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:39:25 +0000 (0:00:00.022) 0:00:18.167 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:39:25 +0000 (0:00:00.207) 0:00:18.374 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:39:25 +0000 (0:00:00.016) 0:00:18.391 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:39:25 +0000 (0:00:00.055) 0:00:18.447 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:39:26 +0000 (0:00:00.111) 0:00:18.558 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:39:26 +0000 (0:00:00.036) 0:00:18.595 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:39:26 +0000 (0:00:00.012) 0:00:18.608 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:39:26 +0000 (0:00:00.011) 0:00:18.619 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:39:26 +0000 (0:00:00.011) 0:00:18.631 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:39:27 +0000 (0:00:01.752) 0:00:20.383 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:39:29 +0000 (0:00:01.203) 0:00:21.587 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:39:29 +0000 (0:00:00.023) 0:00:21.610 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:39:29 +0000 (0:00:00.022) 0:00:21.633 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:39:29 +0000 (0:00:00.021) 0:00:21.654 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:39:29 +0000 (0:00:00.028) 0:00:21.683 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:39:29 +0000 (0:00:00.022) 0:00:21.705 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:39:29 +0000 (0:00:00.026) 0:00:21.732 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:39:29 +0000 (0:00:00.046) 0:00:21.778 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:39:29 +0000 (0:00:00.022) 0:00:21.801 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:39:29 +0000 (0:00:00.023) 0:00:21.824 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:39:29 +0000 (0:00:00.027) 0:00:21.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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:39:29 +0000 (0:00:00.570) 0:00:22.421 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:39:29 +0000 (0:00:00.042) 0:00:22.464 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:39:29 +0000 (0:00:00.042) 0:00:22.507 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:39:30 +0000 (0:00:00.047) 0:00:22.554 ********** 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, 88acadfe-abb3-4e97-a8f6-e41110d2991c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:39:30 +0000 (0:00:00.631) 0:00:23.186 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:39:30 +0000 (0:00:00.043) 0:00:23.229 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88acadfe-abb3-4e97-a8f6-e41110d2991c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:39:30 +0000 (0:00:00.028) 0:00:23.257 ********** 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, 88acadfe-abb3-4e97-a8f6-e41110d2991c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88acadfe-abb3-4e97-a8f6-e41110d2991c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:39:30 +0000 (0:00:00.031) 0:00:23.289 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:39:30 +0000 (0:00:00.026) 0:00:23.316 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:39:31 +0000 (0:00:00.349) 0:00:23.665 ********** 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, 88acadfe-abb3-4e97-a8f6-e41110d2991c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88acadfe-abb3-4e97-a8f6-e41110d2991c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:39:31 +0000 (0:00:00.035) 0:00:23.700 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:39:31 +0000 (0:00:00.082) 0:00:23.783 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:39:31 +0000 (0:00:00.101) 0:00:23.884 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:39:31 +0000 (0:00:00.034) 0:00:23.919 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:39:31 +0000 (0:00:00.244) 0:00:24.164 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:39:31 +0000 (0:00:00.032) 0:00:24.196 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021654", "end": "2024-03-15 15:39:31.859920", "rc": 0, "start": "2024-03-15 15:39:31.838266" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:39:31 +0000 (0:00:00.254) 0:00:24.450 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:39:31 +0000 (0:00:00.067) 0:00:24.518 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:39:31 +0000 (0:00:00.033) 0:00:24.551 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:39:32 +0000 (0:00:00.025) 0:00:24.576 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:39:32 +0000 (0:00:00.063) 0:00:24.640 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:39:32 +0000 (0:00:00.049) 0:00:24.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_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:39:32 +0000 (0:00:00.043) 0:00:24.732 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:39:32 +0000 (0:00:00.064) 0:00:24.797 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:39:32 +0000 (0:00:00.086) 0:00:24.884 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:39:32 +0000 (0:00:00.081) 0:00:24.965 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:39:32 +0000 (0:00:00.101) 0:00:25.066 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517170.5379007, "block_size": 4096, "blocks": 0, "ctime": 1710517170.5379007, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27429, "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": 1710517170.5379007, "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_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:39:32 +0000 (0:00:00.244) 0:00:25.311 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:39:32 +0000 (0:00:00.031) 0:00:25.343 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:39:32 +0000 (0:00:00.030) 0:00:25.373 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:39:32 +0000 (0:00:00.043) 0:00:25.417 ********** 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.060359", "end": "2024-03-15 15:39:33.108518", "rc": 1, "start": "2024-03-15 15:39:33.048159" } STDOUT: Connection 'statebr' (88acadfe-abb3-4e97-a8f6-e41110d2991c) 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_hotfixj8df0s1n/tests/playbooks/tests_states.yml:45 Friday 15 March 2024 15:39:33 +0000 (0:00:00.285) 0:00:25.702 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:39:33 +0000 (0:00:00.038) 0:00:25.740 ********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:39:33 +0000 (0:00:00.026) 0:00:25.767 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:39:33 +0000 (0:00:00.046) 0:00:25.814 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:39:33 +0000 (0:00:00.044) 0:00:25.858 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:39:33 +0000 (0:00:00.037) 0:00:25.896 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2024-03-15 15:39:33.528610", "rc": 0, "start": "2024-03-15 15:39:33.524972" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:39:33 +0000 (0:00:00.266) 0:00:26.163 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:39:33 +0000 (0:00:00.037) 0:00:26.200 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:39:33 +0000 (0:00:00.026) 0:00:26.227 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/delete_interface.yml:3 Friday 15 March 2024 15:39:33 +0000 (0:00:00.069) 0:00:26.297 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006850", "end": "2024-03-15 15:39:33.943555", "rc": 1, "start": "2024-03-15 15:39:33.936705" } 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_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:39:33 +0000 (0:00:00.237) 0:00:26.534 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:39:34 +0000 (0:00:00.039) 0:00:26.574 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:39:34 +0000 (0:00:00.243) 0:00:26.818 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:39:34 +0000 (0:00:00.062) 0:00:26.880 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 15 March 2024 15:39:34 +0000 (0:00:00.074) 0:00:26.954 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:39:34 +0000 (0:00:00.065) 0:00:27.020 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:39:34 +0000 (0:00:00.110) 0:00:27.130 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:39:34 +0000 (0:00:00.070) 0:00:27.200 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:39:34 +0000 (0:00:00.103) 0:00:27.304 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:39:34 +0000 (0:00:00.042) 0:00:27.346 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:39:36 +0000 (0:00:01.684) 0:00:29.030 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:39:37 +0000 (0:00:01.045) 0:00:30.076 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:39:37 +0000 (0:00:00.023) 0:00:30.099 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:39:37 +0000 (0:00:00.046) 0:00:30.146 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:39:37 +0000 (0:00:00.022) 0:00:30.168 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:39:37 +0000 (0:00:00.028) 0:00:30.197 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:39:37 +0000 (0:00:00.022) 0:00:30.219 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:39:37 +0000 (0:00:00.026) 0:00:30.246 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:39:37 +0000 (0:00:00.045) 0:00:30.291 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:39:37 +0000 (0:00:00.021) 0:00:30.313 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:39:37 +0000 (0:00:00.022) 0:00:30.336 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:39:37 +0000 (0:00:00.025) 0:00:30.361 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:39:38 +0000 (0:00:00.414) 0:00:30.775 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:39:38 +0000 (0:00:00.043) 0:00:30.819 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:39:38 +0000 (0:00:00.043) 0:00:30.862 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:39:38 +0000 (0:00:00.025) 0:00:30.887 ********** 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, 6d012e57-52b3-42cc-8891-fd93b480c3e5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:39:38 +0000 (0:00:00.400) 0:00:31.288 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:39:38 +0000 (0:00:00.022) 0:00:31.310 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d012e57-52b3-42cc-8891-fd93b480c3e5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:39:38 +0000 (0:00:00.022) 0:00:31.333 ********** 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, 6d012e57-52b3-42cc-8891-fd93b480c3e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d012e57-52b3-42cc-8891-fd93b480c3e5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:39:38 +0000 (0:00:00.051) 0:00:31.385 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:39:38 +0000 (0:00:00.030) 0:00:31.416 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 15 March 2024 15:39:39 +0000 (0:00:00.210) 0:00:31.626 ********** 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, 6d012e57-52b3-42cc-8891-fd93b480c3e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6d012e57-52b3-42cc-8891-fd93b480c3e5" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:39:39 +0000 (0:00:00.024) 0:00:31.651 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:39:39 +0000 (0:00:00.052) 0:00:31.703 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:39:39 +0000 (0:00:00.037) 0:00:31.741 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:39:39 +0000 (0:00:00.217) 0:00:31.958 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:39:39 +0000 (0:00:00.037) 0:00:31.995 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:39:39 +0000 (0:00:00.047) 0:00:32.042 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:39:39 +0000 (0:00:00.031) 0:00:32.074 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:39:39 +0000 (0:00:00.210) 0:00:32.285 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:39:39 +0000 (0:00:00.022) 0:00:32.307 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.084354", "end": "2024-03-15 15:39:40.022141", "rc": 0, "start": "2024-03-15 15:39:39.937787" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:39:40 +0000 (0:00:00.305) 0:00:32.613 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:39:40 +0000 (0:00:00.027) 0:00:32.641 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:39:40 +0000 (0:00:00.036) 0:00:32.677 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:39:40 +0000 (0:00:00.025) 0:00:32.703 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:39:40 +0000 (0:00:00.026) 0:00:32.729 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:39:40 +0000 (0:00:00.029) 0:00:32.759 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:39:40 +0000 (0:00:00.029) 0:00:32.789 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:39:40 +0000 (0:00:00.031) 0:00:32.821 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:39:40 +0000 (0:00:00.037) 0:00:32.858 ********** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:39:40 +0000 (0:00:00.024) 0:00:32.883 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:39:40 +0000 (0:00:00.023) 0:00:32.906 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:39:40 +0000 (0:00:00.045) 0:00:32.952 ********** 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.041626", "end": "2024-03-15 15:39:40.625544", "rc": 1, "start": "2024-03-15 15:39:40.583918" } STDOUT: Connection 'statebr' (6d012e57-52b3-42cc-8891-fd93b480c3e5) 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_hotfixj8df0s1n/tests/playbooks/tests_states.yml:65 Friday 15 March 2024 15:39:40 +0000 (0:00:00.256) 0:00:33.208 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:39:40 +0000 (0:00:00.038) 0:00:33.247 ********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:39:40 +0000 (0:00:00.055) 0:00:33.303 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:39:40 +0000 (0:00:00.045) 0:00:33.348 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:39:40 +0000 (0:00:00.038) 0:00:33.386 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:39:40 +0000 (0:00:00.036) 0:00:33.422 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003663", "end": "2024-03-15 15:39:41.058697", "rc": 0, "start": "2024-03-15 15:39:41.055034" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:39:41 +0000 (0:00:00.219) 0:00:33.641 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:39:41 +0000 (0:00:00.026) 0:00:33.668 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:39:41 +0000 (0:00:00.027) 0:00:33.696 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:39:41 +0000 (0:00:00.052) 0:00:33.748 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:39:41 +0000 (0:00:00.065) 0:00:33.814 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:39:41 +0000 (0:00:00.046) 0:00:33.860 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:39:41 +0000 (0:00:00.031) 0:00:33.892 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:39:41 +0000 (0:00:00.029) 0:00:33.921 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:39:41 +0000 (0:00:00.058) 0:00:33.980 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:39:43 +0000 (0:00:01.661) 0:00:35.641 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:39:44 +0000 (0:00:01.067) 0:00:36.708 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:39:44 +0000 (0:00:00.024) 0:00:36.733 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:39:44 +0000 (0:00:00.022) 0:00:36.756 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:39:44 +0000 (0:00:00.025) 0:00:36.781 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:39:44 +0000 (0:00:00.031) 0:00:36.812 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:39:44 +0000 (0:00:00.057) 0:00:36.870 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:39:44 +0000 (0:00:00.027) 0:00:36.897 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:39:44 +0000 (0:00:00.045) 0:00:36.942 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:39:44 +0000 (0:00:00.023) 0:00:36.966 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:39:44 +0000 (0:00:00.023) 0:00:36.989 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:39:44 +0000 (0:00:00.026) 0:00:37.016 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:39:44 +0000 (0:00:00.408) 0:00:37.424 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:39:44 +0000 (0:00:00.035) 0:00:37.459 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:39:44 +0000 (0:00:00.033) 0:00:37.493 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:39:44 +0000 (0:00:00.027) 0:00:37.521 ********** 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, a7b7ed79-a178-4e64-8bc2-7d94cdb76203 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:39:45 +0000 (0:00:00.440) 0:00:37.961 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:39:45 +0000 (0:00:00.022) 0:00:37.984 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a7b7ed79-a178-4e64-8bc2-7d94cdb76203" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:39:45 +0000 (0:00:00.025) 0:00:38.010 ********** 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, a7b7ed79-a178-4e64-8bc2-7d94cdb76203\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a7b7ed79-a178-4e64-8bc2-7d94cdb76203" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:39:45 +0000 (0:00:00.026) 0:00:38.036 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:39:45 +0000 (0:00:00.062) 0:00:38.098 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:39:45 +0000 (0:00:00.212) 0:00:38.311 ********** 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, a7b7ed79-a178-4e64-8bc2-7d94cdb76203\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a7b7ed79-a178-4e64-8bc2-7d94cdb76203" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:39:45 +0000 (0:00:00.023) 0:00:38.334 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:39:45 +0000 (0:00:00.041) 0:00:38.376 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:39:45 +0000 (0:00:00.044) 0:00:38.421 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:39:45 +0000 (0:00:00.045) 0:00:38.467 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:39:45 +0000 (0:00:00.029) 0:00:38.496 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:39:45 +0000 (0:00:00.027) 0:00:38.524 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:39:46 +0000 (0:00:00.029) 0:00:38.553 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:39:47 +0000 (0:00:01.712) 0:00:40.266 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:39:48 +0000 (0:00:01.049) 0:00:41.315 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:39:48 +0000 (0:00:00.045) 0:00:41.361 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:39:48 +0000 (0:00:00.050) 0:00:41.411 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:39:48 +0000 (0:00:00.032) 0:00:41.443 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:39:48 +0000 (0:00:00.041) 0:00:41.485 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:39:48 +0000 (0:00:00.043) 0:00:41.529 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:39:49 +0000 (0:00:00.028) 0:00:41.557 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:39:49 +0000 (0:00:00.047) 0:00:41.604 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:39:49 +0000 (0:00:00.030) 0:00:41.635 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:39:49 +0000 (0:00:00.027) 0:00:41.662 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:39:49 +0000 (0:00:00.031) 0:00:41.693 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:39:49 +0000 (0:00:00.423) 0:00:42.117 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:39:49 +0000 (0:00:00.037) 0:00:42.154 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:39:49 +0000 (0:00:00.051) 0:00:42.206 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:39:49 +0000 (0:00:00.037) 0:00:42.244 ********** 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, a7b7ed79-a178-4e64-8bc2-7d94cdb76203 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:39:50 +0000 (0:00:00.425) 0:00:42.669 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:39:50 +0000 (0:00:00.034) 0:00:42.704 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a7b7ed79-a178-4e64-8bc2-7d94cdb76203 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:39:50 +0000 (0:00:00.026) 0:00:42.730 ********** 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, a7b7ed79-a178-4e64-8bc2-7d94cdb76203 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a7b7ed79-a178-4e64-8bc2-7d94cdb76203 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:39:50 +0000 (0:00:00.026) 0:00:42.757 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:39:50 +0000 (0:00:00.023) 0:00:42.780 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:39:50 +0000 (0:00:00.224) 0:00:43.005 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:39:50 +0000 (0:00:00.046) 0:00:43.052 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:39:50 +0000 (0:00:00.037) 0:00:43.090 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517185.3193245, "block_size": 4096, "blocks": 0, "ctime": 1710517185.3193245, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27560, "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": 1710517185.3193245, "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_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:39:50 +0000 (0:00:00.309) 0:00:43.399 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 15 March 2024 15:39:50 +0000 (0:00:00.041) 0:00:43.441 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:39:50 +0000 (0:00:00.044) 0:00:43.485 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:39:50 +0000 (0:00:00.046) 0:00:43.531 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:39:51 +0000 (0:00:00.245) 0:00:43.777 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:39:51 +0000 (0:00:00.028) 0:00:43.805 ********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021989", "end": "2024-03-15 15:39:51.467639", "rc": 0, "start": "2024-03-15 15:39:51.445650" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:39:51 +0000 (0:00:00.253) 0:00:44.059 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:39:51 +0000 (0:00:00.026) 0:00:44.085 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:39:51 +0000 (0:00:00.025) 0:00:44.110 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:39:51 +0000 (0:00:00.025) 0:00:44.135 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:39:51 +0000 (0:00:00.041) 0:00:44.177 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 15 March 2024 15:39:51 +0000 (0:00:00.025) 0:00:44.203 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 15 March 2024 15:39:51 +0000 (0:00:00.033) 0:00:44.237 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 15 March 2024 15:39:51 +0000 (0:00:00.027) 0:00:44.264 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:39:51 +0000 (0:00:00.026) 0:00:44.290 ********** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:39:51 +0000 (0:00:00.021) 0:00:44.312 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:39:51 +0000 (0:00:00.065) 0:00:44.377 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:39:51 +0000 (0:00:00.043) 0:00:44.421 ********** 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.066735", "end": "2024-03-15 15:39:52.126138", "rc": 1, "start": "2024-03-15 15:39:52.059403" } STDOUT: Connection 'statebr' (a7b7ed79-a178-4e64-8bc2-7d94cdb76203) 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_hotfixj8df0s1n/tests/playbooks/tests_states.yml:83 Friday 15 March 2024 15:39:52 +0000 (0:00:00.289) 0:00:44.710 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:39:52 +0000 (0:00:00.041) 0:00:44.751 ********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:39:52 +0000 (0:00:00.023) 0:00:44.775 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:39:52 +0000 (0:00:00.046) 0:00:44.821 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:39:52 +0000 (0:00:00.037) 0:00:44.859 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:39:52 +0000 (0:00:00.037) 0:00:44.897 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003849", "end": "2024-03-15 15:39:52.538939", "rc": 0, "start": "2024-03-15 15:39:52.535090" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:39:52 +0000 (0:00:00.239) 0:00:45.136 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:39:52 +0000 (0:00:00.049) 0:00:45.186 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:39:52 +0000 (0:00:00.024) 0:00:45.210 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:39:52 +0000 (0:00:00.096) 0:00:45.307 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:39:52 +0000 (0:00:00.056) 0:00:45.363 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:39:52 +0000 (0:00:00.047) 0:00:45.410 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:39:52 +0000 (0:00:00.029) 0:00:45.440 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:39:52 +0000 (0:00:00.030) 0:00:45.470 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:39:52 +0000 (0:00:00.027) 0:00:45.498 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:39:54 +0000 (0:00:01.695) 0:00:47.194 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:39:55 +0000 (0:00:01.143) 0:00:48.337 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:39:55 +0000 (0:00:00.038) 0:00:48.376 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:39:55 +0000 (0:00:00.035) 0:00:48.411 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:39:55 +0000 (0:00:00.029) 0:00:48.440 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:39:55 +0000 (0:00:00.027) 0:00:48.468 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:39:55 +0000 (0:00:00.026) 0:00:48.495 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:39:55 +0000 (0:00:00.042) 0:00:48.537 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:39:56 +0000 (0:00:00.075) 0:00:48.613 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:39:56 +0000 (0:00:00.043) 0:00:48.656 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:39:56 +0000 (0:00:00.035) 0:00:48.692 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:39:56 +0000 (0:00:00.046) 0:00:48.739 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:39:56 +0000 (0:00:00.430) 0:00:49.169 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:39:56 +0000 (0:00:00.045) 0:00:49.214 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:39:56 +0000 (0:00:00.027) 0:00:49.241 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:39:56 +0000 (0:00:00.116) 0:00:49.358 ********** 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, afa8e94c-29fb-425d-a108-a0b16599bedb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:39:57 +0000 (0:00:00.461) 0:00:49.820 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:39:57 +0000 (0:00:00.042) 0:00:49.862 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, afa8e94c-29fb-425d-a108-a0b16599bedb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:39:57 +0000 (0:00:00.046) 0:00:49.908 ********** 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, afa8e94c-29fb-425d-a108-a0b16599bedb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, afa8e94c-29fb-425d-a108-a0b16599bedb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:39:57 +0000 (0:00:00.039) 0:00:49.948 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:39:57 +0000 (0:00:00.037) 0:00:49.985 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:39:57 +0000 (0:00:00.252) 0:00:50.237 ********** 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, afa8e94c-29fb-425d-a108-a0b16599bedb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, afa8e94c-29fb-425d-a108-a0b16599bedb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:39:57 +0000 (0:00:00.042) 0:00:50.280 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:39:57 +0000 (0:00:00.061) 0:00:50.341 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:39:57 +0000 (0:00:00.051) 0:00:50.393 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:39:57 +0000 (0:00:00.034) 0:00:50.428 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:39:57 +0000 (0:00:00.026) 0:00:50.454 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:39:57 +0000 (0:00:00.023) 0:00:50.478 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:39:59 +0000 (0:00:01.665) 0:00:52.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:00 +0000 (0:00:01.102) 0:00:53.247 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:00 +0000 (0:00:00.035) 0:00:53.282 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:00 +0000 (0:00:00.036) 0:00:53.319 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:00 +0000 (0:00:00.024) 0:00:53.343 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:00 +0000 (0:00:00.030) 0:00:53.373 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:00 +0000 (0:00:00.037) 0:00:53.411 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:00 +0000 (0:00:00.033) 0:00:53.444 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:00 +0000 (0:00:00.052) 0:00:53.496 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:01 +0000 (0:00:00.084) 0:00:53.580 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:01 +0000 (0:00:00.024) 0:00:53.605 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:01 +0000 (0:00:00.026) 0:00:53.632 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:01 +0000 (0:00:00.408) 0:00:54.041 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:01 +0000 (0:00:00.039) 0:00:54.080 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:01 +0000 (0:00:00.024) 0:00:54.105 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:01 +0000 (0:00:00.029) 0:00:54.134 ********** 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, afa8e94c-29fb-425d-a108-a0b16599bedb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:02 +0000 (0:00:00.427) 0:00:54.561 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:02 +0000 (0:00:00.023) 0:00:54.585 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, afa8e94c-29fb-425d-a108-a0b16599bedb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:02 +0000 (0:00:00.025) 0:00:54.610 ********** 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, afa8e94c-29fb-425d-a108-a0b16599bedb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, afa8e94c-29fb-425d-a108-a0b16599bedb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:02 +0000 (0:00:00.025) 0:00:54.636 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:02 +0000 (0:00:00.024) 0:00:54.660 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:40:02 +0000 (0:00:00.224) 0:00:54.885 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 15:40:02 +0000 (0:00:00.067) 0:00:54.952 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:02 +0000 (0:00:00.147) 0:00:55.100 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:02 +0000 (0:00:00.046) 0:00:55.147 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:02 +0000 (0:00:00.045) 0:00:55.193 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:02 +0000 (0:00:00.028) 0:00:55.222 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:02 +0000 (0:00:00.037) 0:00:55.260 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:04 +0000 (0:00:01.655) 0:00:56.915 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:05 +0000 (0:00:01.100) 0:00:58.016 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:05 +0000 (0:00:00.030) 0:00:58.047 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:05 +0000 (0:00:00.038) 0:00:58.086 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:05 +0000 (0:00:00.023) 0:00:58.109 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:05 +0000 (0:00:00.028) 0:00:58.138 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:05 +0000 (0:00:00.024) 0:00:58.162 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:05 +0000 (0:00:00.029) 0:00:58.191 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:05 +0000 (0:00:00.052) 0:00:58.244 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:05 +0000 (0:00:00.026) 0:00:58.270 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:05 +0000 (0:00:00.022) 0:00:58.293 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:05 +0000 (0:00:00.030) 0:00:58.323 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:06 +0000 (0:00:00.416) 0:00:58.739 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:06 +0000 (0:00:00.032) 0:00:58.772 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:06 +0000 (0:00:00.037) 0:00:58.809 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:06 +0000 (0:00:00.042) 0:00:58.851 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:06 +0000 (0:00:00.507) 0:00:59.359 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:06 +0000 (0:00:00.058) 0:00:59.417 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:06 +0000 (0:00:00.026) 0:00:59.443 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:06 +0000 (0:00:00.039) 0:00:59.483 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:06 +0000 (0:00:00.040) 0:00:59.524 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:40:07 +0000 (0:00:00.260) 0:00:59.784 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml:3 Friday 15 March 2024 15:40:07 +0000 (0:00:00.102) 0:00:59.887 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:40:07 +0000 (0:00:00.049) 0:00:59.936 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710517197.1734476, "block_size": 4096, "blocks": 0, "ctime": 1710517197.1734476, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27691, "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": 1710517197.1734476, "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_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_present.yml:5 Friday 15 March 2024 15:40:07 +0000 (0:00:00.224) 0:01:00.160 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:40:07 +0000 (0:00:00.029) 0:01:00.189 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:40:07 +0000 (0:00:00.042) 0:01:00.232 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:40:07 +0000 (0:00:00.025) 0:01:00.257 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:40:07 +0000 (0:00:00.236) 0:01:00.493 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:40:08 +0000 (0:00:00.074) 0:01:00.568 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021593", "end": "2024-03-15 15:40:08.247659", "rc": 1, "start": "2024-03-15 15:40:08.226066" } 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:40:08 +0000 (0:00:00.289) 0:01:00.857 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:40:08 +0000 (0:00:00.050) 0:01:00.907 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:40:08 +0000 (0:00:00.098) 0:01:01.006 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:40:08 +0000 (0:00:00.064) 0:01:01.070 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:40:08 +0000 (0:00:00.070) 0:01:01.141 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:40:08 +0000 (0:00:00.054) 0:01:01.196 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:40:08 +0000 (0:00:00.039) 0:01:01.235 ********** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:40:08 +0000 (0:00:00.060) 0:01:01.296 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:40:08 +0000 (0:00:00.035) 0:01:01.331 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:40:08 +0000 (0:00:00.085) 0:01:01.417 ********** 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.066624", "end": "2024-03-15 15:40:09.141270", "rc": 1, "start": "2024-03-15 15:40:09.074646" } STDOUT: Connection 'statebr' (afa8e94c-29fb-425d-a108-a0b16599bedb) 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_hotfixj8df0s1n/tests/playbooks/tests_states.yml:103 Friday 15 March 2024 15:40:09 +0000 (0:00:00.334) 0:01:01.752 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:40:09 +0000 (0:00:00.040) 0:01:01.793 ********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:40:09 +0000 (0:00:00.035) 0:01:01.829 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:40:09 +0000 (0:00:00.065) 0:01:01.895 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:40:09 +0000 (0:00:00.106) 0:01:02.002 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:40:09 +0000 (0:00:00.051) 0:01:02.053 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003825", "end": "2024-03-15 15:40:09.714096", "rc": 0, "start": "2024-03-15 15:40:09.710271" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:40:09 +0000 (0:00:00.278) 0:01:02.331 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:40:09 +0000 (0:00:00.063) 0:01:02.395 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:40:09 +0000 (0:00:00.041) 0:01:02.436 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:40:09 +0000 (0:00:00.050) 0:01:02.487 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:10 +0000 (0:00:00.074) 0:01:02.561 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:10 +0000 (0:00:00.071) 0:01:02.632 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:10 +0000 (0:00:00.065) 0:01:02.697 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:10 +0000 (0:00:00.056) 0:01:02.754 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:10 +0000 (0:00:00.045) 0:01:02.799 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:11 +0000 (0:00:01.690) 0:01:04.489 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:12 +0000 (0:00:01.040) 0:01:05.530 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:13 +0000 (0:00:00.029) 0:01:05.560 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:13 +0000 (0:00:00.029) 0:01:05.590 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:13 +0000 (0:00:00.024) 0:01:05.614 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:13 +0000 (0:00:00.034) 0:01:05.649 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:13 +0000 (0:00:00.026) 0:01:05.675 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:13 +0000 (0:00:00.028) 0:01:05.704 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:13 +0000 (0:00:00.140) 0:01:05.845 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:13 +0000 (0:00:00.026) 0:01:05.872 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:13 +0000 (0:00:00.024) 0:01:05.896 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:13 +0000 (0:00:00.047) 0:01:05.944 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:13 +0000 (0:00:00.428) 0:01:06.372 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:13 +0000 (0:00:00.028) 0:01:06.401 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:13 +0000 (0:00:00.035) 0:01:06.436 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:13 +0000 (0:00:00.046) 0:01:06.483 ********** 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, c00853fe-11c5-42a7-aa03-daa13a9f47d7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:14 +0000 (0:00:00.490) 0:01:06.974 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:14 +0000 (0:00:00.024) 0:01:06.998 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c00853fe-11c5-42a7-aa03-daa13a9f47d7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:14 +0000 (0:00:00.025) 0:01:07.024 ********** 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, c00853fe-11c5-42a7-aa03-daa13a9f47d7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c00853fe-11c5-42a7-aa03-daa13a9f47d7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:14 +0000 (0:00:00.025) 0:01:07.049 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:14 +0000 (0:00:00.031) 0:01:07.080 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:40:14 +0000 (0:00:00.227) 0:01:07.308 ********** 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, c00853fe-11c5-42a7-aa03-daa13a9f47d7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c00853fe-11c5-42a7-aa03-daa13a9f47d7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:40:14 +0000 (0:00:00.073) 0:01:07.381 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:14 +0000 (0:00:00.039) 0:01:07.421 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:14 +0000 (0:00:00.044) 0:01:07.466 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:14 +0000 (0:00:00.029) 0:01:07.496 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:14 +0000 (0:00:00.024) 0:01:07.520 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:14 +0000 (0:00:00.028) 0:01:07.549 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:16 +0000 (0:00:01.708) 0:01:09.257 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:17 +0000 (0:00:01.111) 0:01:10.369 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:17 +0000 (0:00:00.027) 0:01:10.397 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:17 +0000 (0:00:00.027) 0:01:10.424 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:17 +0000 (0:00:00.034) 0:01:10.459 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:17 +0000 (0:00:00.043) 0:01:10.503 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:17 +0000 (0:00:00.027) 0:01:10.531 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:18 +0000 (0:00:00.029) 0:01:10.560 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:18 +0000 (0:00:00.075) 0:01:10.636 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:18 +0000 (0:00:00.027) 0:01:10.663 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:18 +0000 (0:00:00.044) 0:01:10.708 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:18 +0000 (0:00:00.032) 0:01:10.741 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:18 +0000 (0:00:00.473) 0:01:11.215 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:18 +0000 (0:00:00.155) 0:01:11.370 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:18 +0000 (0:00:00.036) 0:01:11.406 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:18 +0000 (0:00:00.043) 0:01:11.449 ********** 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, c00853fe-11c5-42a7-aa03-daa13a9f47d7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:19 +0000 (0:00:00.453) 0:01:11.902 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:19 +0000 (0:00:00.037) 0:01:11.940 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c00853fe-11c5-42a7-aa03-daa13a9f47d7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:19 +0000 (0:00:00.072) 0:01:12.012 ********** 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, c00853fe-11c5-42a7-aa03-daa13a9f47d7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c00853fe-11c5-42a7-aa03-daa13a9f47d7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:19 +0000 (0:00:00.055) 0:01:12.067 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:19 +0000 (0:00:00.037) 0:01:12.104 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove_profile.yml:3 Friday 15 March 2024 15:40:19 +0000 (0:00:00.257) 0:01:12.362 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:19 +0000 (0:00:00.053) 0:01:12.415 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:19 +0000 (0:00:00.109) 0:01:12.525 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:20 +0000 (0:00:00.052) 0:01:12.578 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:20 +0000 (0:00:00.025) 0:01:12.603 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:20 +0000 (0:00:00.037) 0:01:12.641 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:21 +0000 (0:00:01.740) 0:01:14.381 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:22 +0000 (0:00:01.042) 0:01:15.423 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:22 +0000 (0:00:00.024) 0:01:15.447 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:22 +0000 (0:00:00.023) 0:01:15.471 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:22 +0000 (0:00:00.025) 0:01:15.496 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:22 +0000 (0:00:00.046) 0:01:15.543 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:23 +0000 (0:00:00.038) 0:01:15.582 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:23 +0000 (0:00:00.042) 0:01:15.624 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:23 +0000 (0:00:00.093) 0:01:15.718 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:23 +0000 (0:00:00.025) 0:01:15.743 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:23 +0000 (0:00:00.024) 0:01:15.768 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:23 +0000 (0:00:00.029) 0:01:15.797 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:23 +0000 (0:00:00.445) 0:01:16.243 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:23 +0000 (0:00:00.049) 0:01:16.292 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:23 +0000 (0:00:00.039) 0:01:16.332 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:23 +0000 (0:00:00.028) 0:01:16.361 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:24 +0000 (0:00:00.411) 0:01:16.772 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:24 +0000 (0:00:00.023) 0:01:16.796 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:24 +0000 (0:00:00.027) 0:01:16.823 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:24 +0000 (0:00:00.025) 0:01:16.849 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:24 +0000 (0:00:00.025) 0:01:16.874 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:40:24 +0000 (0:00:00.235) 0:01:17.109 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:40:24 +0000 (0:00:00.085) 0:01:17.195 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:24 +0000 (0:00:00.044) 0:01:17.240 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:24 +0000 (0:00:00.045) 0:01:17.285 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:24 +0000 (0:00:00.030) 0:01:17.315 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:24 +0000 (0:00:00.026) 0:01:17.342 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:24 +0000 (0:00:00.025) 0:01:17.367 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:26 +0000 (0:00:01.677) 0:01:19.045 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:27 +0000 (0:00:01.174) 0:01:20.219 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:27 +0000 (0:00:00.027) 0:01:20.247 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:27 +0000 (0:00:00.049) 0:01:20.296 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:27 +0000 (0:00:00.025) 0:01:20.322 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:27 +0000 (0:00:00.029) 0:01:20.351 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:27 +0000 (0:00:00.041) 0:01:20.393 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:27 +0000 (0:00:00.045) 0:01:20.439 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:27 +0000 (0:00:00.059) 0:01:20.498 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:27 +0000 (0:00:00.023) 0:01:20.522 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:27 +0000 (0:00:00.024) 0:01:20.546 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:28 +0000 (0:00:00.036) 0:01:20.583 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:28 +0000 (0:00:00.404) 0:01:20.988 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:28 +0000 (0:00:00.052) 0:01:21.040 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:28 +0000 (0:00:00.055) 0:01:21.096 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:28 +0000 (0:00:00.032) 0:01:21.129 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:29 +0000 (0:00:00.525) 0:01:21.655 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:29 +0000 (0:00:00.040) 0:01:21.695 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:29 +0000 (0:00:00.042) 0:01:21.738 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:29 +0000 (0:00:00.048) 0:01:21.787 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:29 +0000 (0:00:00.024) 0:01:21.811 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:40:29 +0000 (0:00:00.229) 0:01:22.040 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:40:29 +0000 (0:00:00.042) 0:01:22.083 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:40:29 +0000 (0:00:00.039) 0:01:22.123 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:40:29 +0000 (0:00:00.025) 0:01:22.148 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:40:29 +0000 (0:00:00.228) 0:01:22.377 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:40:29 +0000 (0:00:00.038) 0:01:22.416 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020509", "end": "2024-03-15 15:40:30.072501", "rc": 1, "start": "2024-03-15 15:40:30.051992" } 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:40:30 +0000 (0:00:00.250) 0:01:22.666 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:40:30 +0000 (0:00:00.077) 0:01:22.744 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:40:30 +0000 (0:00:00.038) 0:01:22.782 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:40:30 +0000 (0:00:00.027) 0:01:22.810 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:40:30 +0000 (0:00:00.043) 0:01:22.854 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:40:30 +0000 (0:00:00.053) 0:01:22.907 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:40:30 +0000 (0:00:00.037) 0:01:22.945 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:40:30 +0000 (0:00:00.046) 0:01:22.991 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:40:30 +0000 (0:00:00.043) 0:01:23.035 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:40:30 +0000 (0:00:00.239) 0:01:23.274 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:40:30 +0000 (0:00:00.043) 0:01:23.318 ********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:40:30 +0000 (0:00:00.044) 0:01:23.363 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:40:30 +0000 (0:00:00.054) 0:01:23.417 ********** 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.041807", "end": "2024-03-15 15:40:31.103307", "rc": 1, "start": "2024-03-15 15:40:31.061500" } 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_hotfixj8df0s1n/tests/playbooks/tests_states.yml:126 Friday 15 March 2024 15:40:31 +0000 (0:00:00.286) 0:01:23.704 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:5 Friday 15 March 2024 15:40:31 +0000 (0:00:00.111) 0:01:23.816 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:9 Friday 15 March 2024 15:40:31 +0000 (0:00:00.050) 0:01:23.866 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:21 Friday 15 March 2024 15:40:31 +0000 (0:00:00.060) 0:01:23.926 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:3 Friday 15 March 2024 15:40:31 +0000 (0:00:00.040) 0:01:23.967 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 15 March 2024 15:40:31 +0000 (0:00:00.038) 0:01:24.006 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003802", "end": "2024-03-15 15:40:31.646118", "rc": 0, "start": "2024-03-15 15:40:31.642316" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 15 March 2024 15:40:31 +0000 (0:00:00.232) 0:01:24.238 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/show_interfaces.yml:5 Friday 15 March 2024 15:40:31 +0000 (0:00:00.035) 0:01:24.274 ********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:24 Friday 15 March 2024 15:40:31 +0000 (0:00:00.050) 0:01:24.324 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 15 March 2024 15:40:31 +0000 (0:00:00.050) 0:01:24.374 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:31 +0000 (0:00:00.047) 0:01:24.422 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:31 +0000 (0:00:00.046) 0:01:24.468 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:32 +0000 (0:00:00.088) 0:01:24.557 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:32 +0000 (0:00:00.024) 0:01:24.581 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:32 +0000 (0:00:00.022) 0:01:24.604 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:33 +0000 (0:00:01.676) 0:01:26.281 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:34 +0000 (0:00:01.089) 0:01:27.370 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:34 +0000 (0:00:00.029) 0:01:27.399 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:34 +0000 (0:00:00.027) 0:01:27.427 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:34 +0000 (0:00:00.025) 0:01:27.452 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:34 +0000 (0:00:00.028) 0:01:27.481 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:34 +0000 (0:00:00.024) 0:01:27.506 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:34 +0000 (0:00:00.027) 0:01:27.533 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:35 +0000 (0:00:00.048) 0:01:27.582 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:35 +0000 (0:00:00.023) 0:01:27.606 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:35 +0000 (0:00:00.023) 0:01:27.629 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:35 +0000 (0:00:00.028) 0:01:27.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:35 +0000 (0:00:00.399) 0:01:28.056 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:35 +0000 (0:00:00.030) 0:01:28.086 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:35 +0000 (0:00:00.032) 0:01:28.118 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:35 +0000 (0:00:00.029) 0:01:28.148 ********** 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, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:36 +0000 (0:00:00.559) 0:01:28.707 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:36 +0000 (0:00:00.032) 0:01:28.739 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:36 +0000 (0:00:00.040) 0:01:28.780 ********** 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, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:36 +0000 (0:00:00.028) 0:01:28.809 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:36 +0000 (0:00:00.025) 0:01:28.834 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 15 March 2024 15:40:36 +0000 (0:00:00.237) 0:01:29.072 ********** 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, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/activate_profile.yml:3 Friday 15 March 2024 15:40:36 +0000 (0:00:00.051) 0:01:29.123 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:36 +0000 (0:00:00.044) 0:01:29.168 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:36 +0000 (0:00:00.058) 0:01:29.226 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:36 +0000 (0:00:00.035) 0:01:29.262 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:36 +0000 (0:00:00.024) 0:01:29.286 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:36 +0000 (0:00:00.023) 0:01:29.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 : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:38 +0000 (0:00:01.619) 0:01:30.930 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:39 +0000 (0:00:01.044) 0:01:31.975 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:39 +0000 (0:00:00.025) 0:01:32.001 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:39 +0000 (0:00:00.039) 0:01:32.040 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:39 +0000 (0:00:00.039) 0:01:32.080 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:39 +0000 (0:00:00.048) 0:01:32.129 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:39 +0000 (0:00:00.025) 0:01:32.154 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:39 +0000 (0:00:00.029) 0:01:32.183 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:39 +0000 (0:00:00.058) 0:01:32.242 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:39 +0000 (0:00:00.087) 0:01:32.330 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:39 +0000 (0:00:00.027) 0:01:32.358 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:39 +0000 (0:00:00.071) 0:01:32.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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:40 +0000 (0:00:00.450) 0:01:32.880 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:40 +0000 (0:00:00.039) 0:01:32.920 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:40 +0000 (0:00:00.028) 0:01:32.949 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:40 +0000 (0:00:00.030) 0:01:32.980 ********** 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, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:40 +0000 (0:00:00.378) 0:01:33.358 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:40 +0000 (0:00:00.024) 0:01:33.382 ********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:40 +0000 (0:00:00.025) 0:01:33.408 ********** 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, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9c7d1324-8bd1-4f1c-a36d-140c596cd33f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:40 +0000 (0:00:00.024) 0:01:33.432 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:40 +0000 (0:00:00.022) 0:01:33.455 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:40:41 +0000 (0:00:00.208) 0:01:33.663 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:41 +0000 (0:00:00.036) 0:01:33.700 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:41 +0000 (0:00:00.078) 0:01:33.779 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:41 +0000 (0:00:00.029) 0:01:33.808 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:41 +0000 (0:00:00.022) 0:01:33.830 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:41 +0000 (0:00:00.022) 0:01:33.853 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:42 +0000 (0:00:01.644) 0:01:35.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:44 +0000 (0:00:01.074) 0:01:36.571 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:44 +0000 (0:00:00.095) 0:01:36.667 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:44 +0000 (0:00:00.035) 0:01:36.702 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:44 +0000 (0:00:00.027) 0:01:36.730 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:44 +0000 (0:00:00.108) 0:01:36.838 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:44 +0000 (0:00:00.052) 0:01:36.890 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:44 +0000 (0:00:00.042) 0:01:36.933 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:44 +0000 (0:00:00.051) 0:01:36.985 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:44 +0000 (0:00:00.023) 0:01:37.008 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:44 +0000 (0:00:00.022) 0:01:37.031 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:44 +0000 (0:00:00.028) 0:01:37.060 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:44 +0000 (0:00:00.396) 0:01:37.457 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:44 +0000 (0:00:00.038) 0:01:37.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:44 +0000 (0:00:00.024) 0:01:37.519 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:45 +0000 (0:00:00.035) 0:01:37.555 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:45 +0000 (0:00:00.472) 0:01:38.027 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:45 +0000 (0:00:00.024) 0:01:38.052 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:45 +0000 (0:00:00.059) 0:01:38.111 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:45 +0000 (0:00:00.026) 0:01:38.138 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:45 +0000 (0:00:00.022) 0:01:38.161 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:30 Friday 15 March 2024 15:40:45 +0000 (0:00:00.212) 0:01:38.373 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 15 March 2024 15:40:45 +0000 (0:00:00.042) 0:01:38.416 ********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 15 March 2024 15:40:45 +0000 (0:00:00.051) 0:01:38.467 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 15 March 2024 15:40:45 +0000 (0:00:00.062) 0:01:38.530 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 15 March 2024 15:40:46 +0000 (0:00:00.030) 0:01:38.560 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 15 March 2024 15:40:46 +0000 (0:00:00.022) 0:01:38.583 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 15 March 2024 15:40:46 +0000 (0:00:00.023) 0:01:38.606 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 15 March 2024 15:40:47 +0000 (0:00:01.671) 0:01:40.277 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 15 March 2024 15:40:48 +0000 (0:00:01.044) 0:01:41.322 ********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 15 March 2024 15:40:48 +0000 (0:00:00.023) 0:01:41.345 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 15 March 2024 15:40:48 +0000 (0:00:00.023) 0:01:41.368 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:28 Friday 15 March 2024 15:40:48 +0000 (0:00:00.025) 0:01:41.393 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 15 March 2024 15:40:48 +0000 (0:00:00.051) 0:01:41.445 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:57 Friday 15 March 2024 15:40:48 +0000 (0:00:00.023) 0:01:41.469 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:77 Friday 15 March 2024 15:40:48 +0000 (0:00:00.026) 0:01:41.495 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:90 Friday 15 March 2024 15:40:48 +0000 (0:00:00.047) 0:01:41.542 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 15 March 2024 15:40:49 +0000 (0:00:00.059) 0:01:41.602 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 15 March 2024 15:40:49 +0000 (0:00:00.051) 0:01:41.653 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 Friday 15 March 2024 15:40:49 +0000 (0:00:00.036) 0:01:41.690 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 15 March 2024 15:40:49 +0000 (0:00:00.397) 0:01:42.087 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:156 Friday 15 March 2024 15:40:49 +0000 (0:00:00.030) 0:01:42.117 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:164 Friday 15 March 2024 15:40:49 +0000 (0:00:00.023) 0:01:42.141 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 Friday 15 March 2024 15:40:49 +0000 (0:00:00.022) 0:01:42.164 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:185 Friday 15 March 2024 15:40:50 +0000 (0:00:00.391) 0:01:42.555 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:191 Friday 15 March 2024 15:40:50 +0000 (0:00:00.023) 0:01:42.579 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:195 Friday 15 March 2024 15:40:50 +0000 (0:00:00.026) 0:01:42.605 ********** 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_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:200 Friday 15 March 2024 15:40:50 +0000 (0:00:00.024) 0:01:42.630 ********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:206 Friday 15 March 2024 15:40:50 +0000 (0:00:00.024) 0:01:42.654 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:36 Friday 15 March 2024 15:40:50 +0000 (0:00:00.238) 0:01:42.893 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 15 March 2024 15:40:50 +0000 (0:00:00.055) 0:01:42.948 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 15 March 2024 15:40:50 +0000 (0:00:00.114) 0:01:43.063 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 15 March 2024 15:40:50 +0000 (0:00:00.039) 0:01:43.103 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 15 March 2024 15:40:50 +0000 (0:00:00.225) 0:01:43.328 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 15 March 2024 15:40:50 +0000 (0:00:00.024) 0:01:43.353 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020404", "end": "2024-03-15 15:40:51.007649", "rc": 1, "start": "2024-03-15 15:40:50.987245" } 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 15 March 2024 15:40:51 +0000 (0:00:00.240) 0:01:43.593 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 15 March 2024 15:40:51 +0000 (0:00:00.024) 0:01:43.617 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 15 March 2024 15:40:51 +0000 (0:00:00.024) 0:01:43.642 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 15 March 2024 15:40:51 +0000 (0:00:00.025) 0:01:43.667 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 15 March 2024 15:40:51 +0000 (0:00:00.027) 0:01:43.694 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 15 March 2024 15:40:51 +0000 (0:00:00.025) 0:01:43.720 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 15 March 2024 15:40:51 +0000 (0:00:00.042) 0:01:43.762 ********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.647545", "end": "2024-03-15 15:40:52.046860", "rc": 0, "start": "2024-03-15 15:40:51.399315" } STDOUT: NetworkManager-1.46.0-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 15 March 2024 15:40:52 +0000 (0:00:00.871) 0:01:44.634 ********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.46.0-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 15 March 2024 15:40:52 +0000 (0:00:00.044) 0:01:44.678 ********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.46.0-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:42 Friday 15 March 2024 15:40:52 +0000 (0:00:00.064) 0:01:44.742 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 15 March 2024 15:40:52 +0000 (0:00:00.052) 0:01:44.795 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 15 March 2024 15:40:52 +0000 (0:00:00.063) 0:01:44.858 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 15 March 2024 15:40:52 +0000 (0:00:00.212) 0:01:45.071 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:47 Friday 15 March 2024 15:40:52 +0000 (0:00:00.027) 0:01:45.098 ********** 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_hotfixj8df0s1n/tests/playbooks/tasks/run_test.yml:66 Friday 15 March 2024 15:40:52 +0000 (0:00:00.024) 0:01:45.123 ********** included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 15 March 2024 15:40:52 +0000 (0:00:00.057) 0:01:45.180 ********** 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.040161", "end": "2024-03-15 15:40:52.863292", "rc": 1, "start": "2024-03-15 15:40:52.823131" } 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_hotfixj8df0s1n/tests/playbooks/tasks/check_network_dns.yml:6 Friday 15 March 2024 15:40:52 +0000 (0:00:00.266) 0:01:45.446 ********** 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.009847", "end": "2024-03-15 15:40:53.092968", "rc": 0, "start": "2024-03-15 15:40:53.083121" } 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 0a:ff:de:55:55:cf brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.14.154/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2043sec preferred_lft 2043sec inet6 fe80::8ff:deff:fe55:55cf/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.154 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.154 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_hotfixj8df0s1n/tests/playbooks/tasks/check_network_dns.yml:24 Friday 15 March 2024 15:40:53 +0000 (0:00:00.230) 0:01:45.677 ********** 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.347909", "end": "2024-03-15 15:40:53.665314", "rc": 0, "start": "2024-03-15 15:40:53.317405" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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.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 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 1260 0 --:--:-- --:--:-- --:--:-- 1265 % 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 3779 0 --:--:-- --:--:-- --:--:-- 3779 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=319 changed=10 unreachable=0 failed=0 skipped=297 rescued=0 ignored=11 Friday 15 March 2024 15:40:53 +0000 (0:00:00.559) 0:01:46.237 ********** =============================================================================== Gather the minimum subset of ansible_facts required by the network role test -- 10.46s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/tasks/el_repo_setup.yml:3 --------- Gathering Facts --------------------------------------------------------- 5.58s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/playbooks/tests_states.yml:3 ------ linux-system-roles.network : Configure networking connection profiles --- 2.58s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 2.24s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Enable and start NetworkManager ------------ 1.76s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.68s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-nm_plugin_hotfixj8df0s1n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---