# 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_type7bwn9fbo/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/tests_states_nm.yml:6 Thursday 11 January 2024 00:22:15 +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_type7bwn9fbo/tests/tests_states_nm.yml:9 Thursday 11 January 2024 00:22:16 +0000 (0:00:00.721) 0:00:00.734 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:22:16 +0000 (0:00:00.022) 0:00:00.756 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:22:16 +0000 (0:00:00.347) 0:00:01.104 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:22:17 +0000 (0:00:00.267) 0:00:01.371 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:22:17 +0000 (0:00:00.021) 0:00:01.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:22:17 +0000 (0:00:00.020) 0:00:01.413 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:22:17 +0000 (0:00:00.031) 0:00:01.445 ****** 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_type7bwn9fbo/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:22:17 +0000 (0:00:00.252) 0:00:01.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:22:17 +0000 (0:00:00.011) 0:00:01.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:22:17 +0000 (0:00:00.010) 0:00:01.719 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.253390", "end": "2024-01-11 00:22:18.919336", "rc": 0, "start": "2024-01-11 00:22:17.665946" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:22:18 +0000 (0:00:01.442) 0:00:03.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/tests_states_nm.yml:11 Thursday 11 January 2024 00:22:18 +0000 (0:00:00.009) 0:00:03.172 ****** 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_type7bwn9fbo/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:22:18 +0000 (0:00:00.011) 0:00:03.183 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.576) 0:00:03.759 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.010) 0:00:03.770 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.015) 0:00:03.786 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.010) 0:00:03.797 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.031) 0:00:03.828 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.013) 0:00:03.842 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.013) 0:00:03.856 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003668", "end": "2024-01-11 00:22:19.803434", "rc": 0, "start": "2024-01-11 00:22:19.799766" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.189) 0:00:04.046 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.012) 0:00:04.058 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.010) 0:00:04.069 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:22:19 +0000 (0:00:00.019) 0:00:04.089 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008286", "end": "2024-01-11 00:22:20.042094", "rc": 1, "start": "2024-01-11 00:22:20.033808" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.195) 0:00:04.284 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.015) 0:00:04.300 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.185) 0:00:04.486 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.012) 0:00:04.498 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.017) 0:00:04.515 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.031) 0:00:04.546 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.066) 0:00:04.613 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.011) 0:00:04.624 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.009) 0:00:04.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:20 +0000 (0:00:00.009) 0:00:04.644 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:22 +0000 (0:00:01.704) 0:00:06.349 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:23 +0000 (0:00:01.525) 0:00:07.874 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:23 +0000 (0:00:00.023) 0:00:07.898 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:23 +0000 (0:00:00.023) 0:00:07.922 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:23 +0000 (0:00:00.031) 0:00:07.953 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:23 +0000 (0:00:00.044) 0:00:07.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:23 +0000 (0:00:00.027) 0:00:08.024 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:23 +0000 (0:00:00.023) 0:00:08.048 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:23 +0000 (0:00:00.026) 0:00:08.074 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:24 +0000 (0:00:00.498) 0:00:08.573 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:24 +0000 (0:00:00.032) 0:00:08.605 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:24 +0000 (0:00:00.034) 0:00:08.640 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:24 +0000 (0:00:00.025) 0:00:08.665 ****** 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, 1b484442-5c67-4d69-8020-64e2636904ec TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.565) 0:00:09.230 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.023) 0:00:09.254 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b484442-5c67-4d69-8020-64e2636904ec" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.023) 0:00:09.277 ****** 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, 1b484442-5c67-4d69-8020-64e2636904ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b484442-5c67-4d69-8020-64e2636904ec" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.024) 0:00:09.301 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.027) 0:00:09.329 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.245) 0:00:09.574 ****** 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, 1b484442-5c67-4d69-8020-64e2636904ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b484442-5c67-4d69-8020-64e2636904ec" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.024) 0:00:09.599 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.050) 0:00:09.650 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.045) 0:00:09.695 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.028) 0:00:09.723 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932544.9559336, "block_size": 4096, "blocks": 8, "ctime": 1704932544.8939342, "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": 1704932544.8939342, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.201) 0:00:09.924 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:22:25 +0000 (0:00:00.024) 0:00:09.949 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023546", "end": "2024-01-11 00:22:25.937466", "rc": 0, "start": "2024-01-11 00:22:25.913920" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.277) 0:00:10.226 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.025) 0:00:10.251 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.023) 0:00:10.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.023) 0:00:10.298 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.026) 0:00:10.324 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.023) 0:00:10.348 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.025) 0:00:10.373 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.029) 0:00:10.403 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.023) 0:00:10.427 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.056) 0:00:10.483 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.038) 0:00:10.522 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932544.8956444, "block_size": 4096, "blocks": 0, "ctime": 1704932544.8956444, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36442, "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": 1704932544.8956444, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.203) 0:00:10.726 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.026) 0:00:10.752 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.022) 0:00:10.775 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.066) 0:00:10.842 ****** 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.067214", "end": "2024-01-11 00:22:26.854584", "rc": 1, "start": "2024-01-11 00:22:26.787370" } STDOUT: Connection 'statebr' (1b484442-5c67-4d69-8020-64e2636904ec) 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_type7bwn9fbo/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.266) 0:00:11.108 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.042) 0:00:11.151 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.025) 0:00:11.176 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:22:26 +0000 (0:00:00.047) 0:00:11.224 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.054) 0:00:11.279 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.044) 0:00:11.323 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003539", "end": "2024-01-11 00:22:27.299456", "rc": 0, "start": "2024-01-11 00:22:27.295917" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.230) 0:00:11.554 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.022) 0:00:11.577 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.021) 0:00:11.599 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.073) 0:00:11.672 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006548", "end": "2024-01-11 00:22:27.624457", "rc": 1, "start": "2024-01-11 00:22:27.617909" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.205) 0:00:11.878 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.038) 0:00:11.916 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.199) 0:00:12.116 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.025) 0:00:12.141 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.040) 0:00:12.182 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:27 +0000 (0:00:00.041) 0:00:12.224 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:28 +0000 (0:00:00.042) 0:00:12.266 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:28 +0000 (0:00:00.035) 0:00:12.302 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:28 +0000 (0:00:00.031) 0:00:12.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:28 +0000 (0:00:00.056) 0:00:12.390 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:29 +0000 (0:00:01.603) 0:00:13.993 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:31 +0000 (0:00:01.331) 0:00:15.325 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.024) 0:00:15.349 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.024) 0:00:15.373 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.022) 0:00:15.396 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.046) 0:00:15.442 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.022) 0:00:15.465 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.022) 0:00:15.487 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.025) 0:00:15.513 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.366) 0:00:15.879 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.029) 0:00:15.909 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.042) 0:00:15.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:31 +0000 (0:00:00.025) 0:00:15.976 ****** 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, 61308652-0252-464f-94b3-08fcb960b282 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.351) 0:00:16.328 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.027) 0:00:16.355 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61308652-0252-464f-94b3-08fcb960b282" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.030) 0:00:16.386 ****** 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, 61308652-0252-464f-94b3-08fcb960b282\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61308652-0252-464f-94b3-08fcb960b282" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.055) 0:00:16.441 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.023) 0:00:16.464 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.194) 0:00:16.659 ****** 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, 61308652-0252-464f-94b3-08fcb960b282\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61308652-0252-464f-94b3-08fcb960b282" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.024) 0:00:16.684 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.044) 0:00:16.728 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.036) 0:00:16.765 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.198) 0:00:16.963 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.024) 0:00:16.988 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.038) 0:00:17.027 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:22:32 +0000 (0:00:00.023) 0:00:17.050 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932552.0538473, "block_size": 4096, "blocks": 8, "ctime": 1704932552.0538473, "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": 1704932552.0538473, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.197) 0:00:17.248 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.046) 0:00:17.294 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022499", "end": "2024-01-11 00:22:33.262131", "rc": 0, "start": "2024-01-11 00:22:33.239632" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.223) 0:00:17.518 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.026) 0:00:17.544 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.023) 0:00:17.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.032) 0:00:17.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.025) 0:00:17.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.034) 0:00:17.661 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.033) 0:00:17.694 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.026) 0:00:17.720 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.022) 0:00:17.743 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.020) 0:00:17.763 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.022) 0:00:17.785 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.040) 0:00:17.825 ****** 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.043995", "end": "2024-01-11 00:22:33.813548", "rc": 1, "start": "2024-01-11 00:22:33.769553" } STDOUT: Connection 'statebr' (61308652-0252-464f-94b3-08fcb960b282) 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_type7bwn9fbo/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.241) 0:00:18.067 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.066) 0:00:18.133 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.023) 0:00:18.157 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:22:33 +0000 (0:00:00.043) 0:00:18.200 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.035) 0:00:18.236 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.035) 0:00:18.271 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003450", "end": "2024-01-11 00:22:34.217577", "rc": 0, "start": "2024-01-11 00:22:34.214127" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.200) 0:00:18.472 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.023) 0:00:18.495 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.023) 0:00:18.519 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.038) 0:00:18.557 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.039) 0:00:18.597 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.083) 0:00:18.680 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.031) 0:00:18.711 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.023) 0:00:18.735 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:34 +0000 (0:00:00.022) 0:00:18.758 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:36 +0000 (0:00:01.608) 0:00:20.366 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:37 +0000 (0:00:01.316) 0:00:21.683 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:37 +0000 (0:00:00.026) 0:00:21.709 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:37 +0000 (0:00:00.024) 0:00:21.733 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:37 +0000 (0:00:00.034) 0:00:21.768 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:37 +0000 (0:00:00.053) 0:00:21.822 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:37 +0000 (0:00:00.039) 0:00:21.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:37 +0000 (0:00:00.024) 0:00:21.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:37 +0000 (0:00:00.034) 0:00:21.920 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.350) 0:00:22.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.033) 0:00:22.305 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.024) 0:00:22.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.036) 0:00:22.366 ****** 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, d9d76f5c-61b2-4952-9f9e-7cb217713e06 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.424) 0:00:22.790 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.022) 0:00:22.813 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d9d76f5c-61b2-4952-9f9e-7cb217713e06" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.023) 0:00:22.836 ****** 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, d9d76f5c-61b2-4952-9f9e-7cb217713e06\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d9d76f5c-61b2-4952-9f9e-7cb217713e06" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.023) 0:00:22.860 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.021) 0:00:22.881 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.196) 0:00:23.077 ****** 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, d9d76f5c-61b2-4952-9f9e-7cb217713e06\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d9d76f5c-61b2-4952-9f9e-7cb217713e06" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.024) 0:00:23.101 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.039) 0:00:23.140 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:38 +0000 (0:00:00.041) 0:00:23.182 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:39 +0000 (0:00:00.042) 0:00:23.225 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:39 +0000 (0:00:00.051) 0:00:23.277 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:39 +0000 (0:00:00.022) 0:00:23.299 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:39 +0000 (0:00:00.022) 0:00:23.322 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:40 +0000 (0:00:01.577) 0:00:24.899 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:42 +0000 (0:00:01.331) 0:00:26.230 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.025) 0:00:26.256 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.033) 0:00:26.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.028) 0:00:26.318 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.049) 0:00:26.367 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.022) 0:00:26.390 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.022) 0:00:26.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.025) 0:00:26.437 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.349) 0:00:26.786 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.026) 0:00:26.813 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.021) 0:00:26.834 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.022) 0:00:26.857 ****** 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, d9d76f5c-61b2-4952-9f9e-7cb217713e06 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.341) 0:00:27.198 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:42 +0000 (0:00:00.022) 0:00:27.221 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d9d76f5c-61b2-4952-9f9e-7cb217713e06 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.049) 0:00:27.270 ****** 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, d9d76f5c-61b2-4952-9f9e-7cb217713e06 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d9d76f5c-61b2-4952-9f9e-7cb217713e06 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.023) 0:00:27.293 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.022) 0:00:27.316 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.194) 0:00:27.510 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.045) 0:00:27.556 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.035) 0:00:27.591 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932558.480882, "block_size": 4096, "blocks": 0, "ctime": 1704932558.480882, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36573, "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": 1704932558.480882, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.200) 0:00:27.792 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.026) 0:00:27.818 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.040) 0:00:27.859 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.031) 0:00:27.890 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932558.5287673, "block_size": 4096, "blocks": 8, "ctime": 1704932558.4787679, "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": 1704932558.4787679, "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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.211) 0:00:28.101 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:22:43 +0000 (0:00:00.054) 0:00:28.156 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023703", "end": "2024-01-11 00:22:44.126830", "rc": 0, "start": "2024-01-11 00:22:44.103127" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.229) 0:00:28.385 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.025) 0:00:28.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.026) 0:00:28.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.025) 0:00:28.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.023) 0:00:28.486 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.025) 0:00:28.512 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.024) 0:00:28.537 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.025) 0:00:28.562 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.024) 0:00:28.587 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.020) 0:00:28.608 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.021) 0:00:28.629 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.042) 0:00:28.672 ****** 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.068521", "end": "2024-01-11 00:22:44.684194", "rc": 1, "start": "2024-01-11 00:22:44.615673" } STDOUT: Connection 'statebr' (d9d76f5c-61b2-4952-9f9e-7cb217713e06) 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_type7bwn9fbo/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.265) 0:00:28.937 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.065) 0:00:29.003 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.023) 0:00:29.026 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.042) 0:00:29.069 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.037) 0:00:29.106 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:22:44 +0000 (0:00:00.036) 0:00:29.143 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-01-11 00:22:45.092228", "rc": 0, "start": "2024-01-11 00:22:45.088768" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.203) 0:00:29.346 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.023) 0:00:29.369 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.022) 0:00:29.392 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.041) 0:00:29.433 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.035) 0:00:29.469 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.062) 0:00:29.531 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.028) 0:00:29.559 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.021) 0:00:29.580 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:45 +0000 (0:00:00.020) 0:00:29.601 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:46 +0000 (0:00:01.571) 0:00:31.172 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:48 +0000 (0:00:01.307) 0:00:32.480 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.030) 0:00:32.510 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.026) 0:00:32.537 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.023) 0:00:32.561 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.046) 0:00:32.607 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.021) 0:00:32.629 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.020) 0:00:32.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.026) 0:00:32.676 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.346) 0:00:33.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.028) 0:00:33.051 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.022) 0:00:33.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:48 +0000 (0:00:00.051) 0:00:33.126 ****** 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, b39f1faf-3731-43e0-a2e3-db66db2f4cd1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.388) 0:00:33.514 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.021) 0:00:33.536 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b39f1faf-3731-43e0-a2e3-db66db2f4cd1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.024) 0:00:33.561 ****** 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, b39f1faf-3731-43e0-a2e3-db66db2f4cd1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b39f1faf-3731-43e0-a2e3-db66db2f4cd1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.023) 0:00:33.585 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.021) 0:00:33.606 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.195) 0:00:33.802 ****** 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, b39f1faf-3731-43e0-a2e3-db66db2f4cd1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b39f1faf-3731-43e0-a2e3-db66db2f4cd1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.025) 0:00:33.828 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.036) 0:00:33.865 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.041) 0:00:33.906 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.028) 0:00:33.934 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.023) 0:00:33.957 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:49 +0000 (0:00:00.062) 0:00:34.020 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:51 +0000 (0:00:01.590) 0:00:35.610 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:52 +0000 (0:00:01.312) 0:00:36.923 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:52 +0000 (0:00:00.023) 0:00:36.947 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:52 +0000 (0:00:00.048) 0:00:36.995 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:52 +0000 (0:00:00.023) 0:00:37.019 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:52 +0000 (0:00:00.046) 0:00:37.066 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:52 +0000 (0:00:00.023) 0:00:37.089 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:52 +0000 (0:00:00.022) 0:00:37.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:52 +0000 (0:00:00.027) 0:00:37.140 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.348) 0:00:37.488 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.025) 0:00:37.514 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.022) 0:00:37.537 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.024) 0:00:37.561 ****** 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, b39f1faf-3731-43e0-a2e3-db66db2f4cd1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.338) 0:00:37.899 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.022) 0:00:37.922 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b39f1faf-3731-43e0-a2e3-db66db2f4cd1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.023) 0:00:37.945 ****** 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, b39f1faf-3731-43e0-a2e3-db66db2f4cd1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b39f1faf-3731-43e0-a2e3-db66db2f4cd1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.022) 0:00:37.968 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.045) 0:00:38.013 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:22:53 +0000 (0:00:00.196) 0:00:38.210 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:22:54 +0000 (0:00:00.041) 0:00:38.252 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:22:54 +0000 (0:00:00.042) 0:00:38.294 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:22:54 +0000 (0:00:00.043) 0:00:38.338 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:22:54 +0000 (0:00:00.030) 0:00:38.368 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:22:54 +0000 (0:00:00.022) 0:00:38.391 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:22:54 +0000 (0:00:00.022) 0:00:38.413 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:22:55 +0000 (0:00:01.584) 0:00:39.997 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:22:57 +0000 (0:00:01.320) 0:00:41.318 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.023) 0:00:41.341 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.021) 0:00:41.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.021) 0:00:41.384 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.043) 0:00:41.428 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.021) 0:00:41.449 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.047) 0:00:41.496 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.027) 0:00:41.524 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.347) 0:00:41.871 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.026) 0:00:41.897 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.021) 0:00:41.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:22:57 +0000 (0:00:00.021) 0:00:41.940 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.371) 0:00:42.311 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.023) 0:00:42.335 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.023) 0:00:42.358 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.024) 0:00:42.383 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.024) 0:00:42.407 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.194) 0:00:42.602 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.070) 0:00:42.673 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.038) 0:00:42.711 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932569.2093153, "block_size": 4096, "blocks": 0, "ctime": 1704932569.2093153, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36704, "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": 1704932569.2093153, "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_type7bwn9fbo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.200) 0:00:42.912 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.024) 0:00:42.936 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.037) 0:00:42.974 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.022) 0:00:42.996 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.198) 0:00:43.195 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:22:58 +0000 (0:00:00.022) 0:00:43.218 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022503", "end": "2024-01-11 00:22:59.223108", "rc": 1, "start": "2024-01-11 00:22:59.200605" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.260) 0:00:43.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.031) 0:00:43.510 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.031) 0:00:43.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.023) 0:00:43.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.062) 0:00:43.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.024) 0:00:43.653 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.028) 0:00:43.681 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.022) 0:00:43.703 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.022) 0:00:43.726 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.042) 0:00:43.768 ****** 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.082449", "end": "2024-01-11 00:22:59.796412", "rc": 1, "start": "2024-01-11 00:22:59.713963" } STDOUT: Connection 'statebr' (b39f1faf-3731-43e0-a2e3-db66db2f4cd1) 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_type7bwn9fbo/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.281) 0:00:44.050 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.039) 0:00:44.089 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.022) 0:00:44.111 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.044) 0:00:44.156 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:22:59 +0000 (0:00:00.035) 0:00:44.191 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.061) 0:00:44.253 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003540", "end": "2024-01-11 00:23:00.203806", "rc": 0, "start": "2024-01-11 00:23:00.200266" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.207) 0:00:44.460 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.028) 0:00:44.488 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.022) 0:00:44.511 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.044) 0:00:44.556 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.037) 0:00:44.593 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.040) 0:00:44.634 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.027) 0:00:44.662 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.022) 0:00:44.684 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:00 +0000 (0:00:00.027) 0:00:44.712 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:02 +0000 (0:00:01.626) 0:00:46.339 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:03 +0000 (0:00:01.309) 0:00:47.648 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:03 +0000 (0:00:00.023) 0:00:47.672 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:03 +0000 (0:00:00.022) 0:00:47.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:03 +0000 (0:00:00.022) 0:00:47.717 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:03 +0000 (0:00:00.092) 0:00:47.810 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:03 +0000 (0:00:00.022) 0:00:47.832 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:03 +0000 (0:00:00.020) 0:00:47.853 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:03 +0000 (0:00:00.026) 0:00:47.880 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.349) 0:00:48.229 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.025) 0:00:48.255 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.021) 0:00:48.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.021) 0:00:48.297 ****** 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, 37537d86-0282-4ae9-a147-6ac622d58812 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.391) 0:00:48.689 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.024) 0:00:48.713 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37537d86-0282-4ae9-a147-6ac622d58812" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.024) 0:00:48.737 ****** 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, 37537d86-0282-4ae9-a147-6ac622d58812\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37537d86-0282-4ae9-a147-6ac622d58812" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.027) 0:00:48.765 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.023) 0:00:48.788 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.228) 0:00:49.017 ****** 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, 37537d86-0282-4ae9-a147-6ac622d58812\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 37537d86-0282-4ae9-a147-6ac622d58812" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.024) 0:00:49.042 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.037) 0:00:49.080 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.042) 0:00:49.122 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.026) 0:00:49.149 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.021) 0:00:49.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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:04 +0000 (0:00:00.021) 0:00:49.192 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:06 +0000 (0:00:01.604) 0:00:50.797 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:07 +0000 (0:00:01.308) 0:00:52.105 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:07 +0000 (0:00:00.022) 0:00:52.128 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:07 +0000 (0:00:00.021) 0:00:52.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:07 +0000 (0:00:00.021) 0:00:52.170 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:07 +0000 (0:00:00.043) 0:00:52.214 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.020) 0:00:52.234 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.022) 0:00:52.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.024) 0:00:52.282 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.369) 0:00:52.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.026) 0:00:52.677 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.020) 0:00:52.698 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.021) 0:00:52.719 ****** 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, 37537d86-0282-4ae9-a147-6ac622d58812 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.338) 0:00:53.058 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.021) 0:00:53.080 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 37537d86-0282-4ae9-a147-6ac622d58812 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.023) 0:00:53.104 ****** 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, 37537d86-0282-4ae9-a147-6ac622d58812 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 37537d86-0282-4ae9-a147-6ac622d58812 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.023) 0:00:53.128 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:08 +0000 (0:00:00.020) 0:00:53.148 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:23:09 +0000 (0:00:00.193) 0:00:53.342 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:09 +0000 (0:00:00.037) 0:00:53.380 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:09 +0000 (0:00:00.064) 0:00:53.444 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:09 +0000 (0:00:00.028) 0:00:53.473 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:09 +0000 (0:00:00.022) 0:00:53.495 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:09 +0000 (0:00:00.022) 0:00:53.517 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:10 +0000 (0:00:01.604) 0:00:55.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:12 +0000 (0:00:01.307) 0:00:56.429 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.024) 0:00:56.453 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.022) 0:00:56.476 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.022) 0:00:56.498 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.045) 0:00:56.543 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.031) 0:00:56.574 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.022) 0:00:56.597 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.026) 0:00:56.623 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.350) 0:00:56.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.026) 0:00:57.001 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.022) 0:00:57.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:12 +0000 (0:00:00.021) 0:00:57.045 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.396) 0:00:57.441 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.022) 0:00:57.464 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.023) 0:00:57.487 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.023) 0:00:57.511 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.023) 0:00:57.534 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.198) 0:00:57.733 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.040) 0:00:57.773 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.042) 0:00:57.816 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.041) 0:00:57.858 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.027) 0:00:57.885 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.022) 0:00:57.907 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:13 +0000 (0:00:00.050) 0:00:57.958 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:15 +0000 (0:00:01.594) 0:00:59.552 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:16 +0000 (0:00:01.311) 0:01:00.863 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:16 +0000 (0:00:00.042) 0:01:00.906 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:16 +0000 (0:00:00.022) 0:01:00.928 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:16 +0000 (0:00:00.022) 0:01:00.951 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:16 +0000 (0:00:00.043) 0:01:00.994 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:16 +0000 (0:00:00.022) 0:01:01.017 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:16 +0000 (0:00:00.021) 0:01:01.039 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:16 +0000 (0:00:00.026) 0:01:01.065 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.352) 0:01:01.418 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.026) 0:01:01.444 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.022) 0:01:01.467 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.020) 0:01:01.487 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.420) 0:01:01.907 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.022) 0:01:01.930 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.022) 0:01:01.952 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.047) 0:01:02.000 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.022) 0:01:02.023 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:23:17 +0000 (0:00:00.197) 0:01:02.220 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.041) 0:01:02.261 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.038) 0:01:02.300 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.021) 0:01:02.322 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.198) 0:01:02.520 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.022) 0:01:02.543 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022094", "end": "2024-01-11 00:23:18.508460", "rc": 1, "start": "2024-01-11 00:23:18.486366" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.219) 0:01:02.762 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.022) 0:01:02.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.022) 0:01:02.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.021) 0:01:02.829 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.051) 0:01:02.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.025) 0:01:02.906 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.024) 0:01:02.931 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.043) 0:01:02.974 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.036) 0:01:03.011 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:23:18 +0000 (0:00:00.201) 0:01:03.213 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.025) 0:01:03.238 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.022) 0:01:03.260 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.043) 0:01:03.304 ****** 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.045665", "end": "2024-01-11 00:23:19.297272", "rc": 1, "start": "2024-01-11 00:23:19.251607" } 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_type7bwn9fbo/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.247) 0:01:03.551 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.039) 0:01:03.590 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.050) 0:01:03.641 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.046) 0:01:03.687 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.038) 0:01:03.726 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.039) 0:01:03.766 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-01-11 00:23:19.715982", "rc": 0, "start": "2024-01-11 00:23:19.712511" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.204) 0:01:03.970 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.023) 0:01:03.994 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.023) 0:01:04.017 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.046) 0:01:04.063 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.037) 0:01:04.101 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.041) 0:01:04.143 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.056) 0:01:04.199 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:19 +0000 (0:00:00.023) 0:01:04.222 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:20 +0000 (0:00:00.022) 0:01:04.244 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:21 +0000 (0:00:01.614) 0:01:05.859 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:22 +0000 (0:00:01.333) 0:01:07.192 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:22 +0000 (0:00:00.023) 0:01:07.215 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.022) 0:01:07.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.020) 0:01:07.259 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.044) 0:01:07.304 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.021) 0:01:07.325 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.020) 0:01:07.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.025) 0:01:07.371 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.354) 0:01:07.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.026) 0:01:07.752 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.021) 0:01:07.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:23 +0000 (0:00:00.022) 0:01:07.797 ****** 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, ebb50ddc-2453-44aa-8a7d-f147d198ecf0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.444) 0:01:08.241 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.024) 0:01:08.266 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ebb50ddc-2453-44aa-8a7d-f147d198ecf0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.025) 0:01:08.291 ****** 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, ebb50ddc-2453-44aa-8a7d-f147d198ecf0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ebb50ddc-2453-44aa-8a7d-f147d198ecf0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.024) 0:01:08.316 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.023) 0:01:08.339 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.200) 0:01:08.540 ****** 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, ebb50ddc-2453-44aa-8a7d-f147d198ecf0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ebb50ddc-2453-44aa-8a7d-f147d198ecf0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.024) 0:01:08.565 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.038) 0:01:08.603 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.043) 0:01:08.647 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.027) 0:01:08.674 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.025) 0:01:08.700 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:24 +0000 (0:00:00.022) 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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:26 +0000 (0:00:01.656) 0:01:10.378 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:27 +0000 (0:00:01.319) 0:01:11.698 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:27 +0000 (0:00:00.022) 0:01:11.721 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:27 +0000 (0:00:00.043) 0:01:11.764 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:27 +0000 (0:00:00.022) 0:01:11.787 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:27 +0000 (0:00:00.045) 0:01:11.832 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:27 +0000 (0:00:00.022) 0:01:11.855 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:27 +0000 (0:00:00.020) 0:01:11.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:27 +0000 (0:00:00.024) 0:01:11.900 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.358) 0:01:12.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.025) 0:01:12.285 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.022) 0:01:12.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.022) 0:01:12.330 ****** 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, ebb50ddc-2453-44aa-8a7d-f147d198ecf0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.344) 0:01:12.675 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.022) 0:01:12.698 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ebb50ddc-2453-44aa-8a7d-f147d198ecf0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.023) 0:01:12.721 ****** 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, ebb50ddc-2453-44aa-8a7d-f147d198ecf0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ebb50ddc-2453-44aa-8a7d-f147d198ecf0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.023) 0:01:12.744 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.050) 0:01:12.795 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.200) 0:01:12.995 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.037) 0:01:13.032 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.041) 0:01:13.074 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.028) 0:01:13.102 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.021) 0:01:13.124 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:28 +0000 (0:00:00.022) 0:01:13.146 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:30 +0000 (0:00:01.698) 0:01:14.845 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:31 +0000 (0:00:01.318) 0:01:16.163 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:31 +0000 (0:00:00.023) 0:01:16.187 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:31 +0000 (0:00:00.022) 0:01:16.209 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.029) 0:01:16.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.045) 0:01:16.284 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.022) 0:01:16.307 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.021) 0:01:16.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.055) 0:01:16.384 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.354) 0:01:16.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.026) 0:01:16.764 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.021) 0:01:16.785 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:32 +0000 (0:00:00.022) 0:01:16.808 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.423) 0:01:17.231 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.022) 0:01:17.254 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.023) 0:01:17.278 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.023) 0:01:17.302 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.021) 0:01:17.323 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.199) 0:01:17.522 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.040) 0:01:17.562 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.066) 0:01:17.629 ****** included: /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.042) 0:01:17.671 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.028) 0:01:17.699 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.022) 0:01:17.721 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:33 +0000 (0:00:00.023) 0:01:17.745 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:35 +0000 (0:00:01.588) 0:01:19.334 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:36 +0000 (0:00:01.330) 0:01:20.665 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.025) 0:01:20.690 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.022) 0:01:20.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.026) 0:01:20.740 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.046) 0:01:20.786 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.024) 0:01:20.811 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.026) 0:01:20.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.033) 0:01:20.870 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:23:36 +0000 (0:00:00.346) 0:01:21.217 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.051) 0:01:21.269 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.021) 0:01:21.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.021) 0:01:21.312 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.355) 0:01:21.668 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.021) 0:01:21.689 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.023) 0:01:21.712 ****** 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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.023) 0:01:21.736 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.020) 0:01:21.757 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.193) 0:01:21.951 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.045) 0:01:21.996 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.038) 0:01:22.035 ****** 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:23:37 +0000 (0:00:00.024) 0:01:22.059 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.224) 0:01:22.283 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.022) 0:01:22.306 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022070", "end": "2024-01-11 00:23:38.273580", "rc": 1, "start": "2024-01-11 00:23:38.251510" } 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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.221) 0:01:22.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_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.024) 0:01:22.552 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.024) 0:01:22.577 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.023) 0:01:22.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.023) 0:01:22.624 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.023) 0:01:22.648 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:23:38 +0000 (0:00:00.024) 0:01:22.673 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.943125", "end": "2024-01-11 00:23:39.560125", "rc": 0, "start": "2024-01-11 00:23:38.617000" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:23:39 +0000 (0:00:01.142) 0:01:23.815 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:23:39 +0000 (0:00:00.025) 0:01:23.841 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:23:39 +0000 (0:00:00.068) 0:01:23.909 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:23:39 +0000 (0:00:00.049) 0:01:23.959 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:23:39 +0000 (0:00:00.051) 0:01:24.010 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:23:39 +0000 (0:00:00.207) 0:01:24.218 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:23:40 +0000 (0:00:00.030) 0:01:24.249 ****** 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_type7bwn9fbo/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:23:40 +0000 (0:00:00.024) 0:01:24.273 ****** included: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7bwn9fbo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:23:40 +0000 (0:00:00.049) 0:01:24.323 ****** 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.045371", "end": "2024-01-11 00:23:40.314075", "rc": 1, "start": "2024-01-11 00:23:40.268704" } 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 Thursday 11 January 2024 00:23:40 +0000 (0:00:00.231) 0:01:24.555 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.21s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.90s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type7bwn9fbo/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_type7bwn9fbo/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_type7bwn9fbo/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_type7bwn9fbo/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_type7bwn9fbo/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_type7bwn9fbo/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_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.53s /WORKDIR/git-route_type7bwn9fbo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 8 ----------------------------------------------------------- 1.44s /WORKDIR/git-route_type7bwn9fbo/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Enable and start NetworkManager ------------ 1.43s /WORKDIR/git-route_type7bwn9fbo/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. ---^---^---^---^---^---