# 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_typemv6fs8x1/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.773) 0:00:00.785 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:55:34 +0000 (0:00:00.021) 0:00:00.807 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.371) 0:00:01.178 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.260) 0:00:01.438 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.021) 0:00:01.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.017) 0:00:01.477 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.032) 0:00:01.510 ***** 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_typemv6fs8x1/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.276) 0:00:01.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.017) 0:00:01.804 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:55:35 +0000 (0:00:00.012) 0:00:01.816 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.261510", "end": "2024-01-10 18:55:36.253507", "rc": 0, "start": "2024-01-10 18:55:35.991997" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:55:36 +0000 (0:00:00.455) 0:00:02.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 18:55:36 +0000 (0:00:00.011) 0:00:02.283 ***** 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_typemv6fs8x1/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 18:55:36 +0000 (0:00:00.014) 0:00:02.298 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 18:55:36 +0000 (0:00:00.611) 0:00:02.909 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 18:55:36 +0000 (0:00:00.027) 0:00:02.937 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:36 +0000 (0:00:00.027) 0:00:02.965 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:36 +0000 (0:00:00.032) 0:00:02.997 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.050) 0:00:03.048 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.034) 0:00:03.083 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.021) 0:00:03.104 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003602", "end": "2024-01-10 18:55:37.285448", "rc": 0, "start": "2024-01-10 18:55:37.281846" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.215) 0:00:03.320 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.014) 0:00:03.335 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.029) 0:00:03.364 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.027) 0:00:03.391 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008896", "end": "2024-01-10 18:55:37.585305", "rc": 1, "start": "2024-01-10 18:55:37.576409" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.243) 0:00:03.634 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.036) 0:00:03.670 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.203) 0:00:03.874 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.017) 0:00:03.891 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.041) 0:00:03.933 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:37 +0000 (0:00:00.033) 0:00:03.967 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:38 +0000 (0:00:00.118) 0:00:04.085 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:38 +0000 (0:00:00.012) 0:00:04.097 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:38 +0000 (0:00:00.010) 0:00:04.108 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:38 +0000 (0:00:00.018) 0:00:04.126 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:39 +0000 (0:00:01.781) 0:00:05.907 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:41 +0000 (0:00:01.539) 0:00:07.446 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.024) 0:00:07.471 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.025) 0:00:07.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.036) 0:00:07.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.060) 0:00:07.593 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.025) 0:00:07.619 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.023) 0:00:07.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:41 +0000 (0:00:00.029) 0:00:07.672 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.523) 0:00:08.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.026) 0:00:08.222 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.023) 0:00:08.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.028) 0:00:08.273 ***** 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, 2f8dbde4-e482-4dc4-ad2c-f0e055b2e689 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.600) 0:00:08.874 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.050) 0:00:08.925 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f8dbde4-e482-4dc4-ad2c-f0e055b2e689" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.035) 0:00:08.961 ***** 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, 2f8dbde4-e482-4dc4-ad2c-f0e055b2e689\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f8dbde4-e482-4dc4-ad2c-f0e055b2e689" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:42 +0000 (0:00:00.026) 0:00:08.987 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.026) 0:00:09.013 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.315) 0:00:09.329 ***** 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, 2f8dbde4-e482-4dc4-ad2c-f0e055b2e689\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f8dbde4-e482-4dc4-ad2c-f0e055b2e689" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.023) 0:00:09.353 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.040) 0:00:09.394 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.038) 0:00:09.433 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.024) 0:00:09.457 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912942.8558648, "block_size": 4096, "blocks": 8, "ctime": 1704912942.788865, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912942.788865, "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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.205) 0:00:09.663 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.024) 0:00:09.687 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024734", "end": "2024-01-10 18:55:43.888855", "rc": 0, "start": "2024-01-10 18:55:43.864121" } 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.240) 0:00:09.928 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:55:43 +0000 (0:00:00.061) 0:00:09.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.038) 0:00:10.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.035) 0:00:10.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.031) 0:00:10.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.042) 0:00:10.138 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.033) 0:00:10.171 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.034) 0:00:10.205 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.028) 0:00:10.234 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.045) 0:00:10.280 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.036) 0:00:10.316 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912942.7909358, "block_size": 4096, "blocks": 0, "ctime": 1704912942.7909358, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38521, "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": 1704912942.7909358, "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_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.202) 0:00:10.519 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.025) 0:00:10.544 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.022) 0:00:10.566 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.076) 0:00:10.642 ***** 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.066708", "end": "2024-01-10 18:55:44.882049", "rc": 1, "start": "2024-01-10 18:55:44.815341" } STDOUT: Connection 'statebr' (2f8dbde4-e482-4dc4-ad2c-f0e055b2e689) 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_typemv6fs8x1/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.268) 0:00:10.911 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.058) 0:00:10.969 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:44 +0000 (0:00:00.027) 0:00:10.997 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.049) 0:00:11.047 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.048) 0:00:11.095 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.090) 0:00:11.185 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003509", "end": "2024-01-10 18:55:45.394662", "rc": 0, "start": "2024-01-10 18:55:45.391153" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.239) 0:00:11.424 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.026) 0:00:11.451 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.059) 0:00:11.510 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.083) 0:00:11.594 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006412", "end": "2024-01-10 18:55:45.773691", "rc": 1, "start": "2024-01-10 18:55:45.767279" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.218) 0:00:11.812 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:45 +0000 (0:00:00.049) 0:00:11.862 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.209) 0:00:12.072 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.026) 0:00:12.098 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.061) 0:00:12.160 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.048) 0:00:12.208 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.071) 0:00:12.280 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.053) 0:00:12.333 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.051) 0:00:12.385 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:46 +0000 (0:00:00.030) 0:00:12.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:48 +0000 (0:00:01.667) 0:00:14.083 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:49 +0000 (0:00:01.317) 0:00:15.400 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:49 +0000 (0:00:00.022) 0:00:15.423 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:49 +0000 (0:00:00.044) 0:00:15.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:49 +0000 (0:00:00.037) 0:00:15.505 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:49 +0000 (0:00:00.050) 0:00:15.555 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:49 +0000 (0:00:00.024) 0:00:15.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:49 +0000 (0:00:00.026) 0:00:15.606 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:49 +0000 (0:00:00.054) 0:00:15.661 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.355) 0:00:16.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.027) 0:00:16.043 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.023) 0:00:16.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.023) 0:00:16.090 ***** 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, dbd462dc-867f-4720-8738-6c56410a688e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.364) 0:00:16.455 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.032) 0:00:16.487 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dbd462dc-867f-4720-8738-6c56410a688e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.030) 0:00:16.518 ***** 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, dbd462dc-867f-4720-8738-6c56410a688e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dbd462dc-867f-4720-8738-6c56410a688e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.024) 0:00:16.542 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.026) 0:00:16.568 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.197) 0:00:16.766 ***** 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, dbd462dc-867f-4720-8738-6c56410a688e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dbd462dc-867f-4720-8738-6c56410a688e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.024) 0:00:16.790 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.046) 0:00:16.837 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:55:50 +0000 (0:00:00.041) 0:00:16.878 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.220) 0:00:17.098 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.024) 0:00:17.123 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.046) 0:00:17.169 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.024) 0:00:17.194 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912950.4038427, "block_size": 4096, "blocks": 8, "ctime": 1704912950.4038427, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912950.4038427, "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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.224) 0:00:17.419 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.024) 0:00:17.444 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023430", "end": "2024-01-10 18:55:51.640003", "rc": 0, "start": "2024-01-10 18:55:51.616573" } 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.253) 0:00:17.697 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.073) 0:00:17.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.029) 0:00:17.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.025) 0:00:17.826 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.025) 0:00:17.852 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.024) 0:00:17.877 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.024) 0:00:17.901 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.024) 0:00:17.926 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.022) 0:00:17.948 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:55:51 +0000 (0:00:00.021) 0:00:17.969 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.032) 0:00:18.001 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.093) 0:00:18.094 ***** 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.045605", "end": "2024-01-10 18:55:52.323313", "rc": 1, "start": "2024-01-10 18:55:52.277708" } STDOUT: Connection 'statebr' (dbd462dc-867f-4720-8738-6c56410a688e) 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_typemv6fs8x1/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.257) 0:00:18.352 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.040) 0:00:18.392 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.058) 0:00:18.450 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.046) 0:00:18.497 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.039) 0:00:18.536 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.037) 0:00:18.573 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003674", "end": "2024-01-10 18:55:52.749149", "rc": 0, "start": "2024-01-10 18:55:52.745475" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.205) 0:00:18.779 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.025) 0:00:18.805 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.023) 0:00:18.828 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.038) 0:00:18.867 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.036) 0:00:18.904 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.040) 0:00:18.945 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:52 +0000 (0:00:00.028) 0:00:18.973 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:53 +0000 (0:00:00.051) 0:00:19.025 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:53 +0000 (0:00:00.024) 0:00:19.050 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:54 +0000 (0:00:01.642) 0:00:20.693 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:55:56 +0000 (0:00:01.347) 0:00:22.040 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.025) 0:00:22.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.024) 0:00:22.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.024) 0:00:22.115 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.048) 0:00:22.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.023) 0:00:22.187 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.022) 0:00:22.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.027) 0:00:22.237 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.363) 0:00:22.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.026) 0:00:22.626 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.030) 0:00:22.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:55:56 +0000 (0:00:00.024) 0:00:22.681 ***** 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, b1b59e8d-7c45-4229-9959-49aed3435cb7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.419) 0:00:23.101 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.031) 0:00:23.132 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1b59e8d-7c45-4229-9959-49aed3435cb7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.082) 0:00:23.215 ***** 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, b1b59e8d-7c45-4229-9959-49aed3435cb7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1b59e8d-7c45-4229-9959-49aed3435cb7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.033) 0:00:23.249 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.024) 0:00:23.273 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.216) 0:00:23.490 ***** 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, b1b59e8d-7c45-4229-9959-49aed3435cb7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b1b59e8d-7c45-4229-9959-49aed3435cb7" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.031) 0:00:23.521 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.065) 0:00:23.587 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.063) 0:00:23.651 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.063) 0:00:23.715 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.030) 0:00:23.745 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.023) 0:00:23.769 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:55:57 +0000 (0:00:00.042) 0:00:23.811 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:55:59 +0000 (0:00:01.654) 0:00:25.465 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:00 +0000 (0:00:01.319) 0:00:26.785 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:00 +0000 (0:00:00.024) 0:00:26.810 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:00 +0000 (0:00:00.020) 0:00:26.831 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:00 +0000 (0:00:00.021) 0:00:26.852 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:00 +0000 (0:00:00.043) 0:00:26.896 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:00 +0000 (0:00:00.022) 0:00:26.918 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:00 +0000 (0:00:00.049) 0:00:26.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:00 +0000 (0:00:00.026) 0:00:26.995 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.353) 0:00:27.348 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.026) 0:00:27.375 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.021) 0:00:27.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.020) 0:00:27.417 ***** 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, b1b59e8d-7c45-4229-9959-49aed3435cb7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.345) 0:00:27.762 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.022) 0:00:27.785 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1b59e8d-7c45-4229-9959-49aed3435cb7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.024) 0:00:27.810 ***** 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, b1b59e8d-7c45-4229-9959-49aed3435cb7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b1b59e8d-7c45-4229-9959-49aed3435cb7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.025) 0:00:27.835 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:01 +0000 (0:00:00.022) 0:00:27.858 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.203) 0:00:28.061 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.071) 0:00:28.133 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.039) 0:00:28.172 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912957.016366, "block_size": 4096, "blocks": 0, "ctime": 1704912957.016366, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38652, "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": 1704912957.016366, "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_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.212) 0:00:28.385 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.027) 0:00:28.413 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.044) 0:00:28.457 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.027) 0:00:28.485 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912957.0748231, "block_size": 4096, "blocks": 8, "ctime": 1704912957.0148234, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704912957.0148234, "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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.203) 0:00:28.688 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.024) 0:00:28.712 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023556", "end": "2024-01-10 18:56:02.907631", "rc": 0, "start": "2024-01-10 18:56:02.884075" } 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.225) 0:00:28.938 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.024) 0:00:28.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:56:02 +0000 (0:00:00.024) 0:00:28.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.023) 0:00:29.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.022) 0:00:29.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.059) 0:00:29.093 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.027) 0:00:29.121 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.024) 0:00:29.145 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.024) 0:00:29.169 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.021) 0:00:29.191 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.024) 0:00:29.215 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.049) 0:00:29.264 ***** 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.066240", "end": "2024-01-10 18:56:03.513089", "rc": 1, "start": "2024-01-10 18:56:03.446849" } STDOUT: Connection 'statebr' (b1b59e8d-7c45-4229-9959-49aed3435cb7) 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_typemv6fs8x1/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.293) 0:00:29.558 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.063) 0:00:29.621 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.036) 0:00:29.657 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.083) 0:00:29.740 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.053) 0:00:29.794 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:56:03 +0000 (0:00:00.070) 0:00:29.864 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003343", "end": "2024-01-10 18:56:04.039765", "rc": 0, "start": "2024-01-10 18:56:04.036422" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.236) 0:00:30.101 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.032) 0:00:30.133 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.023) 0:00:30.157 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.043) 0:00:30.201 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.039) 0:00:30.241 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.041) 0:00:30.282 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.028) 0:00:30.311 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.022) 0:00:30.334 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:04 +0000 (0:00:00.022) 0:00:30.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:05 +0000 (0:00:01.613) 0:00:31.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:07 +0000 (0:00:01.374) 0:00:33.345 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.043) 0:00:33.388 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.046) 0:00:33.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.106) 0:00:33.541 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.058) 0:00:33.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.044) 0:00:33.644 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.021) 0:00:33.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:07 +0000 (0:00:00.024) 0:00:33.690 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.386) 0:00:34.077 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.050) 0:00:34.127 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.030) 0:00:34.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.027) 0:00:34.186 ***** 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, 550b59ac-93c7-4aa9-b13a-ab360e817ece TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.403) 0:00:34.589 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.023) 0:00:34.612 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 550b59ac-93c7-4aa9-b13a-ab360e817ece" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.024) 0:00:34.637 ***** 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, 550b59ac-93c7-4aa9-b13a-ab360e817ece\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 550b59ac-93c7-4aa9-b13a-ab360e817ece" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.024) 0:00:34.662 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.025) 0:00:34.687 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.197) 0:00:34.884 ***** 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, 550b59ac-93c7-4aa9-b13a-ab360e817ece\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 550b59ac-93c7-4aa9-b13a-ab360e817ece" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.061) 0:00:34.946 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:08 +0000 (0:00:00.045) 0:00:34.991 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.044) 0:00:35.036 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.029) 0:00:35.066 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.024) 0:00:35.090 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:09 +0000 (0:00:00.029) 0:00:35.119 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:10 +0000 (0:00:01.619) 0:00:36.739 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:12 +0000 (0:00:01.354) 0:00:38.094 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.024) 0:00:38.119 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.022) 0:00:38.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.022) 0:00:38.163 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.043) 0:00:38.207 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.021) 0:00:38.228 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.025) 0:00:38.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.039) 0:00:38.293 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.375) 0:00:38.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.045) 0:00:38.714 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.083) 0:00:38.797 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:12 +0000 (0:00:00.037) 0:00:38.834 ***** 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, 550b59ac-93c7-4aa9-b13a-ab360e817ece skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.353) 0:00:39.188 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.028) 0:00:39.216 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 550b59ac-93c7-4aa9-b13a-ab360e817ece skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.025) 0:00:39.242 ***** 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, 550b59ac-93c7-4aa9-b13a-ab360e817ece skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 550b59ac-93c7-4aa9-b13a-ab360e817ece skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.033) 0:00:39.276 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.058) 0:00:39.335 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.222) 0:00:39.558 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.050) 0:00:39.608 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.064) 0:00:39.673 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.061) 0:00:39.735 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.087) 0:00:39.822 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.035) 0:00:39.858 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:13 +0000 (0:00:00.039) 0:00:39.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:15 +0000 (0:00:01.602) 0:00:41.501 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:16 +0000 (0:00:01.348) 0:00:42.850 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:16 +0000 (0:00:00.025) 0:00:42.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:16 +0000 (0:00:00.024) 0:00:42.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:16 +0000 (0:00:00.040) 0:00:42.940 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:16 +0000 (0:00:00.056) 0:00:42.997 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.037) 0:00:43.034 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.023) 0:00:43.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.038) 0:00:43.096 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.373) 0:00:43.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.027) 0:00:43.496 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.033) 0:00:43.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.022) 0:00:43.552 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.374) 0:00:43.927 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.028) 0:00:43.955 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:17 +0000 (0:00:00.027) 0:00:43.982 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.064) 0:00:44.047 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.024) 0:00:44.071 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.209) 0:00:44.281 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.051) 0:00:44.333 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.064) 0:00:44.397 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704912968.507718, "block_size": 4096, "blocks": 0, "ctime": 1704912968.507718, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38783, "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": 1704912968.507718, "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_typemv6fs8x1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.292) 0:00:44.690 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.026) 0:00:44.717 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.042) 0:00:44.759 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.024) 0:00:44.783 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:56:18 +0000 (0:00:00.207) 0:00:44.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.035) 0:00:45.025 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023648", "end": "2024-01-10 18:56:19.219006", "rc": 1, "start": "2024-01-10 18:56:19.195358" } 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.269) 0:00:45.295 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.047) 0:00:45.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.028) 0:00:45.372 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.025) 0:00:45.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.024) 0:00:45.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.024) 0:00:45.447 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.027) 0:00:45.474 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.026) 0:00:45.500 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.026) 0:00:45.527 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.049) 0:00:45.576 ***** 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.077436", "end": "2024-01-10 18:56:19.826367", "rc": 1, "start": "2024-01-10 18:56:19.748931" } STDOUT: Connection 'statebr' (550b59ac-93c7-4aa9-b13a-ab360e817ece) 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_typemv6fs8x1/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.295) 0:00:45.872 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.055) 0:00:45.928 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.024) 0:00:45.953 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:56:19 +0000 (0:00:00.046) 0:00:45.999 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.073) 0:00:46.073 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.038) 0:00:46.111 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003590", "end": "2024-01-10 18:56:20.286412", "rc": 0, "start": "2024-01-10 18:56:20.282822" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.209) 0:00:46.321 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.024) 0:00:46.346 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.025) 0:00:46.372 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.052) 0:00:46.424 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.044) 0:00:46.469 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.058) 0:00:46.527 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.040) 0:00:46.567 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.041) 0:00:46.609 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:20 +0000 (0:00:00.061) 0:00:46.670 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:22 +0000 (0:00:01.625) 0:00:48.296 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:23 +0000 (0:00:01.318) 0:00:49.615 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:23 +0000 (0:00:00.047) 0:00:49.662 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:23 +0000 (0:00:00.023) 0:00:49.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:23 +0000 (0:00:00.022) 0:00:49.707 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:23 +0000 (0:00:00.044) 0:00:49.751 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:23 +0000 (0:00:00.022) 0:00:49.774 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:23 +0000 (0:00:00.022) 0:00:49.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:23 +0000 (0:00:00.026) 0:00:49.822 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.353) 0:00:50.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.029) 0:00:50.205 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.024) 0:00:50.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.024) 0:00:50.254 ***** 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, 4efd2d89-da83-460e-b8df-b1c16e5868c6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.408) 0:00:50.662 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.022) 0:00:50.685 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4efd2d89-da83-460e-b8df-b1c16e5868c6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.049) 0:00:50.735 ***** 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, 4efd2d89-da83-460e-b8df-b1c16e5868c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4efd2d89-da83-460e-b8df-b1c16e5868c6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.024) 0:00:50.759 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.023) 0:00:50.783 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:56:24 +0000 (0:00:00.205) 0:00:50.989 ***** 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, 4efd2d89-da83-460e-b8df-b1c16e5868c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4efd2d89-da83-460e-b8df-b1c16e5868c6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.029) 0:00:51.018 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.039) 0:00:51.058 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.046) 0:00:51.104 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.041) 0:00:51.145 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.025) 0:00:51.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:25 +0000 (0:00:00.023) 0:00:51.194 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:26 +0000 (0:00:01.625) 0:00:52.819 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:28 +0000 (0:00:01.325) 0:00:54.145 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.024) 0:00:54.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.022) 0:00:54.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.023) 0:00:54.216 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.044) 0:00:54.261 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.021) 0:00:54.282 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.048) 0:00:54.331 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.027) 0:00:54.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.356) 0:00:54.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.042) 0:00:54.757 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.035) 0:00:54.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:28 +0000 (0:00:00.039) 0:00:54.833 ***** 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, 4efd2d89-da83-460e-b8df-b1c16e5868c6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.411) 0:00:55.244 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.023) 0:00:55.268 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4efd2d89-da83-460e-b8df-b1c16e5868c6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.024) 0:00:55.292 ***** 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, 4efd2d89-da83-460e-b8df-b1c16e5868c6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4efd2d89-da83-460e-b8df-b1c16e5868c6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.025) 0:00:55.318 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.022) 0:00:55.341 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.200) 0:00:55.541 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.074) 0:00:55.615 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.043) 0:00:55.658 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.028) 0:00:55.687 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.022) 0:00:55.710 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:29 +0000 (0:00:00.024) 0:00:55.734 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:31 +0000 (0:00:01.630) 0:00:57.364 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:32 +0000 (0:00:01.344) 0:00:58.708 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:32 +0000 (0:00:00.024) 0:00:58.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:32 +0000 (0:00:00.022) 0:00:58.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:32 +0000 (0:00:00.021) 0:00:58.776 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:32 +0000 (0:00:00.043) 0:00:58.820 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:32 +0000 (0:00:00.023) 0:00:58.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:32 +0000 (0:00:00.023) 0:00:58.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:32 +0000 (0:00:00.030) 0:00:58.898 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.356) 0:00:59.254 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.028) 0:00:59.283 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.057) 0:00:59.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.023) 0:00:59.365 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.401) 0:00:59.766 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.040) 0:00:59.807 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.032) 0:00:59.840 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.029) 0:00:59.869 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:33 +0000 (0:00:00.037) 0:00:59.906 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.233) 0:01:00.140 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.048) 0:01:00.189 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.055) 0:01:00.244 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.046) 0:01:00.291 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.071) 0:01:00.362 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.026) 0:01:00.389 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:34 +0000 (0:00:00.045) 0:01:00.435 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:36 +0000 (0:00:01.631) 0:01:02.066 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:37 +0000 (0:00:01.350) 0:01:03.417 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.024) 0:01:03.441 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.023) 0:01:03.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.021) 0:01:03.486 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.045) 0:01:03.532 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.027) 0:01:03.560 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.036) 0:01:03.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.032) 0:01:03.628 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:37 +0000 (0:00:00.365) 0:01:03.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.028) 0:01:04.022 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.024) 0:01:04.046 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.023) 0:01:04.069 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.423) 0:01:04.493 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.055) 0:01:04.548 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.026) 0:01:04.574 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.026) 0:01:04.601 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.024) 0:01:04.625 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.214) 0:01:04.840 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:56:38 +0000 (0:00:00.102) 0:01:04.942 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.079) 0:01:05.021 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.044) 0:01:05.066 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.210) 0:01:05.276 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.027) 0:01:05.303 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023109", "end": "2024-01-10 18:56:39.498177", "rc": 1, "start": "2024-01-10 18:56:39.475068" } 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.224) 0:01:05.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.025) 0:01:05.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.023) 0:01:05.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.052) 0:01:05.630 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.031) 0:01:05.661 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.023) 0:01:05.685 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.025) 0:01:05.711 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.044) 0:01:05.756 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:56:39 +0000 (0:00:00.047) 0:01:05.803 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.203) 0:01:06.006 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.027) 0:01:06.034 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.025) 0:01:06.059 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.055) 0:01:06.115 ***** 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.045022", "end": "2024-01-10 18:56:40.334715", "rc": 1, "start": "2024-01-10 18:56:40.289693" } 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_typemv6fs8x1/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.249) 0:01:06.364 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.079) 0:01:06.443 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.032) 0:01:06.476 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.050) 0:01:06.526 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.038) 0:01:06.564 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.036) 0:01:06.600 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003425", "end": "2024-01-10 18:56:40.776957", "rc": 0, "start": "2024-01-10 18:56:40.773532" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.205) 0:01:06.806 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.023) 0:01:06.830 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.023) 0:01:06.853 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.047) 0:01:06.900 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:40 +0000 (0:00:00.038) 0:01:06.938 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.089) 0:01:07.028 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.029) 0:01:07.057 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.023) 0:01:07.081 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:41 +0000 (0:00:00.040) 0:01:07.121 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:42 +0000 (0:00:01.600) 0:01:08.722 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:44 +0000 (0:00:01.342) 0:01:10.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.024) 0:01:10.088 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.027) 0:01:10.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.028) 0:01:10.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.048) 0:01:10.192 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.035) 0:01:10.228 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.029) 0:01:10.258 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.027) 0:01:10.285 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.357) 0:01:10.642 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.046) 0:01:10.688 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.026) 0:01:10.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:44 +0000 (0:00:00.024) 0:01:10.738 ***** 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, e6cb3468-1148-421a-a9ca-ba521383be8c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.494) 0:01:11.233 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.023) 0:01:11.256 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e6cb3468-1148-421a-a9ca-ba521383be8c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.038) 0:01:11.295 ***** 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, e6cb3468-1148-421a-a9ca-ba521383be8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e6cb3468-1148-421a-a9ca-ba521383be8c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.042) 0:01:11.337 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.039) 0:01:11.377 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.234) 0:01:11.612 ***** 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, e6cb3468-1148-421a-a9ca-ba521383be8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e6cb3468-1148-421a-a9ca-ba521383be8c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.026) 0:01:11.638 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.046) 0:01:11.685 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.087) 0:01:11.772 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.032) 0:01:11.805 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.030) 0:01:11.836 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:45 +0000 (0:00:00.045) 0:01:11.881 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:47 +0000 (0:00:01.628) 0:01:13.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:48 +0000 (0:00:01.326) 0:01:14.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:48 +0000 (0:00:00.024) 0:01:14.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:48 +0000 (0:00:00.025) 0:01:14.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:48 +0000 (0:00:00.065) 0:01:14.952 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.053) 0:01:15.006 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.027) 0:01:15.033 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.037) 0:01:15.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.032) 0:01:15.103 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.356) 0:01:15.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.025) 0:01:15.486 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.021) 0:01:15.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.021) 0:01:15.529 ***** 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, e6cb3468-1148-421a-a9ca-ba521383be8c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.343) 0:01:15.873 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.033) 0:01:15.906 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e6cb3468-1148-421a-a9ca-ba521383be8c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.028) 0:01:15.935 ***** 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, e6cb3468-1148-421a-a9ca-ba521383be8c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e6cb3468-1148-421a-a9ca-ba521383be8c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.033) 0:01:15.968 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:49 +0000 (0:00:00.029) 0:01:15.998 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:56:50 +0000 (0:00:00.236) 0:01:16.234 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:50 +0000 (0:00:00.038) 0:01:16.273 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:50 +0000 (0:00:00.043) 0:01:16.317 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:50 +0000 (0:00:00.027) 0:01:16.345 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:50 +0000 (0:00:00.025) 0:01:16.370 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:50 +0000 (0:00:00.024) 0:01:16.394 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:51 +0000 (0:00:01.599) 0:01:17.994 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:53 +0000 (0:00:01.373) 0:01:19.367 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.033) 0:01:19.400 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.026) 0:01:19.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.025) 0:01:19.452 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.051) 0:01:19.504 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.032) 0:01:19.536 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.032) 0:01:19.568 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.049) 0:01:19.618 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:53 +0000 (0:00:00.380) 0:01:19.999 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.034) 0:01:20.033 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.028) 0:01:20.061 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.035) 0:01:20.096 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.429) 0:01:20.526 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.023) 0:01:20.549 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.025) 0:01:20.574 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.024) 0:01:20.599 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.023) 0:01:20.623 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.197) 0:01:20.821 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.044) 0:01:20.865 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.039) 0:01:20.904 ***** included: /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:56:54 +0000 (0:00:00.092) 0:01:20.997 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:56:55 +0000 (0:00:00.035) 0:01:21.033 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:56:55 +0000 (0:00:00.040) 0:01:21.073 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:56:55 +0000 (0:00:00.036) 0:01:21.110 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:56:56 +0000 (0:00:01.621) 0:01:22.731 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:56:58 +0000 (0:00:01.319) 0:01:24.051 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.023) 0:01:24.075 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.020) 0:01:24.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.021) 0:01:24.117 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.043) 0:01:24.160 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.021) 0:01:24.181 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.021) 0:01:24.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.024) 0:01:24.228 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.352) 0:01:24.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.030) 0:01:24.611 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.038) 0:01:24.649 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:56:58 +0000 (0:00:00.026) 0:01:24.675 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.399) 0:01:25.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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.023) 0:01:25.099 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.024) 0:01:25.123 ***** 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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.024) 0:01:25.148 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.047) 0:01:25.196 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.201) 0:01:25.397 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.046) 0:01:25.444 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.039) 0:01:25.484 ***** 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.025) 0:01:25.510 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.226) 0:01:25.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:56:59 +0000 (0:00:00.026) 0:01:25.762 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021843", "end": "2024-01-10 18:56:59.956670", "rc": 1, "start": "2024-01-10 18:56:59.934827" } 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_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:57:00 +0000 (0:00:00.258) 0:01:26.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:57:00 +0000 (0:00:00.024) 0:01:26.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:57:00 +0000 (0:00:00.030) 0:01:26.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:57:00 +0000 (0:00:00.032) 0:01:26.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:57:00 +0000 (0:00:00.028) 0:01:26.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:57:00 +0000 (0:00:00.030) 0:01:26.167 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 18:57:00 +0000 (0:00:00.027) 0:01:26.194 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.956018", "end": "2024-01-10 18:57:01.323880", "rc": 0, "start": "2024-01-10 18:57:00.367862" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 18:57:01 +0000 (0:00:01.160) 0:01:27.355 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.025) 0:01:27.380 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.023) 0:01:27.404 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.044) 0:01:27.449 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.067) 0:01:27.517 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.211) 0:01:27.728 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.038) 0:01:27.766 ***** 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_typemv6fs8x1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.025) 0:01:27.792 ***** included: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typemv6fs8x1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:57:01 +0000 (0:00:00.052) 0:01:27.844 ***** 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.046007", "end": "2024-01-10 18:57:02.064935", "rc": 1, "start": "2024-01-10 18:57:02.018928" } 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 Wednesday 10 January 2024 18:57:02 +0000 (0:00:00.237) 0:01:28.082 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.33s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.98s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.78s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typemv6fs8x1/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_typemv6fs8x1/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_typemv6fs8x1/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_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.54s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-route_typemv6fs8x1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.44s /WORKDIR/git-route_typemv6fs8x1/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. ---^---^---^---^---^---