# 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_types6c1kw0f/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 20:37:35 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 20:37:36 +0000 (0:00:00.700) 0:00:00.712 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:37:36 +0000 (0:00:00.021) 0:00:00.733 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.333) 0:00:01.067 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.248) 0:00:01.316 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.018) 0:00:01.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.016) 0:00:01.351 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.038) 0:00:01.389 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.237) 0:00:01.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.010) 0:00:01.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:37:37 +0000 (0:00:00.010) 0:00:01.648 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.257369", "end": "2024-01-09 20:37:39.036653", "rc": 0, "start": "2024-01-09 20:37:37.779284" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:37:39 +0000 (0:00:01.442) 0:00:03.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.009) 0:00:03.099 ******* 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_types6c1kw0f/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.010) 0:00:03.110 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.551) 0:00:03.661 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.011) 0:00:03.672 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.015) 0:00:03.688 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.017) 0:00:03.706 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.042) 0:00:03.748 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.014) 0:00:03.763 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.013) 0:00:03.777 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003371", "end": "2024-01-09 20:37:39.913408", "rc": 0, "start": "2024-01-09 20:37:39.910037" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.188) 0:00:03.965 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.013) 0:00:03.979 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.009) 0:00:03.988 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:37:39 +0000 (0:00:00.019) 0:00:04.008 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008234", "end": "2024-01-09 20:37:40.152592", "rc": 1, "start": "2024-01-09 20:37:40.144358" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.197) 0:00:04.205 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.015) 0:00:04.220 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.187) 0:00:04.407 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.011) 0:00:04.419 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.018) 0:00:04.438 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.051) 0:00:04.490 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.072) 0:00:04.562 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.011) 0:00:04.574 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.016) 0:00:04.590 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:40 +0000 (0:00:00.012) 0:00:04.603 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:42 +0000 (0:00:01.641) 0:00:06.244 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:43 +0000 (0:00:01.442) 0:00:07.686 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:43 +0000 (0:00:00.022) 0:00:07.708 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:43 +0000 (0:00:00.020) 0:00:07.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:43 +0000 (0:00:00.019) 0:00:07.749 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:43 +0000 (0:00:00.043) 0:00:07.792 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:43 +0000 (0:00:00.020) 0:00:07.813 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:43 +0000 (0:00:00.021) 0:00:07.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:43 +0000 (0:00:00.023) 0:00:07.858 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.470) 0:00:08.328 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.024) 0:00:08.353 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.039) 0:00:08.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.022) 0:00:08.415 ******* 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, 8386b6fa-1f10-433b-a425-fef59ef1fb13 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.502) 0:00:08.918 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.020) 0:00:08.938 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386b6fa-1f10-433b-a425-fef59ef1fb13" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.021) 0:00:08.960 ******* 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, 8386b6fa-1f10-433b-a425-fef59ef1fb13\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386b6fa-1f10-433b-a425-fef59ef1fb13" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.023) 0:00:08.983 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:44 +0000 (0:00:00.019) 0:00:09.003 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.275) 0:00:09.279 ******* 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, 8386b6fa-1f10-433b-a425-fef59ef1fb13\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8386b6fa-1f10-433b-a425-fef59ef1fb13" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.022) 0:00:09.301 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.041) 0:00:09.343 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.039) 0:00:09.382 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.044) 0:00:09.426 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832664.8413887, "block_size": 4096, "blocks": 8, "ctime": 1704832664.7933886, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704832664.7933886, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.204) 0:00:09.631 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.024) 0:00:09.655 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020976", "end": "2024-01-09 20:37:45.814978", "rc": 0, "start": "2024-01-09 20:37:45.794002" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.224) 0:00:09.880 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.027) 0:00:09.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.025) 0:00:09.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.023) 0:00:09.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.022) 0:00:09.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.024) 0:00:10.003 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:37:45 +0000 (0:00:00.023) 0:00:10.026 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.023) 0:00:10.050 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.021) 0:00:10.072 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.042) 0:00:10.115 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.061) 0:00:10.177 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832664.795016, "block_size": 4096, "blocks": 0, "ctime": 1704832664.795016, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22684, "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": 1704832664.795016, "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_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.201) 0:00:10.378 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.025) 0:00:10.404 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.021) 0:00:10.426 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.042) 0:00:10.469 ******* 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.062861", "end": "2024-01-09 20:37:46.667186", "rc": 1, "start": "2024-01-09 20:37:46.604325" } STDOUT: Connection 'statebr' (8386b6fa-1f10-433b-a425-fef59ef1fb13) 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_types6c1kw0f/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.261) 0:00:10.730 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.036) 0:00:10.767 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.021) 0:00:10.788 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.041) 0:00:10.830 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.034) 0:00:10.864 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:37:46 +0000 (0:00:00.033) 0:00:10.897 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2024-01-09 20:37:47.037672", "rc": 0, "start": "2024-01-09 20:37:47.033869" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.204) 0:00:11.102 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.023) 0:00:11.125 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.021) 0:00:11.147 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.040) 0:00:11.188 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006250", "end": "2024-01-09 20:37:47.327029", "rc": 1, "start": "2024-01-09 20:37:47.320779" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.202) 0:00:11.390 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.036) 0:00:11.427 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.198) 0:00:11.625 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.023) 0:00:11.649 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.040) 0:00:11.689 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.041) 0:00:11.730 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.060) 0:00:11.791 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.026) 0:00:11.817 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.020) 0:00:11.838 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:47 +0000 (0:00:00.020) 0:00:11.858 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:49 +0000 (0:00:01.556) 0:00:13.415 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:50 +0000 (0:00:01.302) 0:00:14.717 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:50 +0000 (0:00:00.021) 0:00:14.739 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:50 +0000 (0:00:00.020) 0:00:14.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:50 +0000 (0:00:00.020) 0:00:14.781 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:50 +0000 (0:00:00.041) 0:00:14.823 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:50 +0000 (0:00:00.020) 0:00:14.844 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:50 +0000 (0:00:00.020) 0:00:14.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:50 +0000 (0:00:00.023) 0:00:14.888 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.352) 0:00:15.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.029) 0:00:15.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.022) 0:00:15.293 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.047) 0:00:15.340 ******* 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, 311a2eae-7463-4afa-aded-905232b9600d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.339) 0:00:15.680 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.022) 0:00:15.703 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 311a2eae-7463-4afa-aded-905232b9600d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.023) 0:00:15.726 ******* 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, 311a2eae-7463-4afa-aded-905232b9600d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 311a2eae-7463-4afa-aded-905232b9600d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.023) 0:00:15.749 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.022) 0:00:15.772 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.194) 0:00:15.966 ******* 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, 311a2eae-7463-4afa-aded-905232b9600d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 311a2eae-7463-4afa-aded-905232b9600d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.023) 0:00:15.989 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:37:51 +0000 (0:00:00.041) 0:00:16.031 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.034) 0:00:16.065 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.198) 0:00:16.264 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.022) 0:00:16.286 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.057) 0:00:16.344 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.022) 0:00:16.366 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832671.6043816, "block_size": 4096, "blocks": 8, "ctime": 1704832671.6043816, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704832671.6043816, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.193) 0:00:16.560 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.022) 0:00:16.582 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021139", "end": "2024-01-09 20:37:52.736065", "rc": 0, "start": "2024-01-09 20:37:52.714926" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.218) 0:00:16.801 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.024) 0:00:16.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.022) 0:00:16.848 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.024) 0:00:16.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.023) 0:00:16.895 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.022) 0:00:16.917 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.022) 0:00:16.940 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.023) 0:00:16.963 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.021) 0:00:16.984 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:37:52 +0000 (0:00:00.018) 0:00:17.003 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.045) 0:00:17.049 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.046) 0:00:17.095 ******* 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.038479", "end": "2024-01-09 20:37:53.266405", "rc": 1, "start": "2024-01-09 20:37:53.227926" } STDOUT: Connection 'statebr' (311a2eae-7463-4afa-aded-905232b9600d) 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_types6c1kw0f/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.235) 0:00:17.330 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.038) 0:00:17.368 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.022) 0:00:17.391 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.045) 0:00:17.437 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.036) 0:00:17.473 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.033) 0:00:17.506 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003398", "end": "2024-01-09 20:37:53.646388", "rc": 0, "start": "2024-01-09 20:37:53.642990" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.205) 0:00:17.712 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.022) 0:00:17.734 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.021) 0:00:17.755 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.059) 0:00:17.815 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.037) 0:00:17.853 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.042) 0:00:17.896 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.029) 0:00:17.925 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.022) 0:00:17.948 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:53 +0000 (0:00:00.021) 0:00:17.970 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:55 +0000 (0:00:01.572) 0:00:19.542 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:37:56 +0000 (0:00:01.309) 0:00:20.852 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:37:56 +0000 (0:00:00.022) 0:00:20.875 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:37:56 +0000 (0:00:00.022) 0:00:20.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:37:56 +0000 (0:00:00.020) 0:00:20.918 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:37:56 +0000 (0:00:00.042) 0:00:20.961 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:37:56 +0000 (0:00:00.020) 0:00:20.982 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:37:56 +0000 (0:00:00.019) 0:00:21.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:37:56 +0000 (0:00:00.024) 0:00:21.027 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.351) 0:00:21.378 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.025) 0:00:21.404 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.022) 0:00:21.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.020) 0:00:21.447 ******* 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, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.387) 0:00:21.835 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.020) 0:00:21.856 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.021) 0:00:21.877 ******* 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, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.022) 0:00:21.899 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:37:57 +0000 (0:00:00.020) 0:00:21.920 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.192) 0:00:22.112 ******* 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, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.023) 0:00:22.136 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.039) 0:00:22.176 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.066) 0:00:22.242 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.042) 0:00:22.285 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.027) 0:00:22.312 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.021) 0:00:22.333 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:37:58 +0000 (0:00:00.022) 0:00:22.356 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:37:59 +0000 (0:00:01.551) 0:00:23.908 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:01 +0000 (0:00:01.324) 0:00:25.232 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.022) 0:00:25.254 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.021) 0:00:25.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.025) 0:00:25.301 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.045) 0:00:25.347 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.023) 0:00:25.370 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.023) 0:00:25.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.025) 0:00:25.419 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.351) 0:00:25.770 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.047) 0:00:25.817 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.024) 0:00:25.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:01 +0000 (0:00:00.023) 0:00:25.866 ******* 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, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.332) 0:00:26.198 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.023) 0:00:26.221 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.024) 0:00:26.246 ******* 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, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 50dad3b8-d9ec-48b1-be62-bd24bf1c7c48 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.023) 0:00:26.269 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.020) 0:00:26.290 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.198) 0:00:26.488 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.043) 0:00:26.531 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.036) 0:00:26.568 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832677.7128441, "block_size": 4096, "blocks": 0, "ctime": 1704832677.7128441, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22815, "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": 1704832677.7128441, "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_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.200) 0:00:26.769 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.046) 0:00:26.816 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.038) 0:00:26.854 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:38:02 +0000 (0:00:00.022) 0:00:26.877 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832677.7573752, "block_size": 4096, "blocks": 8, "ctime": 1704832677.7113752, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704832677.7113752, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.195) 0:00:27.072 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.023) 0:00:27.096 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020385", "end": "2024-01-09 20:38:03.251548", "rc": 0, "start": "2024-01-09 20:38:03.231163" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.220) 0:00:27.316 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.024) 0:00:27.340 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.025) 0:00:27.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.023) 0:00:27.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.025) 0:00:27.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.023) 0:00:27.439 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.024) 0:00:27.464 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.023) 0:00:27.487 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.023) 0:00:27.511 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.021) 0:00:27.532 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.048) 0:00:27.581 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.043) 0:00:27.625 ******* 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.060724", "end": "2024-01-09 20:38:03.820174", "rc": 1, "start": "2024-01-09 20:38:03.759450" } STDOUT: Connection 'statebr' (50dad3b8-d9ec-48b1-be62-bd24bf1c7c48) 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_types6c1kw0f/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.259) 0:00:27.884 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.037) 0:00:27.922 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.022) 0:00:27.944 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.042) 0:00:27.987 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:38:03 +0000 (0:00:00.034) 0:00:28.021 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.033) 0:00:28.054 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-01-09 20:38:04.187986", "rc": 0, "start": "2024-01-09 20:38:04.184713" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.197) 0:00:28.252 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.021) 0:00:28.274 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.043) 0:00:28.317 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.042) 0:00:28.359 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.036) 0:00:28.396 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.039) 0:00:28.435 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.026) 0:00:28.462 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.020) 0:00:28.482 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:04 +0000 (0:00:00.020) 0:00:28.502 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:06 +0000 (0:00:01.597) 0:00:30.100 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:07 +0000 (0:00:01.306) 0:00:31.407 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.022) 0:00:31.430 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.020) 0:00:31.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.021) 0:00:31.472 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.042) 0:00:31.514 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.020) 0:00:31.535 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.020) 0:00:31.556 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.023) 0:00:31.579 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.366) 0:00:31.946 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.026) 0:00:31.972 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.021) 0:00:31.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:07 +0000 (0:00:00.021) 0:00:32.016 ******* 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, e23fb4e9-e429-4ea8-a706-17a8793b58df TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.391) 0:00:32.408 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.020) 0:00:32.429 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e23fb4e9-e429-4ea8-a706-17a8793b58df" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.021) 0:00:32.451 ******* 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, e23fb4e9-e429-4ea8-a706-17a8793b58df\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e23fb4e9-e429-4ea8-a706-17a8793b58df" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.021) 0:00:32.473 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.020) 0:00:32.493 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.195) 0:00:32.688 ******* 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, e23fb4e9-e429-4ea8-a706-17a8793b58df\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e23fb4e9-e429-4ea8-a706-17a8793b58df" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.023) 0:00:32.712 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.037) 0:00:32.749 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.067) 0:00:32.817 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.027) 0:00:32.845 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.021) 0:00:32.867 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:08 +0000 (0:00:00.023) 0:00:32.890 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:10 +0000 (0:00:01.560) 0:00:34.451 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:11 +0000 (0:00:01.298) 0:00:35.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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:11 +0000 (0:00:00.025) 0:00:35.774 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:11 +0000 (0:00:00.021) 0:00:35.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:11 +0000 (0:00:00.022) 0:00:35.818 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:11 +0000 (0:00:00.044) 0:00:35.862 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:11 +0000 (0:00:00.027) 0:00:35.889 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:11 +0000 (0:00:00.029) 0:00:35.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:11 +0000 (0:00:00.026) 0:00:35.946 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.350) 0:00:36.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.025) 0:00:36.322 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.021) 0:00:36.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.022) 0:00:36.366 ******* 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, e23fb4e9-e429-4ea8-a706-17a8793b58df skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.355) 0:00:36.721 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.022) 0:00:36.744 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e23fb4e9-e429-4ea8-a706-17a8793b58df skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.021) 0:00:36.765 ******* 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, e23fb4e9-e429-4ea8-a706-17a8793b58df skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e23fb4e9-e429-4ea8-a706-17a8793b58df skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.022) 0:00:36.787 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.020) 0:00:36.808 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:38:12 +0000 (0:00:00.192) 0:00:37.001 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:38:13 +0000 (0:00:00.038) 0:00:37.039 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:13 +0000 (0:00:00.039) 0:00:37.079 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:13 +0000 (0:00:00.041) 0:00:37.121 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:13 +0000 (0:00:00.027) 0:00:37.148 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:13 +0000 (0:00:00.023) 0:00:37.171 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:13 +0000 (0:00:00.044) 0:00:37.216 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:14 +0000 (0:00:01.531) 0:00:38.747 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:16 +0000 (0:00:01.306) 0:00:40.054 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.022) 0:00:40.076 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.041) 0:00:40.117 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.022) 0:00:40.140 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.044) 0:00:40.184 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.021) 0:00:40.206 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.021) 0:00:40.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.023) 0:00:40.250 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.353) 0:00:40.604 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.025) 0:00:40.630 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.020) 0:00:40.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.020) 0:00:40.671 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:16 +0000 (0:00:00.353) 0:00:41.025 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.020) 0:00:41.045 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.021) 0:00:41.067 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.022) 0:00:41.089 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.044) 0:00:41.134 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.191) 0:00:41.326 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.043) 0:00:41.370 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.035) 0:00:41.405 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704832688.2853017, "block_size": 4096, "blocks": 0, "ctime": 1704832688.2853017, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22946, "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": 1704832688.2853017, "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_types6c1kw0f/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.196) 0:00:41.601 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.025) 0:00:41.627 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.038) 0:00:41.665 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.022) 0:00:41.687 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.198) 0:00:41.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:38:17 +0000 (0:00:00.020) 0:00:41.907 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020884", "end": "2024-01-09 20:38:18.064577", "rc": 1, "start": "2024-01-09 20:38:18.043693" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.254) 0:00:42.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.024) 0:00:42.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.025) 0:00:42.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.022) 0:00:42.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.021) 0:00:42.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.023) 0:00:42.279 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.023) 0:00:42.303 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.020) 0:00:42.323 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.021) 0:00:42.345 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.040) 0:00:42.385 ******* 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.073308", "end": "2024-01-09 20:38:18.595051", "rc": 1, "start": "2024-01-09 20:38:18.521743" } STDOUT: Connection 'statebr' (e23fb4e9-e429-4ea8-a706-17a8793b58df) 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_types6c1kw0f/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.274) 0:00:42.660 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.037) 0:00:42.697 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.021) 0:00:42.719 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.067) 0:00:42.786 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.036) 0:00:42.823 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:38:18 +0000 (0:00:00.035) 0:00:42.859 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003052", "end": "2024-01-09 20:38:18.995246", "rc": 0, "start": "2024-01-09 20:38:18.992194" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.199) 0:00:43.059 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.023) 0:00:43.082 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.022) 0:00:43.104 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.044) 0:00:43.149 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.036) 0:00:43.185 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.040) 0:00:43.226 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.026) 0:00:43.252 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.020) 0:00:43.272 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:19 +0000 (0:00:00.046) 0:00:43.319 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:20 +0000 (0:00:01.533) 0:00:44.852 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:22 +0000 (0:00:01.305) 0:00:46.158 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.023) 0:00:46.181 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.043) 0:00:46.225 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.023) 0:00:46.248 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.043) 0:00:46.292 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.021) 0:00:46.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.020) 0:00:46.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.023) 0:00:46.358 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.351) 0:00:46.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.028) 0:00:46.737 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.021) 0:00:46.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:22 +0000 (0:00:00.020) 0:00:46.779 ******* 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, ba523c33-47f5-4b82-b265-45a0bc0c0c4d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.374) 0:00:47.153 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.022) 0:00:47.176 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ba523c33-47f5-4b82-b265-45a0bc0c0c4d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.023) 0:00:47.199 ******* 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, ba523c33-47f5-4b82-b265-45a0bc0c0c4d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ba523c33-47f5-4b82-b265-45a0bc0c0c4d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.022) 0:00:47.222 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.046) 0:00:47.268 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.192) 0:00:47.461 ******* 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, ba523c33-47f5-4b82-b265-45a0bc0c0c4d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ba523c33-47f5-4b82-b265-45a0bc0c0c4d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.024) 0:00:47.486 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.038) 0:00:47.524 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.042) 0:00:47.567 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.027) 0:00:47.594 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.021) 0:00:47.616 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:23 +0000 (0:00:00.021) 0:00:47.637 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:25 +0000 (0:00:01.537) 0:00:49.174 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:26 +0000 (0:00:01.311) 0:00:50.485 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:26 +0000 (0:00:00.023) 0:00:50.509 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:26 +0000 (0:00:00.021) 0:00:50.531 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:26 +0000 (0:00:00.022) 0:00:50.554 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:26 +0000 (0:00:00.046) 0:00:50.600 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:26 +0000 (0:00:00.022) 0:00:50.623 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:26 +0000 (0:00:00.022) 0:00:50.645 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:26 +0000 (0:00:00.049) 0:00:50.694 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.353) 0:00:51.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.024) 0:00:51.072 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.021) 0:00:51.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.020) 0:00:51.114 ******* 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, ba523c33-47f5-4b82-b265-45a0bc0c0c4d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.334) 0:00:51.448 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.021) 0:00:51.470 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ba523c33-47f5-4b82-b265-45a0bc0c0c4d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.021) 0:00:51.491 ******* 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, ba523c33-47f5-4b82-b265-45a0bc0c0c4d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ba523c33-47f5-4b82-b265-45a0bc0c0c4d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.022) 0:00:51.514 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.020) 0:00:51.535 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.190) 0:00:51.725 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.037) 0:00:51.763 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.065) 0:00:51.828 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.028) 0:00:51.856 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.021) 0:00:51.878 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:27 +0000 (0:00:00.020) 0:00:51.898 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:29 +0000 (0:00:01.560) 0:00:53.459 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:30 +0000 (0:00:01.297) 0:00:54.756 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:30 +0000 (0:00:00.022) 0:00:54.778 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:30 +0000 (0:00:00.021) 0:00:54.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:30 +0000 (0:00:00.020) 0:00:54.820 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:30 +0000 (0:00:00.043) 0:00:54.864 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:30 +0000 (0:00:00.021) 0:00:54.885 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:30 +0000 (0:00:00.020) 0:00:54.906 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:30 +0000 (0:00:00.024) 0:00:54.930 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.344) 0:00:55.275 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.025) 0:00:55.300 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.021) 0:00:55.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.020) 0:00:55.342 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.371) 0:00:55.714 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.021) 0:00:55.735 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.021) 0:00:55.757 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.022) 0:00:55.779 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.020) 0:00:55.800 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:38:31 +0000 (0:00:00.197) 0:00:55.998 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:38:32 +0000 (0:00:00.039) 0:00:56.037 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:32 +0000 (0:00:00.040) 0:00:56.077 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:32 +0000 (0:00:00.039) 0:00:56.117 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:32 +0000 (0:00:00.026) 0:00:56.143 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:32 +0000 (0:00:00.020) 0:00:56.163 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:32 +0000 (0:00:00.044) 0:00:56.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:33 +0000 (0:00:01.553) 0:00:57.761 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:35 +0000 (0:00:01.303) 0:00:59.064 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.022) 0:00:59.087 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.039) 0:00:59.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.022) 0:00:59.149 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.042) 0:00:59.191 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.021) 0:00:59.213 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.021) 0:00:59.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.023) 0:00:59.258 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.348) 0:00:59.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.025) 0:00:59.633 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.020) 0:00:59.653 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:35 +0000 (0:00:00.021) 0:00:59.675 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.400) 0:01:00.075 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:00.097 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:00.118 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.046) 0:01:00.165 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.022) 0:01:00.187 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.193) 0:01:00.381 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.040) 0:01:00.421 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.036) 0:01:00.458 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:00.479 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.193) 0:01:00.673 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:00.694 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020220", "end": "2024-01-09 20:38:36.850472", "rc": 1, "start": "2024-01-09 20:38:36.830252" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.221) 0:01:00.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:00.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:00.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:00.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:38:36 +0000 (0:00:00.021) 0:01:01.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.046) 0:01:01.049 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.025) 0:01:01.074 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.041) 0:01:01.116 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.035) 0:01:01.152 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.198) 0:01:01.350 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.024) 0:01:01.375 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.024) 0:01:01.399 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.046) 0:01:01.446 ******* 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.038830", "end": "2024-01-09 20:38:37.620841", "rc": 1, "start": "2024-01-09 20:38:37.582011" } 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_types6c1kw0f/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.240) 0:01:01.686 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.037) 0:01:01.724 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.046) 0:01:01.771 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.043) 0:01:01.814 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.035) 0:01:01.850 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:38:37 +0000 (0:00:00.033) 0:01:01.883 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003299", "end": "2024-01-09 20:38:38.017375", "rc": 0, "start": "2024-01-09 20:38:38.014076" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.197) 0:01:02.081 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.023) 0:01:02.105 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.022) 0:01:02.128 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.046) 0:01:02.174 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.038) 0:01:02.212 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.039) 0:01:02.252 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.026) 0:01:02.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.044) 0:01:02.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:38 +0000 (0:00:00.022) 0:01:02.345 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:39 +0000 (0:00:01.538) 0:01:03.883 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:41 +0000 (0:00:01.328) 0:01:05.211 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.022) 0:01:05.233 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.021) 0:01:05.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.020) 0:01:05.276 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.042) 0:01:05.318 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.021) 0:01:05.339 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.020) 0:01:05.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.026) 0:01:05.386 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.343) 0:01:05.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.025) 0:01:05.755 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.021) 0:01:05.776 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:41 +0000 (0:00:00.021) 0:01:05.798 ******* 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, fcf1c4e8-9adb-4e6e-99a7-794ea125c371 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.389) 0:01:06.187 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.048) 0:01:06.235 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcf1c4e8-9adb-4e6e-99a7-794ea125c371" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.023) 0:01:06.259 ******* 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, fcf1c4e8-9adb-4e6e-99a7-794ea125c371\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcf1c4e8-9adb-4e6e-99a7-794ea125c371" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.023) 0:01:06.282 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.021) 0:01:06.303 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.195) 0:01:06.499 ******* 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, fcf1c4e8-9adb-4e6e-99a7-794ea125c371\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcf1c4e8-9adb-4e6e-99a7-794ea125c371" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.023) 0:01:06.522 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.037) 0:01:06.559 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.042) 0:01:06.602 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.030) 0:01:06.632 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.022) 0:01:06.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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:42 +0000 (0:00:00.022) 0:01:06.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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:44 +0000 (0:00:01.572) 0:01:08.249 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:45 +0000 (0:00:01.305) 0:01:09.555 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:45 +0000 (0:00:00.022) 0:01:09.578 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:45 +0000 (0:00:00.020) 0:01:09.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:45 +0000 (0:00:00.022) 0:01:09.621 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:45 +0000 (0:00:00.067) 0:01:09.688 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:45 +0000 (0:00:00.022) 0:01:09.711 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:45 +0000 (0:00:00.021) 0:01:09.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:45 +0000 (0:00:00.025) 0:01:09.758 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.351) 0:01:10.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.025) 0:01:10.135 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.021) 0:01:10.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.020) 0:01:10.176 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fcf1c4e8-9adb-4e6e-99a7-794ea125c371 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.330) 0:01:10.506 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.021) 0:01:10.528 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fcf1c4e8-9adb-4e6e-99a7-794ea125c371 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.026) 0:01:10.555 ******* 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, fcf1c4e8-9adb-4e6e-99a7-794ea125c371 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fcf1c4e8-9adb-4e6e-99a7-794ea125c371 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.025) 0:01:10.580 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.022) 0:01:10.602 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.191) 0:01:10.794 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.059) 0:01:10.853 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.041) 0:01:10.894 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.027) 0:01:10.922 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.021) 0:01:10.943 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:46 +0000 (0:00:00.020) 0:01:10.963 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:48 +0000 (0:00:01.547) 0:01:12.510 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:49 +0000 (0:00:01.325) 0:01:13.836 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:49 +0000 (0:00:00.024) 0:01:13.861 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:49 +0000 (0:00:00.024) 0:01:13.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:49 +0000 (0:00:00.024) 0:01:13.910 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:49 +0000 (0:00:00.046) 0:01:13.957 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:49 +0000 (0:00:00.021) 0:01:13.978 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:49 +0000 (0:00:00.020) 0:01:13.999 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:49 +0000 (0:00:00.024) 0:01:14.023 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.345) 0:01:14.369 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.072) 0:01:14.441 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.021) 0:01:14.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.020) 0:01:14.484 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.390) 0:01:14.875 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.022) 0:01:14.898 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.023) 0:01:14.921 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.023) 0:01:14.944 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:50 +0000 (0:00:00.021) 0:01:14.966 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:38:51 +0000 (0:00:00.198) 0:01:15.164 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:38:51 +0000 (0:00:00.040) 0:01:15.205 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:38:51 +0000 (0:00:00.037) 0:01:15.242 ******* included: /WORKDIR/git-route_types6c1kw0f/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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:38:51 +0000 (0:00:00.069) 0:01:15.312 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:38:51 +0000 (0:00:00.029) 0:01:15.342 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:38:51 +0000 (0:00:00.025) 0:01:15.368 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:38:51 +0000 (0:00:00.022) 0:01:15.390 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:38:52 +0000 (0:00:01.512) 0:01:16.902 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:38:54 +0000 (0:00:01.357) 0:01:18.260 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.025) 0:01:18.285 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.022) 0:01:18.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.021) 0:01:18.329 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.042) 0:01:18.372 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.021) 0:01:18.393 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.020) 0:01:18.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.025) 0:01:18.439 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.344) 0:01:18.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.024) 0:01:18.808 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.020) 0:01:18.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:38:54 +0000 (0:00:00.020) 0:01:18.850 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.349) 0:01:19.199 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.046) 0:01:19.246 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.023) 0:01:19.269 ******* 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_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.023) 0:01:19.293 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.021) 0:01:19.314 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.194) 0:01:19.509 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.043) 0:01:19.552 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.036) 0:01:19.589 ******* 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.020) 0:01:19.610 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.196) 0:01:19.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:38:55 +0000 (0:00:00.020) 0:01:19.827 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019229", "end": "2024-01-09 20:38:55.977912", "rc": 1, "start": "2024-01-09 20:38:55.958683" } 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_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:38:56 +0000 (0:00:00.214) 0:01:20.042 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:38:56 +0000 (0:00:00.022) 0:01:20.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:38:56 +0000 (0:00:00.021) 0:01:20.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:38:56 +0000 (0:00:00.046) 0:01:20.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:38:56 +0000 (0:00:00.024) 0:01:20.157 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:38:56 +0000 (0:00:00.021) 0:01:20.179 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:38:56 +0000 (0:00:00.025) 0:01:20.204 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.941523", "end": "2024-01-09 20:38:57.276453", "rc": 0, "start": "2024-01-09 20:38:56.334930" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:38:57 +0000 (0:00:01.138) 0:01:21.343 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.023) 0:01:21.367 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.023) 0:01:21.390 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.053) 0:01:21.444 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.042) 0:01:21.487 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.219) 0:01:21.706 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.025) 0:01:21.732 ******* 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_types6c1kw0f/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.021) 0:01:21.754 ******* included: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_types6c1kw0f/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.042) 0:01:21.797 ******* 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.038054", "end": "2024-01-09 20:38:57.965675", "rc": 1, "start": "2024-01-09 20:38:57.927621" } 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=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Tuesday 09 January 2024 20:38:57 +0000 (0:00:00.219) 0:01:22.016 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.05s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.88s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.44s /WORKDIR/git-route_types6c1kw0f/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.41s /WORKDIR/git-route_types6c1kw0f/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---