# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-route_typez0ma0lg8/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/tests_states_nm.yml:6 Saturday 13 January 2024 12:28:39 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/tests_states_nm.yml:9 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.918) 0:00:00.930 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.021) 0:00:00.952 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/el_repo_setup.yml:19 Saturday 13 January 2024 12:28:40 +0000 (0:00:00.544) 0:00:01.497 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/el_repo_setup.yml:24 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.319) 0:00:01.817 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/el_repo_setup.yml:28 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.027) 0:00:01.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/el_repo_setup.yml:53 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.018) 0:00:01.863 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.047) 0:00:01.910 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.022) 0:00:01.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.010) 0:00:01.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.009) 0:00:01.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.027) 0:00:01.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/tests_states_nm.yml:11 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.010) 0:00:01.991 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 12:28:41 +0000 (0:00:00.028) 0:00:02.019 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 12:28:42 +0000 (0:00:00.769) 0:00:02.789 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 12:28:42 +0000 (0:00:00.010) 0:00:02.800 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:42 +0000 (0:00:00.015) 0:00:02.815 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:42 +0000 (0:00:00.010) 0:00:02.826 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:42 +0000 (0:00:00.032) 0:00:02.858 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:42 +0000 (0:00:00.014) 0:00:02.872 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:42 +0000 (0:00:00.014) 0:00:02.887 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004749", "end": "2024-01-13 12:28:43.345432", "rc": 0, "start": "2024-01-13 12:28:42.340683" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:43 +0000 (0:00:01.248) 0:00:04.136 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.011) 0:00:04.148 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.010) 0:00:04.158 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.019) 0:00:04.178 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007985", "end": "2024-01-13 12:28:43.590820", "rc": 1, "start": "2024-01-13 12:28:43.582835" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.201) 0:00:04.379 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.015) 0:00:04.395 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.197) 0:00:04.593 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.012) 0:00:04.605 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.017) 0:00:04.623 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.031) 0:00:04.654 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.078) 0:00:04.733 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.012) 0:00:04.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.009) 0:00:04.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:28:43 +0000 (0:00:00.009) 0:00:04.766 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:28:46 +0000 (0:00:02.206) 0:00:06.972 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:28:47 +0000 (0:00:01.151) 0:00:08.123 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.044) 0:00:08.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.037) 0:00:08.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.031) 0:00:08.236 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.044) 0:00:08.281 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.024) 0:00:08.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.024) 0:00:08.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:28:47 +0000 (0:00:00.030) 0:00:08.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-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.711) 0:00:09.073 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.028) 0:00:09.101 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.021) 0:00:09.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.024) 0:00:09.147 ****** 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, 16f0a632-89fd-4f75-91d9-bf7feb37b79c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.570) 0:00:09.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:28:48 +0000 (0:00:00.033) 0:00:09.751 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16f0a632-89fd-4f75-91d9-bf7feb37b79c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.029) 0:00:09.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, 16f0a632-89fd-4f75-91d9-bf7feb37b79c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16f0a632-89fd-4f75-91d9-bf7feb37b79c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.024) 0:00:09.805 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.033) 0:00:09.838 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.250) 0:00:10.088 ****** 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, 16f0a632-89fd-4f75-91d9-bf7feb37b79c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 16f0a632-89fd-4f75-91d9-bf7feb37b79c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.024) 0:00:10.112 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.043) 0:00:10.156 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.040) 0:00:10.196 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.022) 0:00:10.219 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.209) 0:00:10.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.026) 0:00:10.456 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023423", "end": "2024-01-13 12:28:49.885709", "rc": 0, "start": "2024-01-13 12:28:49.862286" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.246) 0:00:10.702 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.031) 0:00:10.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:28:49 +0000 (0:00:00.025) 0:00:10.760 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.026) 0:00:10.786 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.026) 0:00:10.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.023) 0:00:10.837 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.025) 0:00:10.862 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.027) 0:00:10.889 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.025) 0:00:10.914 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.045) 0:00:10.960 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.039) 0:00:10.999 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148928.8447673, "block_size": 4096, "blocks": 0, "ctime": 1705148928.8447673, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36722, "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": 1705148928.8447673, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.211) 0:00:11.211 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.026) 0:00:11.238 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.048) 0:00:11.287 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.052) 0:00:11.339 ****** 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.059109", "end": "2024-01-13 12:28:50.811084", "rc": 1, "start": "2024-01-13 12:28:50.751975" } STDOUT: Connection 'statebr' (16f0a632-89fd-4f75-91d9-bf7feb37b79c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.273) 0:00:11.613 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.044) 0:00:11.657 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.030) 0:00:11.687 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.044) 0:00:11.731 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:50 +0000 (0:00:00.036) 0:00:11.767 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:51 +0000 (0:00:00.035) 0:00:11.803 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004899", "end": "2024-01-13 12:28:52.214623", "rc": 0, "start": "2024-01-13 12:28:51.209724" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:28:52 +0000 (0:00:01.225) 0:00:13.028 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.046) 0:00:13.074 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.058) 0:00:13.133 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.056) 0:00:13.190 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006516", "end": "2024-01-13 12:28:52.608788", "rc": 1, "start": "2024-01-13 12:28:52.602272" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.220) 0:00:13.410 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.037) 0:00:13.448 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.212) 0:00:13.661 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.031) 0:00:13.692 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 12:28:52 +0000 (0:00:00.045) 0:00:13.738 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.085) 0:00:13.824 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.066) 0:00:13.890 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.057) 0:00:13.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.037) 0:00:13.985 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:28:53 +0000 (0:00:00.025) 0:00:14.011 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:28:55 +0000 (0:00:02.145) 0:00:16.157 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.918) 0:00:17.075 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.024) 0:00:17.100 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.022) 0:00:17.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.029) 0:00:17.152 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.047) 0:00:17.200 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.034) 0:00:17.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.039) 0:00:17.274 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:28:56 +0000 (0:00:00.046) 0:00:17.320 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.576) 0:00:17.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.042) 0:00:17.939 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.024) 0:00:17.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.049) 0:00:18.013 ****** 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, cb08864c-61db-49cf-81a6-cfd8fb298071 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.383) 0:00:18.396 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.023) 0:00:18.420 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb08864c-61db-49cf-81a6-cfd8fb298071" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.026) 0:00:18.446 ****** 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, cb08864c-61db-49cf-81a6-cfd8fb298071\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb08864c-61db-49cf-81a6-cfd8fb298071" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.027) 0:00:18.474 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.023) 0:00:18.498 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.203) 0:00:18.701 ****** 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, cb08864c-61db-49cf-81a6-cfd8fb298071\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cb08864c-61db-49cf-81a6-cfd8fb298071" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:28:57 +0000 (0:00:00.026) 0:00:18.728 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.051) 0:00:18.779 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.056) 0:00:18.835 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.212) 0:00:19.048 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.051) 0:00:19.099 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.040) 0:00:19.139 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.023) 0:00:19.163 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.207) 0:00:19.370 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.022) 0:00:19.392 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022000", "end": "2024-01-13 12:28:58.819994", "rc": 0, "start": "2024-01-13 12:28:58.797994" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.229) 0:00:19.622 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.025) 0:00:19.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.022) 0:00:19.670 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.022) 0:00:19.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.022) 0:00:19.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.022) 0:00:19.737 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:28:58 +0000 (0:00:00.024) 0:00:19.761 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.023) 0:00:19.785 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.022) 0:00:19.808 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.046) 0:00:19.854 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.024) 0:00:19.879 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.043) 0:00:19.922 ****** 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.042380", "end": "2024-01-13 12:28:59.371277", "rc": 1, "start": "2024-01-13 12:28:59.328897" } STDOUT: Connection 'statebr' (cb08864c-61db-49cf-81a6-cfd8fb298071) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.252) 0:00:20.174 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.039) 0:00:20.214 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.022) 0:00:20.236 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.047) 0:00:20.283 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.038) 0:00:20.322 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:28:59 +0000 (0:00:00.036) 0:00:20.358 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004671", "end": "2024-01-13 12:29:00.768394", "rc": 0, "start": "2024-01-13 12:28:59.763723" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:00 +0000 (0:00:01.226) 0:00:21.584 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.035) 0:00:21.619 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.030) 0:00:21.650 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.042) 0:00:21.692 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:00 +0000 (0:00:00.045) 0:00:21.738 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.074) 0:00:21.813 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.047) 0:00:21.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.023) 0:00:21.884 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:01 +0000 (0:00:00.022) 0:00:21.907 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:03 +0000 (0:00:02.160) 0:00:24.067 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.900) 0:00:24.968 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.024) 0:00:24.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.030) 0:00:25.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.031) 0:00:25.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.052) 0:00:25.107 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.025) 0:00:25.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.047) 0:00:25.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.027) 0:00:25.207 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:04 +0000 (0:00:00.549) 0:00:25.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.031) 0:00:25.787 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.023) 0:00:25.810 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.024) 0:00:25.835 ****** 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, 53787375-db85-49a0-bd83-63266ebf5b4f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.414) 0:00:26.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.023) 0:00:26.272 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 53787375-db85-49a0-bd83-63266ebf5b4f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.024) 0:00:26.297 ****** 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, 53787375-db85-49a0-bd83-63266ebf5b4f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 53787375-db85-49a0-bd83-63266ebf5b4f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.024) 0:00:26.321 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.021) 0:00:26.342 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.203) 0:00:26.546 ****** 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, 53787375-db85-49a0-bd83-63266ebf5b4f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 53787375-db85-49a0-bd83-63266ebf5b4f" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.050) 0:00:26.596 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.043) 0:00:26.640 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.043) 0:00:26.683 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.043) 0:00:26.727 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:05 +0000 (0:00:00.027) 0:00:26.755 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.024) 0:00:26.780 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:06 +0000 (0:00:00.027) 0:00:26.807 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:08 +0000 (0:00:02.197) 0:00:29.005 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.915) 0:00:29.920 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.027) 0:00:29.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.022) 0:00:29.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.024) 0:00:29.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.057) 0:00:30.052 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.023) 0:00:30.075 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.055) 0:00:30.131 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.028) 0:00:30.159 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.578) 0:00:30.737 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:09 +0000 (0:00:00.027) 0:00:30.765 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.027) 0:00:30.793 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.032) 0:00:30.825 ****** 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, 53787375-db85-49a0-bd83-63266ebf5b4f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.376) 0:00:31.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.035) 0:00:31.238 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 53787375-db85-49a0-bd83-63266ebf5b4f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.042) 0:00:31.281 ****** 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, 53787375-db85-49a0-bd83-63266ebf5b4f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 53787375-db85-49a0-bd83-63266ebf5b4f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.028) 0:00:31.309 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.030) 0:00:31.339 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.225) 0:00:31.565 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.044) 0:00:31.609 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:10 +0000 (0:00:00.039) 0:00:31.649 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148945.3941782, "block_size": 4096, "blocks": 0, "ctime": 1705148945.3941782, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36853, "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": 1705148945.3941782, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.243) 0:00:31.893 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.025) 0:00:31.918 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.040) 0:00:31.958 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.022) 0:00:31.981 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.205) 0:00:32.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.024) 0:00:32.211 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022274", "end": "2024-01-13 12:29:11.638391", "rc": 0, "start": "2024-01-13 12:29:11.616117" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.231) 0:00:32.443 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.026) 0:00:32.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.033) 0:00:32.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.041) 0:00:32.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.028) 0:00:32.573 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.027) 0:00:32.601 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.041) 0:00:32.643 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.061) 0:00:32.704 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:11 +0000 (0:00:00.051) 0:00:32.756 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.026) 0:00:32.782 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.081) 0:00:32.864 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.055) 0:00:32.919 ****** 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.069794", "end": "2024-01-13 12:29:12.401772", "rc": 1, "start": "2024-01-13 12:29:12.331978" } STDOUT: Connection 'statebr' (53787375-db85-49a0-bd83-63266ebf5b4f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.286) 0:00:33.205 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.040) 0:00:33.246 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.024) 0:00:33.270 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.050) 0:00:33.320 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.038) 0:00:33.359 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.071) 0:00:33.430 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-01-13 12:29:12.843666", "rc": 0, "start": "2024-01-13 12:29:12.840200" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.216) 0:00:33.646 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.026) 0:00:33.672 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.024) 0:00:33.697 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:12 +0000 (0:00:00.051) 0:00:33.749 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.040) 0:00:33.789 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.043) 0:00:33.832 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.027) 0:00:33.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.022) 0:00:33.882 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:13 +0000 (0:00:00.026) 0:00:33.909 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:15 +0000 (0:00:02.140) 0:00:36.049 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.897) 0:00:36.947 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.022) 0:00:36.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.023) 0:00:36.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.042) 0:00:37.036 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.045) 0:00:37.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.023) 0:00:37.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.023) 0:00:37.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.027) 0:00:37.156 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.558) 0:00:37.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:16 +0000 (0:00:00.029) 0:00:37.744 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.026) 0:00:37.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.024) 0:00:37.795 ****** 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, 04918143-7453-4e40-b994-fc691118a422 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.419) 0:00:38.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.055) 0:00:38.271 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04918143-7453-4e40-b994-fc691118a422" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.040) 0:00:38.312 ****** 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, 04918143-7453-4e40-b994-fc691118a422\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04918143-7453-4e40-b994-fc691118a422" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.039) 0:00:38.351 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.054) 0:00:38.406 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.252) 0:00:38.659 ****** 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, 04918143-7453-4e40-b994-fc691118a422\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04918143-7453-4e40-b994-fc691118a422" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:17 +0000 (0:00:00.051) 0:00:38.710 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.069) 0:00:38.779 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.096) 0:00:38.875 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.033) 0:00:38.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.093) 0:00:39.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:18 +0000 (0:00:00.048) 0:00:39.050 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:20 +0000 (0:00:02.189) 0:00:41.240 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.910) 0:00:42.151 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.023) 0:00:42.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.021) 0:00:42.196 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.021) 0:00:42.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.044) 0:00:42.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.022) 0:00:42.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.023) 0:00:42.309 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:21 +0000 (0:00:00.048) 0:00:42.357 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.563) 0:00:42.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.029) 0:00:42.951 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.026) 0:00:42.977 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.027) 0:00:43.005 ****** 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, 04918143-7453-4e40-b994-fc691118a422 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.376) 0:00:43.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.034) 0:00:43.416 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04918143-7453-4e40-b994-fc691118a422 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.060) 0:00:43.476 ****** 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, 04918143-7453-4e40-b994-fc691118a422 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04918143-7453-4e40-b994-fc691118a422 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.054) 0:00:43.530 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:22 +0000 (0:00:00.037) 0:00:43.568 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.236) 0:00:43.805 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.094) 0:00:43.899 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.047) 0:00:43.947 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.065) 0:00:44.013 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.028) 0:00:44.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.023) 0:00:44.064 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:23 +0000 (0:00:00.027) 0:00:44.092 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:25 +0000 (0:00:02.151) 0:00:46.243 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.955) 0:00:47.198 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.022) 0:00:47.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.021) 0:00:47.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.021) 0:00:47.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.044) 0:00:47.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.022) 0:00:47.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.024) 0:00:47.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:26 +0000 (0:00:00.026) 0:00:47.382 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.542) 0:00:47.925 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.028) 0:00:47.953 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.049) 0:00:48.002 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.023) 0:00:48.025 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.394) 0:00:48.420 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.024) 0:00:48.444 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.030) 0:00:48.474 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.040) 0:00:48.514 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:27 +0000 (0:00:00.037) 0:00:48.552 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.260) 0:00:48.813 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.062) 0:00:48.875 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.045) 0:00:48.920 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705148957.3629146, "block_size": 4096, "blocks": 0, "ctime": 1705148957.3629146, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36984, "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": 1705148957.3629146, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.221) 0:00:49.142 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.028) 0:00:49.170 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.107) 0:00:49.278 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.056) 0:00:49.335 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.240) 0:00:49.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:28 +0000 (0:00:00.041) 0:00:49.617 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022271", "end": "2024-01-13 12:29:29.057844", "rc": 1, "start": "2024-01-13 12:29:29.035573" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.242) 0:00:49.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.040) 0:00:49.900 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.038) 0:00:49.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.034) 0:00:49.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.081) 0:00:50.054 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.048) 0:00:50.103 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.033) 0:00:50.136 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.031) 0:00:50.168 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.025) 0:00:50.193 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.096) 0:00:50.289 ****** 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.096754", "end": "2024-01-13 12:29:29.797159", "rc": 1, "start": "2024-01-13 12:29:29.700405" } STDOUT: Connection 'statebr' (04918143-7453-4e40-b994-fc691118a422) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:103 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.319) 0:00:50.608 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.042) 0:00:50.651 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.029) 0:00:50.680 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:29 +0000 (0:00:00.076) 0:00:50.756 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.055) 0:00:50.811 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.056) 0:00:50.868 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003593", "end": "2024-01-13 12:29:30.279825", "rc": 0, "start": "2024-01-13 12:29:30.276232" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.223) 0:00:51.092 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.027) 0:00:51.119 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.025) 0:00:51.145 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.082) 0:00:51.227 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.050) 0:00:51.277 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.049) 0:00:51.327 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.032) 0:00:51.359 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.027) 0:00:51.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:30 +0000 (0:00:00.024) 0:00:51.412 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:32 +0000 (0:00:02.158) 0:00:53.571 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.895) 0:00:54.466 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.023) 0:00:54.490 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.024) 0:00:54.515 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.022) 0:00:54.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-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.050) 0:00:54.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.026) 0:00:54.614 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.027) 0:00:54.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:33 +0000 (0:00:00.048) 0:00:54.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-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.620) 0:00:55.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.033) 0:00:55.343 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.039) 0:00:55.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:34 +0000 (0:00:00.036) 0:00:55.420 ****** 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, 670ca312-69c3-4e5e-8593-0c3d24632043 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.436) 0:00:55.856 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.041) 0:00:55.898 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 670ca312-69c3-4e5e-8593-0c3d24632043" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.042) 0:00:55.940 ****** 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, 670ca312-69c3-4e5e-8593-0c3d24632043\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 670ca312-69c3-4e5e-8593-0c3d24632043" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.048) 0:00:55.989 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.033) 0:00:56.022 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.225) 0:00:56.248 ****** 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, 670ca312-69c3-4e5e-8593-0c3d24632043\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 670ca312-69c3-4e5e-8593-0c3d24632043" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.026) 0:00:56.274 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.084) 0:00:56.359 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.091) 0:00:56.450 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.086) 0:00:56.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.044) 0:00:56.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-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:35 +0000 (0:00:00.058) 0:00:56.640 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:38 +0000 (0:00:02.156) 0:00:58.796 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:38 +0000 (0:00:00.958) 0:00:59.754 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.037) 0:00:59.792 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.030) 0:00:59.822 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.029) 0:00:59.851 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.061) 0:00:59.913 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.040) 0:00:59.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.050) 0:01:00.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.054) 0:01:00.059 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.564) 0:01:00.623 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.043) 0:01:00.666 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.025) 0:01:00.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:39 +0000 (0:00:00.034) 0:01:00.726 ****** 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, 670ca312-69c3-4e5e-8593-0c3d24632043 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.438) 0:01:01.165 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.023) 0:01:01.188 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 670ca312-69c3-4e5e-8593-0c3d24632043 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.024) 0:01:01.213 ****** 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, 670ca312-69c3-4e5e-8593-0c3d24632043 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 670ca312-69c3-4e5e-8593-0c3d24632043 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.024) 0:01:01.237 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.022) 0:01:01.260 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.205) 0:01:01.466 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.040) 0:01:01.506 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.055) 0:01:01.561 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.051) 0:01:01.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.046) 0:01:01.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:40 +0000 (0:00:00.024) 0:01:01.685 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:43 +0000 (0:00:02.180) 0:01:03.866 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.979) 0:01:04.845 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.029) 0:01:04.875 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.029) 0:01:04.905 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.033) 0:01:04.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.062) 0:01:05.000 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.083) 0:01:05.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.049) 0:01:05.133 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.028) 0:01:05.162 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:44 +0000 (0:00:00.569) 0:01:05.731 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.068) 0:01:05.800 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.040) 0:01:05.840 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.025) 0:01:05.866 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.421) 0:01:06.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-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.053) 0:01:06.342 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.041) 0:01:06.383 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.027) 0:01:06.410 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.023) 0:01:06.434 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.209) 0:01:06.643 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:29:45 +0000 (0:00:00.072) 0:01:06.716 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.057) 0:01:06.774 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.059) 0:01:06.833 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.064) 0:01:06.898 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.060) 0:01:06.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:46 +0000 (0:00:00.041) 0:01:07.000 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:48 +0000 (0:00:02.284) 0:01:09.284 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.929) 0:01:10.214 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.026) 0:01:10.241 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.024) 0:01:10.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.024) 0:01:10.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.045) 0:01:10.335 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.022) 0:01:10.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.022) 0:01:10.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:49 +0000 (0:00:00.030) 0:01:10.410 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.573) 0:01:10.984 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.071) 0:01:11.056 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.024) 0:01:11.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.023) 0:01:11.103 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.517) 0:01:11.620 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:50 +0000 (0:00:00.088) 0:01:11.709 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.065) 0:01:11.774 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.057) 0:01:11.832 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.026) 0:01:11.858 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.207) 0:01:12.066 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.044) 0:01:12.111 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.044) 0:01:12.155 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.024) 0:01:12.180 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.208) 0:01:12.389 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.022) 0:01:12.411 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021050", "end": "2024-01-13 12:29:51.838658", "rc": 1, "start": "2024-01-13 12:29:51.817608" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.229) 0:01:12.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.025) 0:01:12.666 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.023) 0:01:12.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.022) 0:01:12.712 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.024) 0:01:12.737 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:29:51 +0000 (0:00:00.023) 0:01:12.760 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.023) 0:01:12.784 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.046) 0:01:12.830 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.046) 0:01:12.877 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.225) 0:01:13.102 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.068) 0:01:13.170 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.052) 0:01:13.223 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.070) 0:01:13.293 ****** 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.040686", "end": "2024-01-13 12:29:52.743613", "rc": 1, "start": "2024-01-13 12:29:52.702927" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tests_states.yml:126 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.252) 0:01:13.546 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.045) 0:01:13.591 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.030) 0:01:13.622 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.079) 0:01:13.702 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 12:29:52 +0000 (0:00:00.041) 0:01:13.743 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.044) 0:01:13.787 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003578", "end": "2024-01-13 12:29:53.206852", "rc": 0, "start": "2024-01-13 12:29:53.203274" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.227) 0:01:14.015 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.063) 0:01:14.078 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.023) 0:01:14.101 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.047) 0:01:14.149 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.058) 0:01:14.207 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.047) 0:01:14.254 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.051) 0:01:14.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.025) 0:01:14.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:53 +0000 (0:00:00.024) 0:01:14.356 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:29:55 +0000 (0:00:02.152) 0:01:16.509 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.900) 0:01:17.410 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.025) 0:01:17.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.026) 0:01:17.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.022) 0:01:17.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.049) 0:01:17.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.023) 0:01:17.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.028) 0:01:17.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:29:56 +0000 (0:00:00.055) 0:01:17.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.557) 0:01:18.198 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.030) 0:01:18.228 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.029) 0:01:18.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.024) 0:01:18.282 ****** 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, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:29:57 +0000 (0:00:00.463) 0:01:18.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.027) 0:01:18.774 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.039) 0:01:18.814 ****** 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, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.047) 0:01:18.861 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.025) 0:01:18.887 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.219) 0:01:19.107 ****** 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, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.032) 0:01:19.140 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.081) 0:01:19.222 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.060) 0:01:19.282 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.048) 0:01:19.331 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.039) 0:01:19.370 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:29:58 +0000 (0:00:00.031) 0:01:19.401 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:30:00 +0000 (0:00:02.268) 0:01:21.670 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:30:01 +0000 (0:00:00.965) 0:01:22.635 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:30:01 +0000 (0:00:00.025) 0:01:22.661 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:30:01 +0000 (0:00:00.023) 0:01:22.684 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:30:01 +0000 (0:00:00.021) 0:01:22.706 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:30:01 +0000 (0:00:00.044) 0:01:22.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.022) 0:01:22.773 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.024) 0:01:22.797 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.028) 0:01:22.825 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.568) 0:01:23.394 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.029) 0:01:23.423 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.058) 0:01:23.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:30:02 +0000 (0:00:00.023) 0:01:23.506 ****** 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, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.370) 0:01:23.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.022) 0:01:23.898 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.025) 0:01:23.923 ****** 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, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fcd66ffc-8eb4-4582-b9c9-b6040b57c0e3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.025) 0:01:23.949 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.022) 0:01:23.972 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.204) 0:01:24.176 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.039) 0:01:24.215 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.041) 0:01:24.257 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.028) 0:01:24.285 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.036) 0:01:24.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:30:03 +0000 (0:00:00.028) 0:01:24.350 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:30:05 +0000 (0:00:02.255) 0:01:26.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.903) 0:01:27.509 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.042) 0:01:27.551 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.023) 0:01:27.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.023) 0:01:27.598 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.044) 0:01:27.642 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.021) 0:01:27.664 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.022) 0:01:27.686 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:30:06 +0000 (0:00:00.025) 0:01:27.711 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.563) 0:01:28.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.028) 0:01:28.303 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.023) 0:01:28.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:30:07 +0000 (0:00:00.023) 0:01:28.350 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.470) 0:01:28.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.024) 0:01:28.845 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.051) 0:01:28.897 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.025) 0:01:28.923 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.022) 0:01:28.945 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.202) 0:01:29.147 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.041) 0:01:29.189 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.038) 0:01:29.227 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.042) 0:01:29.269 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.030) 0:01:29.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.023) 0:01:29.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 12:30:08 +0000 (0:00:00.024) 0:01:29.347 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 12:30:10 +0000 (0:00:02.175) 0:01:31.522 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.906) 0:01:32.428 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.026) 0:01:32.455 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.042) 0:01:32.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.022) 0:01:32.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.044) 0:01:32.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.023) 0:01:32.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.022) 0:01:32.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 12:30:11 +0000 (0:00:00.027) 0:01:32.636 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.552) 0:01:33.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.027) 0:01:33.216 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.022) 0:01:33.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.021) 0:01:33.261 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.386) 0:01:33.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.023) 0:01:33.671 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.022) 0:01:33.693 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.047) 0:01:33.741 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 12:30:12 +0000 (0:00:00.023) 0:01:33.765 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.204) 0:01:33.969 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.047) 0:01:34.017 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.042) 0:01:34.059 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.023) 0:01:34.082 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.206) 0:01:34.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.021) 0:01:34.310 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021437", "end": "2024-01-13 12:30:13.739718", "rc": 1, "start": "2024-01-13 12:30:13.718281" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.232) 0:01:34.543 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.022) 0:01:34.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.023) 0:01:34.589 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.023) 0:01:34.612 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.064) 0:01:34.677 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.024) 0:01:34.702 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 12:30:13 +0000 (0:00:00.024) 0:01:34.726 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360179", "end": "2024-01-13 12:30:14.493135", "rc": 0, "start": "2024-01-13 12:30:14.132956" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.569) 0:01:35.296 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.024) 0:01:35.320 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.023) 0:01:35.344 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.047) 0:01:35.392 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.038) 0:01:35.430 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.207) 0:01:35.638 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.026) 0:01:35.664 ****** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.022) 0:01:35.686 ****** included: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typez0ma0lg8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 12:30:14 +0000 (0:00:00.069) 0:01:35.756 ****** 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.040471", "end": "2024-01-13 12:30:15.204598", "rc": 1, "start": "2024-01-13 12:30:15.164127" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Saturday 13 January 2024 12:30:15 +0000 (0:00:00.236) 0:01:35.992 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.00s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.30s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.27s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.69s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.56s /WORKDIR/git-route_typez0ma0lg8/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---