# 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_typefz7powex/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/tests_states_nm.yml:6 Thursday 11 January 2024 02:13:32 +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_typefz7powex/tests/tests_states_nm.yml:9 Thursday 11 January 2024 02:13:32 +0000 (0:00:00.651) 0:00:00.663 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:13:32 +0000 (0:00:00.028) 0:00:00.692 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.378) 0:00:01.070 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.251) 0:00:01.322 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.021) 0:00:01.343 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.029) 0:00:01.373 ****** included: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.034) 0:00:01.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.028) 0:00:01.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.026) 0:00:01.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.018) 0:00:01.480 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.011) 0:00:01.491 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typefz7powex/tests/tests_states_nm.yml:11 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.011) 0:00:01.503 ****** 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_typefz7powex/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:13:33 +0000 (0:00:00.016) 0:00:01.519 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.502) 0:00:02.022 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.010) 0:00:02.033 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.030) 0:00:02.063 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.012) 0:00:02.075 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.032) 0:00:02.107 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.013) 0:00:02.121 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.012) 0:00:02.134 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003174", "end": "2024-01-11 02:13:34.383040", "rc": 0, "start": "2024-01-11 02:13:34.379866" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.231) 0:00:02.365 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.012) 0:00:02.377 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.012) 0:00:02.390 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.044) 0:00:02.434 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007468", "end": "2024-01-11 02:13:34.639866", "rc": 1, "start": "2024-01-11 02:13:34.632398" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.188) 0:00:02.623 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.017) 0:00:02.640 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.186) 0:00:02.827 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.014) 0:00:02.841 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.022) 0:00:02.863 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:34 +0000 (0:00:00.037) 0:00:02.901 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:35 +0000 (0:00:00.068) 0:00:02.970 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:35 +0000 (0:00:00.013) 0:00:02.983 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:35 +0000 (0:00:00.010) 0:00:02.993 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:35 +0000 (0:00:00.012) 0:00:03.006 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:36 +0000 (0:00:01.513) 0:00:04.520 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:13:37 +0000 (0:00:01.089) 0:00:05.610 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:13:37 +0000 (0:00:00.022) 0:00:05.633 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:13:37 +0000 (0:00:00.021) 0:00:05.654 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:13:37 +0000 (0:00:00.020) 0:00:05.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:13:37 +0000 (0:00:00.043) 0:00:05.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:13:37 +0000 (0:00:00.021) 0:00:05.739 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:13:37 +0000 (0:00:00.020) 0:00:05.760 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:13:37 +0000 (0:00:00.023) 0:00:05.783 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.483) 0:00:06.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.026) 0:00:06.293 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.020) 0:00:06.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.028) 0:00:06.342 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b5bbef2-6453-4cf2-ada7-9eafcac09490 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.497) 0:00:06.839 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.022) 0:00:06.862 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b5bbef2-6453-4cf2-ada7-9eafcac09490" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.043) 0:00:06.906 ****** 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, 3b5bbef2-6453-4cf2-ada7-9eafcac09490\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b5bbef2-6453-4cf2-ada7-9eafcac09490" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.026) 0:00:06.932 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:13:38 +0000 (0:00:00.024) 0:00:06.956 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.238) 0:00:07.194 ****** 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, 3b5bbef2-6453-4cf2-ada7-9eafcac09490\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b5bbef2-6453-4cf2-ada7-9eafcac09490" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.023) 0:00:07.218 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.044) 0:00:07.262 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.038) 0:00:07.300 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.023) 0:00:07.324 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.195) 0:00:07.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.020) 0:00:07.540 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020838", "end": "2024-01-11 02:13:39.777973", "rc": 0, "start": "2024-01-11 02:13:39.757135" } 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.231) 0:00:07.771 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.032) 0:00:07.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.022) 0:00:07.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.022) 0:00:07.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.044) 0:00:07.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.023) 0:00:07.916 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.023) 0:00:07.940 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:13:39 +0000 (0:00:00.023) 0:00:07.963 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.022) 0:00:07.986 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.042) 0:00:08.028 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.033) 0:00:08.062 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939218.7847607, "block_size": 4096, "blocks": 0, "ctime": 1704939218.7847607, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29571, "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": 1704939218.7847607, "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_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.194) 0:00:08.257 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.025) 0:00:08.282 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.022) 0:00:08.305 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.041) 0:00:08.346 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065192", "end": "2024-01-11 02:13:40.622871", "rc": 1, "start": "2024-01-11 02:13:40.557679" } STDOUT: Connection 'statebr' (3b5bbef2-6453-4cf2-ada7-9eafcac09490) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.268) 0:00:08.615 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.057) 0:00:08.673 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.021) 0:00:08.695 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.045) 0:00:08.740 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.051) 0:00:08.792 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:13:40 +0000 (0:00:00.039) 0:00:08.831 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003262", "end": "2024-01-11 02:13:41.037274", "rc": 0, "start": "2024-01-11 02:13:41.034012" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.204) 0:00:09.035 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.032) 0:00:09.068 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.028) 0:00:09.097 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.046) 0:00:09.143 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005907", "end": "2024-01-11 02:13:41.350408", "rc": 1, "start": "2024-01-11 02:13:41.344501" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.197) 0:00:09.341 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.034) 0:00:09.376 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.189) 0:00:09.565 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.049) 0:00:09.615 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.047) 0:00:09.662 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.042) 0:00:09.704 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.040) 0:00:09.745 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.028) 0:00:09.773 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.023) 0:00:09.796 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:41 +0000 (0:00:00.023) 0:00:09.820 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:43 +0000 (0:00:01.388) 0:00:11.209 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.928) 0:00:12.137 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.032) 0:00:12.170 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.043) 0:00:12.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.025) 0:00:12.238 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.052) 0:00:12.291 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.023) 0:00:12.315 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.027) 0:00:12.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.031) 0:00:12.374 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.367) 0:00:12.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.044) 0:00:12.786 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.070) 0:00:12.857 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:13:44 +0000 (0:00:00.023) 0:00:12.880 ****** 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, cf73650e-b36c-40f9-a5b8-a02421dbe2af TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.356) 0:00:13.237 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.042) 0:00:13.279 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cf73650e-b36c-40f9-a5b8-a02421dbe2af" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.047) 0:00:13.327 ****** 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, cf73650e-b36c-40f9-a5b8-a02421dbe2af\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cf73650e-b36c-40f9-a5b8-a02421dbe2af" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.027) 0:00:13.354 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.039) 0:00:13.394 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.222) 0:00:13.616 ****** 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, cf73650e-b36c-40f9-a5b8-a02421dbe2af\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cf73650e-b36c-40f9-a5b8-a02421dbe2af" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.087) 0:00:13.704 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.049) 0:00:13.753 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:45 +0000 (0:00:00.039) 0:00:13.792 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.192) 0:00:13.984 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.048) 0:00:14.033 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.070) 0:00:14.103 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.040) 0:00:14.144 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.206) 0:00:14.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.025) 0:00:14.376 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019779", "end": "2024-01-11 02:13:46.604195", "rc": 0, "start": "2024-01-11 02:13:46.584416" } 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.228) 0:00:14.605 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.057) 0:00:14.662 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.029) 0:00:14.692 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.026) 0:00:14.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.032) 0:00:14.751 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.023) 0:00:14.775 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.025) 0:00:14.801 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.027) 0:00:14.828 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.024) 0:00:14.853 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.021) 0:00:14.875 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:13:46 +0000 (0:00:00.038) 0:00:14.913 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.094) 0:00:15.007 ****** 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.040205", "end": "2024-01-11 02:13:47.248005", "rc": 1, "start": "2024-01-11 02:13:47.207800" } STDOUT: Connection 'statebr' (cf73650e-b36c-40f9-a5b8-a02421dbe2af) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.237) 0:00:15.245 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.042) 0:00:15.287 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.024) 0:00:15.312 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.044) 0:00:15.356 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.036) 0:00:15.392 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.036) 0:00:15.429 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003249", "end": "2024-01-11 02:13:47.632239", "rc": 0, "start": "2024-01-11 02:13:47.628990" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.196) 0:00:15.626 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.025) 0:00:15.651 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.023) 0:00:15.674 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.038) 0:00:15.712 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.066) 0:00:15.778 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.047) 0:00:15.826 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.054) 0:00:15.880 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.032) 0:00:15.913 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:47 +0000 (0:00:00.031) 0:00:15.945 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:49 +0000 (0:00:01.427) 0:00:17.372 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.930) 0:00:18.303 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.026) 0:00:18.329 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.024) 0:00:18.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.022) 0:00:18.376 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.043) 0:00:18.419 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.022) 0:00:18.441 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.020) 0:00:18.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.025) 0:00:18.488 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.356) 0:00:18.844 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.026) 0:00:18.870 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.021) 0:00:18.891 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:13:50 +0000 (0:00:00.023) 0:00:18.915 ****** 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, 67323b85-2900-4755-a973-1a3772ea6053 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.409) 0:00:19.324 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.022) 0:00:19.347 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 67323b85-2900-4755-a973-1a3772ea6053" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.050) 0:00:19.397 ****** 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, 67323b85-2900-4755-a973-1a3772ea6053\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 67323b85-2900-4755-a973-1a3772ea6053" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.023) 0:00:19.421 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.036) 0:00:19.458 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.198) 0:00:19.656 ****** 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, 67323b85-2900-4755-a973-1a3772ea6053\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 67323b85-2900-4755-a973-1a3772ea6053" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.025) 0:00:19.682 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.053) 0:00:19.735 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.043) 0:00:19.778 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.041) 0:00:19.820 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.029) 0:00:19.849 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.022) 0:00:19.872 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:51 +0000 (0:00:00.022) 0:00:19.894 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:53 +0000 (0:00:01.415) 0:00:21.309 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.907) 0:00:22.216 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.028) 0:00:22.244 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.037) 0:00:22.281 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.044) 0:00:22.326 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.053) 0:00:22.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.034) 0:00:22.414 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.042) 0:00:22.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.049) 0:00:22.507 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.389) 0:00:22.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.025) 0:00:22.922 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.020) 0:00:22.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:13:54 +0000 (0:00:00.021) 0:00:22.963 ****** 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, 67323b85-2900-4755-a973-1a3772ea6053 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.334) 0:00:23.298 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.021) 0:00:23.320 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 67323b85-2900-4755-a973-1a3772ea6053 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.023) 0:00:23.344 ****** 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, 67323b85-2900-4755-a973-1a3772ea6053 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 67323b85-2900-4755-a973-1a3772ea6053 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.023) 0:00:23.368 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.021) 0:00:23.389 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.188) 0:00:23.577 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.043) 0:00:23.621 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.044) 0:00:23.665 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939231.2727108, "block_size": 4096, "blocks": 0, "ctime": 1704939231.2727108, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29702, "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": 1704939231.2727108, "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_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.218) 0:00:23.883 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.025) 0:00:23.909 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:13:55 +0000 (0:00:00.038) 0:00:23.948 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.023) 0:00:23.971 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.187) 0:00:24.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.029) 0:00:24.188 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020287", "end": "2024-01-11 02:13:56.405163", "rc": 0, "start": "2024-01-11 02:13:56.384876" } 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.211) 0:00:24.400 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.026) 0:00:24.426 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.025) 0:00:24.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.027) 0:00:24.479 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.022) 0:00:24.501 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.022) 0:00:24.523 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.028) 0:00:24.552 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.035) 0:00:24.587 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.023) 0:00:24.611 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.019) 0:00:24.631 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.056) 0:00:24.687 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:13:56 +0000 (0:00:00.043) 0:00:24.730 ****** 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.062226", "end": "2024-01-11 02:13:57.001363", "rc": 1, "start": "2024-01-11 02:13:56.939137" } STDOUT: Connection 'statebr' (67323b85-2900-4755-a973-1a3772ea6053) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.281) 0:00:25.012 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.045) 0:00:25.058 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.042) 0:00:25.100 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.062) 0:00:25.163 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.061) 0:00:25.224 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.042) 0:00:25.267 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003123", "end": "2024-01-11 02:13:57.469587", "rc": 0, "start": "2024-01-11 02:13:57.466464" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.194) 0:00:25.461 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.021) 0:00:25.483 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.021) 0:00:25.505 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.064) 0:00:25.570 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.037) 0:00:25.607 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.041) 0:00:25.648 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.027) 0:00:25.676 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.021) 0:00:25.697 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:13:57 +0000 (0:00:00.024) 0:00:25.722 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:13:59 +0000 (0:00:01.390) 0:00:27.112 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.962) 0:00:28.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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.035) 0:00:28.110 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.034) 0:00:28.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.024) 0:00:28.169 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.051) 0:00:28.221 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.022) 0:00:28.244 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.023) 0:00:28.267 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.026) 0:00:28.293 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.357) 0:00:28.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.035) 0:00:28.686 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.022) 0:00:28.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:00 +0000 (0:00:00.023) 0:00:28.733 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15fc7625-0062-4db5-ab74-ef999e64ff00 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.430) 0:00:29.164 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.022) 0:00:29.186 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15fc7625-0062-4db5-ab74-ef999e64ff00" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.021) 0:00:29.208 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15fc7625-0062-4db5-ab74-ef999e64ff00\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15fc7625-0062-4db5-ab74-ef999e64ff00" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.023) 0:00:29.231 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.020) 0:00:29.251 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.191) 0:00:29.442 ****** 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, 15fc7625-0062-4db5-ab74-ef999e64ff00\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 15fc7625-0062-4db5-ab74-ef999e64ff00" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.026) 0:00:29.469 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.037) 0:00:29.506 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.043) 0:00:29.550 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.035) 0:00:29.585 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.048) 0:00:29.634 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:01 +0000 (0:00:00.051) 0:00:29.686 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:03 +0000 (0:00:01.426) 0:00:31.112 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.914) 0:00:32.027 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.039) 0:00:32.066 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.052) 0:00:32.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.026) 0:00:32.144 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.070) 0:00:32.215 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.022) 0:00:32.237 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.027) 0:00:32.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.028) 0:00:32.294 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.373) 0:00:32.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.027) 0:00:32.694 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.023) 0:00:32.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:04 +0000 (0:00:00.026) 0:00:32.744 ****** 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, 15fc7625-0062-4db5-ab74-ef999e64ff00 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.344) 0:00:33.089 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.032) 0:00:33.121 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 15fc7625-0062-4db5-ab74-ef999e64ff00 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.030) 0:00:33.152 ****** 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, 15fc7625-0062-4db5-ab74-ef999e64ff00 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 15fc7625-0062-4db5-ab74-ef999e64ff00 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.037) 0:00:33.189 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.023) 0:00:33.213 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.245) 0:00:33.458 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.047) 0:00:33.506 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.081) 0:00:33.587 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.065) 0:00:33.653 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.051) 0:00:33.705 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.022) 0:00:33.728 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:05 +0000 (0:00:00.044) 0:00:33.773 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:07 +0000 (0:00:01.427) 0:00:35.200 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.953) 0:00:36.154 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.023) 0:00:36.177 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.026) 0:00:36.203 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.022) 0:00:36.225 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.049) 0:00:36.275 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.029) 0:00:36.304 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.033) 0:00:36.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.025) 0:00:36.364 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.354) 0:00:36.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.024) 0:00:36.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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.020) 0:00:36.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:08 +0000 (0:00:00.020) 0:00:36.785 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.377) 0:00:37.163 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.021) 0:00:37.185 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.022) 0:00:37.207 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.061) 0:00:37.269 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.025) 0:00:37.294 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.191) 0:00:37.485 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.044) 0:00:37.530 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.036) 0:00:37.566 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939241.1160016, "block_size": 4096, "blocks": 0, "ctime": 1704939241.1160016, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29833, "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": 1704939241.1160016, "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_typefz7powex/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.193) 0:00:37.759 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.025) 0:00:37.785 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.038) 0:00:37.823 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:14:09 +0000 (0:00:00.022) 0:00:37.846 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.194) 0:00:38.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.022) 0:00:38.064 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019570", "end": "2024-01-11 02:14:10.282030", "rc": 1, "start": "2024-01-11 02:14:10.262460" } 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.209) 0:00:38.274 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.052) 0:00:38.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.023) 0:00:38.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.024) 0:00:38.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.024) 0:00:38.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.024) 0:00:38.423 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.025) 0:00:38.448 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.020) 0:00:38.469 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.022) 0:00:38.491 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.040) 0:00:38.532 ****** 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.065145", "end": "2024-01-11 02:14:10.797144", "rc": 1, "start": "2024-01-11 02:14:10.731999" } STDOUT: Connection 'statebr' (15fc7625-0062-4db5-ab74-ef999e64ff00) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.259) 0:00:38.792 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.065) 0:00:38.857 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.028) 0:00:38.885 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:14:10 +0000 (0:00:00.060) 0:00:38.946 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.040) 0:00:38.986 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.068) 0:00:39.055 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003232", "end": "2024-01-11 02:14:11.259377", "rc": 0, "start": "2024-01-11 02:14:11.256145" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.197) 0:00:39.252 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.032) 0:00:39.284 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.035) 0:00:39.320 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.048) 0:00:39.368 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.048) 0:00:39.417 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.051) 0:00:39.468 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.044) 0:00:39.513 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.034) 0:00:39.547 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:11 +0000 (0:00:00.051) 0:00:39.598 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:13 +0000 (0:00:01.422) 0:00:41.021 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:13 +0000 (0:00:00.903) 0:00:41.924 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:13 +0000 (0:00:00.023) 0:00:41.948 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.027) 0:00:41.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.032) 0:00:42.007 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.063) 0:00:42.071 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.036) 0:00:42.108 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.047) 0:00:42.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.029) 0:00:42.184 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.391) 0:00:42.576 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.026) 0:00:42.603 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.020) 0:00:42.623 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:14 +0000 (0:00:00.022) 0:00:42.646 ****** 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, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.405) 0:00:43.052 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.026) 0:00:43.078 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.048) 0:00:43.127 ****** 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, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.041) 0:00:43.168 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.023) 0:00:43.191 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.188) 0:00:43.380 ****** 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, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.023) 0:00:43.403 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.037) 0:00:43.441 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.040) 0:00:43.482 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.025) 0:00:43.508 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.054) 0:00:43.562 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:15 +0000 (0:00:00.022) 0:00:43.585 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:17 +0000 (0:00:01.390) 0:00:44.975 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:17 +0000 (0:00:00.904) 0:00:45.880 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:17 +0000 (0:00:00.024) 0:00:45.904 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:17 +0000 (0:00:00.029) 0:00:45.934 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.063) 0:00:45.997 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.056) 0:00:46.054 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.046) 0:00:46.100 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.031) 0:00:46.132 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.034) 0:00:46.166 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.353) 0:00:46.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.028) 0:00:46.549 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.052) 0:00:46.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:18 +0000 (0:00:00.068) 0:00:46.669 ****** 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, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.409) 0:00:47.079 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.023) 0:00:47.102 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.024) 0:00:47.127 ****** 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, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 51d2f64b-e977-43c2-8aa6-4f2ca86bc616 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.037) 0:00:47.164 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.029) 0:00:47.193 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.201) 0:00:47.395 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.066) 0:00:47.461 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.041) 0:00:47.502 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.039) 0:00:47.542 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.045) 0:00:47.587 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:19 +0000 (0:00:00.043) 0:00:47.631 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:21 +0000 (0:00:01.412) 0:00:49.043 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.954) 0:00:49.998 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.037) 0:00:50.036 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.031) 0:00:50.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.037) 0:00:50.105 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.095) 0:00:50.201 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.041) 0:00:50.243 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.035) 0:00:50.279 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.030) 0:00:50.309 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.367) 0:00:50.676 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.026) 0:00:50.703 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.028) 0:00:50.731 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:22 +0000 (0:00:00.026) 0:00:50.757 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.419) 0:00:51.177 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.061) 0:00:51.239 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.026) 0:00:51.265 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.029) 0:00:51.294 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.036) 0:00:51.331 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.193) 0:00:51.524 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.042) 0:00:51.566 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.052) 0:00:51.619 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.043) 0:00:51.662 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.036) 0:00:51.698 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.052) 0:00:51.751 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:23 +0000 (0:00:00.021) 0:00:51.772 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:25 +0000 (0:00:01.434) 0:00:53.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.912) 0:00:54.119 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.023) 0:00:54.142 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.021) 0:00:54.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.021) 0:00:54.185 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.043) 0:00:54.229 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.021) 0:00:54.251 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.022) 0:00:54.273 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.025) 0:00:54.299 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.351) 0:00:54.650 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.027) 0:00:54.678 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.022) 0:00:54.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:26 +0000 (0:00:00.021) 0:00:54.722 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.414) 0:00:55.137 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.021) 0:00:55.158 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.022) 0:00:55.181 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.023) 0:00:55.204 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.021) 0:00:55.226 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.185) 0:00:55.412 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.039) 0:00:55.451 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.047) 0:00:55.498 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.074) 0:00:55.573 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.243) 0:00:55.816 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:14:27 +0000 (0:00:00.022) 0:00:55.839 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019584", "end": "2024-01-11 02:14:28.078343", "rc": 1, "start": "2024-01-11 02:14:28.058759" } 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.232) 0:00:56.071 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.030) 0:00:56.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.039) 0:00:56.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.023) 0:00:56.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.026) 0:00:56.190 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.047) 0:00:56.238 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.025) 0:00:56.263 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.050) 0:00:56.313 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.073) 0:00:56.387 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.209) 0:00:56.597 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.024) 0:00:56.622 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.052) 0:00:56.674 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:14:28 +0000 (0:00:00.043) 0:00:56.718 ****** 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.037734", "end": "2024-01-11 02:14:28.982374", "rc": 1, "start": "2024-01-11 02:14:28.944640" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.262) 0:00:56.980 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.042) 0:00:57.023 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.022) 0:00:57.045 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.045) 0:00:57.091 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.034) 0:00:57.126 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.034) 0:00:57.160 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003167", "end": "2024-01-11 02:14:29.362191", "rc": 0, "start": "2024-01-11 02:14:29.359024" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.194) 0:00:57.355 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.023) 0:00:57.378 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.023) 0:00:57.401 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.086) 0:00:57.487 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.052) 0:00:57.540 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.048) 0:00:57.588 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.036) 0:00:57.625 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.030) 0:00:57.655 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:29 +0000 (0:00:00.022) 0:00:57.677 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:31 +0000 (0:00:01.380) 0:00:59.058 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.942) 0:01:00.001 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.026) 0:01:00.027 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.024) 0:01:00.052 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.023) 0:01:00.075 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.046) 0:01:00.121 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.037) 0:01:00.159 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.022) 0:01:00.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.037) 0:01:00.219 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.358) 0:01:00.578 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.025) 0:01:00.604 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.022) 0:01:00.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:32 +0000 (0:00:00.024) 0:01:00.650 ****** 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, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.418) 0:01:01.069 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.022) 0:01:01.091 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.024) 0:01:01.116 ****** 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, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.023) 0:01:01.139 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.023) 0:01:01.163 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.219) 0:01:01.382 ****** 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, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.032) 0:01:01.415 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.039) 0:01:01.454 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.055) 0:01:01.509 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.029) 0:01:01.539 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.023) 0:01:01.562 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:33 +0000 (0:00:00.032) 0:01:01.595 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:35 +0000 (0:00:01.455) 0:01:03.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.921) 0:01:03.971 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.023) 0:01:03.995 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.028) 0:01:04.024 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.024) 0:01:04.048 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.043) 0:01:04.092 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.023) 0:01:04.115 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.021) 0:01:04.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.045) 0:01:04.182 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.347) 0:01:04.530 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.025) 0:01:04.555 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.020) 0:01:04.576 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.020) 0:01:04.596 ****** 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, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.339) 0:01:04.936 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:36 +0000 (0:00:00.022) 0:01:04.959 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.031) 0:01:04.990 ****** 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, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c4d4d15-1153-4f81-8bd1-2b8cfda0042a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.039) 0:01:05.030 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.034) 0:01:05.064 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.190) 0:01:05.254 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.036) 0:01:05.291 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.068) 0:01:05.360 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.027) 0:01:05.387 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.023) 0:01:05.411 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:37 +0000 (0:00:00.022) 0:01:05.433 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:38 +0000 (0:00:01.409) 0:01:06.843 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.906) 0:01:07.749 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.044) 0:01:07.793 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.022) 0:01:07.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.021) 0:01:07.837 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.044) 0:01:07.881 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.022) 0:01:07.903 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.020) 0:01:07.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:39 +0000 (0:00:00.025) 0:01:07.949 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.352) 0:01:08.302 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.025) 0:01:08.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.020) 0:01:08.348 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.020) 0:01:08.368 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.415) 0:01:08.784 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.023) 0:01:08.808 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.025) 0:01:08.833 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.024) 0:01:08.857 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:40 +0000 (0:00:00.067) 0:01:08.925 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:14:41 +0000 (0:00:00.193) 0:01:09.118 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:14:41 +0000 (0:00:00.049) 0:01:09.168 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:14:41 +0000 (0:00:00.056) 0:01:09.224 ****** included: /WORKDIR/git-route_typefz7powex/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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:14:41 +0000 (0:00:00.045) 0:01:09.270 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:14:41 +0000 (0:00:00.039) 0:01:09.309 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:14:41 +0000 (0:00:00.022) 0:01:09.331 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:14:41 +0000 (0:00:00.025) 0:01:09.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:14:42 +0000 (0:00:01.450) 0:01:10.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.907) 0:01:11.715 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.021) 0:01:11.736 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.020) 0:01:11.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.020) 0:01:11.777 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.044) 0:01:11.821 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.039) 0:01:11.861 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.025) 0:01:11.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:14:43 +0000 (0:00:00.043) 0:01:11.929 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.359) 0:01:12.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.078) 0:01:12.367 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.023) 0:01:12.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.028) 0:01:12.419 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.361) 0:01:12.780 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.021) 0:01:12.802 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.026) 0:01:12.829 ****** 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_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.031) 0:01:12.860 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:14:44 +0000 (0:00:00.022) 0:01:12.883 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.212) 0:01:13.096 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.060) 0:01:13.156 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.068) 0:01:13.225 ****** 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.024) 0:01:13.249 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.201) 0:01:13.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.048) 0:01:13.498 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019110", "end": "2024-01-11 02:14:45.715769", "rc": 1, "start": "2024-01-11 02:14:45.696659" } 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_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.218) 0:01:13.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.025) 0:01:13.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.022) 0:01:13.764 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.022) 0:01:13.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.021) 0:01:13.808 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.022) 0:01:13.830 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:14:45 +0000 (0:00:00.024) 0:01:13.855 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.553519", "end": "2024-01-11 02:14:46.608013", "rc": 0, "start": "2024-01-11 02:14:46.054494" } STDOUT: NetworkManager-1.45.9-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:14:46 +0000 (0:00:00.746) 0:01:14.602 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:14:46 +0000 (0:00:00.022) 0:01:14.625 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:14:46 +0000 (0:00:00.021) 0:01:14.646 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:14:46 +0000 (0:00:00.044) 0:01:14.690 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:14:46 +0000 (0:00:00.060) 0:01:14.751 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:14:46 +0000 (0:00:00.191) 0:01:14.942 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:14:47 +0000 (0:00:00.028) 0:01:14.971 ****** 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_typefz7powex/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:14:47 +0000 (0:00:00.025) 0:01:14.996 ****** included: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typefz7powex/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:14:47 +0000 (0:00:00.050) 0:01:15.047 ****** 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.036880", "end": "2024-01-11 02:14:47.285331", "rc": 1, "start": "2024-01-11 02:14:47.248451" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): '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 Thursday 11 January 2024 02:14:47 +0000 (0:00:00.219) 0:01:15.266 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.16s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.95s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.47s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-route_typefz7powex/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.19s /WORKDIR/git-route_typefz7powex/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. ---^---^---^---^---^---