# 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_typef0th468y/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/tests_states_nm.yml:6 Thursday 11 January 2024 02:25:53 +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_typef0th468y/tests/tests_states_nm.yml:9 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.735) 0:00:00.748 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.021) 0:00:00.769 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.323) 0:00:01.093 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:25:54 +0000 (0:00:00.273) 0:00:01.366 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.033) 0:00:01.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.021) 0:00:01.422 ****** included: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.054) 0:00:01.477 ****** 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_typef0th468y/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.279) 0:00:01.756 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.020) 0:00:01.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:25:55 +0000 (0:00:00.011) 0:00:01.788 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.243786", "end": "2024-01-11 02:25:56.835476", "rc": 0, "start": "2024-01-11 02:25:55.591690" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:25:56 +0000 (0:00:01.473) 0:00:03.262 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tests_states_nm.yml:11 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.022) 0:00:03.285 ****** 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_typef0th468y/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:25:56 +0000 (0:00:00.038) 0:00:03.323 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.576) 0:00:03.899 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.010) 0:00:03.910 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.039) 0:00:03.949 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.011) 0:00:03.961 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.060) 0:00:04.022 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.020) 0:00:04.042 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.030) 0:00:04.072 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003178", "end": "2024-01-11 02:25:57.888724", "rc": 0, "start": "2024-01-11 02:25:57.885546" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.237) 0:00:04.310 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.024) 0:00:04.334 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:25:57 +0000 (0:00:00.028) 0:00:04.363 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.036) 0:00:04.400 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008272", "end": "2024-01-11 02:25:58.198447", "rc": 1, "start": "2024-01-11 02:25:58.190175" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.196) 0:00:04.597 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.022) 0:00:04.619 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.184) 0:00:04.803 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.012) 0:00:04.815 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.018) 0:00:04.834 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.032) 0:00:04.866 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.068) 0:00:04.935 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.013) 0:00:04.949 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.010) 0:00:04.959 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:25:58 +0000 (0:00:00.012) 0:00:04.972 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:00 +0000 (0:00:01.663) 0:00:06.635 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:01 +0000 (0:00:01.529) 0:00:08.164 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.063) 0:00:08.228 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.053) 0:00:08.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:01 +0000 (0:00:00.034) 0:00:08.316 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.070) 0:00:08.387 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.023) 0:00:08.410 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.022) 0:00:08.433 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.029) 0:00:08.462 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.542) 0:00:09.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.046) 0:00:09.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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.042) 0:00:09.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:02 +0000 (0:00:00.033) 0:00:09.127 ****** 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, 23dcdd19-4d44-430b-90c9-44894e9a3094 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.604) 0:00:09.731 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.042) 0:00:09.774 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23dcdd19-4d44-430b-90c9-44894e9a3094" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.025) 0:00:09.799 ****** 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, 23dcdd19-4d44-430b-90c9-44894e9a3094\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23dcdd19-4d44-430b-90c9-44894e9a3094" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.024) 0:00:09.824 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.031) 0:00:09.855 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.248) 0:00:10.103 ****** 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, 23dcdd19-4d44-430b-90c9-44894e9a3094\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23dcdd19-4d44-430b-90c9-44894e9a3094" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.024) 0:00:10.128 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.067) 0:00:10.195 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.049) 0:00:10.245 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:03 +0000 (0:00:00.064) 0:00:10.309 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939963.3250937, "block_size": 4096, "blocks": 8, "ctime": 1704939963.2650938, "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": 1704939963.2650938, "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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.211) 0:00:10.521 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.026) 0:00:10.547 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021679", "end": "2024-01-11 02:26:04.356210", "rc": 0, "start": "2024-01-11 02:26:04.334531" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.222) 0:00:10.770 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.032) 0:00:10.802 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.161) 0:00:10.964 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.033) 0:00:10.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.045) 0:00:11.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.032) 0:00:11.076 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.061) 0:00:11.137 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.052) 0:00:11.189 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.051) 0:00:11.241 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.058) 0:00:11.299 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:04 +0000 (0:00:00.072) 0:00:11.372 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939963.2667797, "block_size": 4096, "blocks": 0, "ctime": 1704939963.2667797, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36788, "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": 1704939963.2667797, "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_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.230) 0:00:11.602 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.033) 0:00:11.636 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.035) 0:00:11.671 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.095) 0:00:11.767 ****** 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.061343", "end": "2024-01-11 02:26:05.617814", "rc": 1, "start": "2024-01-11 02:26:05.556471" } STDOUT: Connection 'statebr' (23dcdd19-4d44-430b-90c9-44894e9a3094) 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_typef0th468y/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.261) 0:00:12.029 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.051) 0:00:12.080 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.026) 0:00:12.106 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.061) 0:00:12.168 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.047) 0:00:12.215 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:26:05 +0000 (0:00:00.052) 0:00:12.267 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003196", "end": "2024-01-11 02:26:06.058188", "rc": 0, "start": "2024-01-11 02:26:06.054992" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.202) 0:00:12.470 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.024) 0:00:12.494 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.024) 0:00:12.519 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.042) 0:00:12.562 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006421", "end": "2024-01-11 02:26:06.352770", "rc": 1, "start": "2024-01-11 02:26:06.346349" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.229) 0:00:12.791 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.039) 0:00:12.831 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.213) 0:00:13.044 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.045) 0:00:13.090 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.053) 0:00:13.144 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.053) 0:00:13.198 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.049) 0:00:13.247 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.033) 0:00:13.280 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.035) 0:00:13.316 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:06 +0000 (0:00:00.034) 0:00:13.350 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:08 +0000 (0:00:01.585) 0:00:14.935 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:09 +0000 (0:00:01.306) 0:00:16.242 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.023) 0:00:16.266 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.026) 0:00:16.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:09 +0000 (0:00:00.042) 0:00:16.335 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.076) 0:00:16.411 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.032) 0:00:16.444 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.055) 0:00:16.499 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.072) 0:00:16.572 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.358) 0:00:16.931 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.028) 0:00:16.959 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.021) 0:00:16.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.021) 0:00:17.003 ****** 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, 82060fbe-1ece-4db3-ac46-58784c9c6281 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.344) 0:00:17.348 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:10 +0000 (0:00:00.022) 0:00:17.370 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82060fbe-1ece-4db3-ac46-58784c9c6281" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.023) 0:00:17.394 ****** 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, 82060fbe-1ece-4db3-ac46-58784c9c6281\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82060fbe-1ece-4db3-ac46-58784c9c6281" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.023) 0:00:17.418 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.023) 0:00:17.441 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.201) 0:00:17.643 ****** 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, 82060fbe-1ece-4db3-ac46-58784c9c6281\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 82060fbe-1ece-4db3-ac46-58784c9c6281" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.058) 0:00:17.702 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.061) 0:00:17.763 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.041) 0:00:17.805 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.201) 0:00:18.006 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.026) 0:00:18.032 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.045) 0:00:18.077 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.022) 0:00:18.100 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939970.9230793, "block_size": 4096, "blocks": 8, "ctime": 1704939970.9230793, "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": 1704939970.9230793, "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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.196) 0:00:18.296 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:11 +0000 (0:00:00.025) 0:00:18.321 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020656", "end": "2024-01-11 02:26:12.126134", "rc": 0, "start": "2024-01-11 02:26:12.105478" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.218) 0:00:18.540 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.035) 0:00:18.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.069) 0:00:18.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.029) 0:00:18.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.024) 0:00:18.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.025) 0:00:18.724 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.025) 0:00:18.749 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.028) 0:00:18.778 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.024) 0:00:18.802 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.020) 0:00:18.823 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.024) 0:00:18.847 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.052) 0:00:18.900 ****** 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.041462", "end": "2024-01-11 02:26:12.731232", "rc": 1, "start": "2024-01-11 02:26:12.689770" } STDOUT: Connection 'statebr' (82060fbe-1ece-4db3-ac46-58784c9c6281) 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_typef0th468y/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.242) 0:00:19.142 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.037) 0:00:19.180 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.027) 0:00:19.207 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.044) 0:00:19.251 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.077) 0:00:19.329 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:26:12 +0000 (0:00:00.047) 0:00:19.376 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003372", "end": "2024-01-11 02:26:13.165481", "rc": 0, "start": "2024-01-11 02:26:13.162109" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.209) 0:00:19.586 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.042) 0:00:19.629 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.025) 0:00:19.654 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.084) 0:00:19.739 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.055) 0:00:19.794 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.060) 0:00:19.854 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.027) 0:00:19.882 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.025) 0:00:19.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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:13 +0000 (0:00:00.074) 0:00:19.982 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:15 +0000 (0:00:01.569) 0:00:21.551 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:16 +0000 (0:00:01.324) 0:00:22.876 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:16 +0000 (0:00:00.040) 0:00:22.917 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:16 +0000 (0:00:00.027) 0:00:22.945 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:16 +0000 (0:00:00.032) 0:00:22.978 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:16 +0000 (0:00:00.087) 0:00:23.065 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:16 +0000 (0:00:00.025) 0:00:23.090 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:16 +0000 (0:00:00.031) 0:00:23.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:16 +0000 (0:00:00.041) 0:00:23.163 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.344) 0:00:23.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.026) 0:00:23.535 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.022) 0:00:23.557 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.027) 0:00:23.584 ****** 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, 805a484d-81d9-4c4e-8d72-a7518c690c38 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.383) 0:00:23.968 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.043) 0:00:24.012 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 805a484d-81d9-4c4e-8d72-a7518c690c38" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.025) 0:00:24.037 ****** 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, 805a484d-81d9-4c4e-8d72-a7518c690c38\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 805a484d-81d9-4c4e-8d72-a7518c690c38" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.061) 0:00:24.099 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:17 +0000 (0:00:00.074) 0:00:24.174 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.244) 0:00:24.418 ****** 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, 805a484d-81d9-4c4e-8d72-a7518c690c38\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 805a484d-81d9-4c4e-8d72-a7518c690c38" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.060) 0:00:24.479 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.065) 0:00:24.548 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.054) 0:00:24.602 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.065) 0:00:24.668 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.061) 0:00:24.730 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.023) 0:00:24.753 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:18 +0000 (0:00:00.034) 0:00:24.788 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:19 +0000 (0:00:01.571) 0:00:26.359 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:21 +0000 (0:00:01.482) 0:00:27.842 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.045) 0:00:27.887 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.056) 0:00:27.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.047) 0:00:27.992 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.049) 0:00:28.041 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.045) 0:00:28.087 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.040) 0:00:28.128 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:21 +0000 (0:00:00.028) 0:00:28.156 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.364) 0:00:28.521 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.041) 0:00:28.562 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.077) 0:00:28.639 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.061) 0:00:28.701 ****** 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, 805a484d-81d9-4c4e-8d72-a7518c690c38 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.498) 0:00:29.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.023) 0:00:29.222 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 805a484d-81d9-4c4e-8d72-a7518c690c38 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.023) 0:00:29.246 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 805a484d-81d9-4c4e-8d72-a7518c690c38 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 805a484d-81d9-4c4e-8d72-a7518c690c38 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.024) 0:00:29.270 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:22 +0000 (0:00:00.023) 0:00:29.294 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.210) 0:00:29.504 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.045) 0:00:29.549 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.038) 0:00:29.588 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939977.5060995, "block_size": 4096, "blocks": 0, "ctime": 1704939977.5060995, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36919, "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": 1704939977.5060995, "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_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.240) 0:00:29.828 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.045) 0:00:29.874 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.075) 0:00:29.949 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.023) 0:00:29.972 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939977.5050666, "block_size": 4096, "blocks": 8, "ctime": 1704939977.5040667, "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": 1704939977.5040667, "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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.229) 0:00:30.202 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:23 +0000 (0:00:00.037) 0:00:30.239 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021952", "end": "2024-01-11 02:26:24.052262", "rc": 0, "start": "2024-01-11 02:26:24.030310" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.255) 0:00:30.494 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.029) 0:00:30.524 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.039) 0:00:30.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.038) 0:00:30.602 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.048) 0:00:30.651 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.031) 0:00:30.682 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.027) 0:00:30.710 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.043) 0:00:30.753 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.089) 0:00:30.842 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.047) 0:00:30.890 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.025) 0:00:30.915 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.084) 0:00:30.999 ****** 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.061460", "end": "2024-01-11 02:26:24.875689", "rc": 1, "start": "2024-01-11 02:26:24.814229" } STDOUT: Connection 'statebr' (805a484d-81d9-4c4e-8d72-a7518c690c38) 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_typef0th468y/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.296) 0:00:31.295 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:26:24 +0000 (0:00:00.055) 0:00:31.351 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.047) 0:00:31.398 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.061) 0:00:31.460 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.061) 0:00:31.521 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.038) 0:00:31.560 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003273", "end": "2024-01-11 02:26:25.355094", "rc": 0, "start": "2024-01-11 02:26:25.351821" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.206) 0:00:31.766 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.028) 0:00:31.795 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.041) 0:00:31.836 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.084) 0:00:31.921 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.052) 0:00:31.974 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.093) 0:00:32.067 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.059) 0:00:32.126 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.056) 0:00:32.183 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:25 +0000 (0:00:00.036) 0:00:32.220 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:27 +0000 (0:00:01.588) 0:00:33.809 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:28 +0000 (0:00:01.322) 0:00:35.132 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:28 +0000 (0:00:00.028) 0:00:35.160 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:28 +0000 (0:00:00.028) 0:00:35.189 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:28 +0000 (0:00:00.025) 0:00:35.214 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:28 +0000 (0:00:00.076) 0:00:35.291 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:28 +0000 (0:00:00.025) 0:00:35.317 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:28 +0000 (0:00:00.042) 0:00:35.360 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.062) 0:00:35.422 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.349) 0:00:35.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.026) 0:00:35.798 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.050) 0:00:35.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.023) 0:00:35.873 ****** 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, 196f8a34-2b78-431a-8532-1737c875fa23 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.383) 0:00:36.256 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.023) 0:00:36.279 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 196f8a34-2b78-431a-8532-1737c875fa23" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.026) 0:00:36.306 ****** 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, 196f8a34-2b78-431a-8532-1737c875fa23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 196f8a34-2b78-431a-8532-1737c875fa23" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.027) 0:00:36.334 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:29 +0000 (0:00:00.023) 0:00:36.357 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.194) 0:00:36.552 ****** 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, 196f8a34-2b78-431a-8532-1737c875fa23\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 196f8a34-2b78-431a-8532-1737c875fa23" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.036) 0:00:36.589 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.038) 0:00:36.627 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.044) 0:00:36.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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.029) 0:00:36.701 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.098) 0:00:36.799 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:30 +0000 (0:00:00.054) 0:00:36.854 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:32 +0000 (0:00:01.560) 0:00:38.414 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:33 +0000 (0:00:01.301) 0:00:39.716 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:33 +0000 (0:00:00.030) 0:00:39.747 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:33 +0000 (0:00:00.030) 0:00:39.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:33 +0000 (0:00:00.048) 0:00:39.826 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:33 +0000 (0:00:00.070) 0:00:39.897 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:33 +0000 (0:00:00.057) 0:00:39.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:33 +0000 (0:00:00.049) 0:00:40.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:33 +0000 (0:00:00.046) 0:00:40.050 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.364) 0:00:40.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.035) 0:00:40.450 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.023) 0:00:40.473 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.029) 0:00:40.503 ****** 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, 196f8a34-2b78-431a-8532-1737c875fa23 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.361) 0:00:40.865 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.033) 0:00:40.898 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 196f8a34-2b78-431a-8532-1737c875fa23 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.029) 0:00:40.927 ****** 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, 196f8a34-2b78-431a-8532-1737c875fa23 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 196f8a34-2b78-431a-8532-1737c875fa23 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.046) 0:00:40.974 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.037) 0:00:41.011 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.247) 0:00:41.259 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.049) 0:00:41.308 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:34 +0000 (0:00:00.050) 0:00:41.358 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.055) 0:00:41.414 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.030) 0:00:41.444 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.035) 0:00:41.479 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:35 +0000 (0:00:00.039) 0:00:41.519 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:36 +0000 (0:00:01.599) 0:00:43.118 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:38 +0000 (0:00:01.365) 0:00:44.484 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.038) 0:00:44.523 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.044) 0:00:44.568 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.054) 0:00:44.622 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.094) 0:00:44.716 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.052) 0:00:44.769 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.037) 0:00:44.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.027) 0:00:44.834 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.349) 0:00:45.183 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.027) 0:00:45.211 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.021) 0:00:45.233 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:38 +0000 (0:00:00.054) 0:00:45.287 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.371) 0:00:45.659 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.022) 0:00:45.682 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.023) 0:00:45.706 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.023) 0:00:45.729 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.021) 0:00:45.751 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.192) 0:00:45.944 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.046) 0:00:45.990 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.037) 0:00:46.027 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939989.7976615, "block_size": 4096, "blocks": 0, "ctime": 1704939989.7976615, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37050, "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": 1704939989.7976615, "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_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.205) 0:00:46.233 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.023) 0:00:46.257 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.067) 0:00:46.325 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:26:39 +0000 (0:00:00.023) 0:00:46.348 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.210) 0:00:46.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.064) 0:00:46.623 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021961", "end": "2024-01-11 02:26:40.440079", "rc": 1, "start": "2024-01-11 02:26:40.418118" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.233) 0:00:46.856 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.030) 0:00:46.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.037) 0:00:46.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.061) 0:00:46.986 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.044) 0:00:47.031 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.061) 0:00:47.092 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.070) 0:00:47.163 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.049) 0:00:47.212 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.040) 0:00:47.253 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:26:40 +0000 (0:00:00.052) 0:00:47.305 ****** 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.075951", "end": "2024-01-11 02:26:41.173494", "rc": 1, "start": "2024-01-11 02:26:41.097543" } STDOUT: Connection 'statebr' (196f8a34-2b78-431a-8532-1737c875fa23) 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_typef0th468y/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.289) 0:00:47.594 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.117) 0:00:47.712 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.106) 0:00:47.818 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.089) 0:00:47.908 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.055) 0:00:47.964 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.055) 0:00:48.019 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003389", "end": "2024-01-11 02:26:41.815388", "rc": 0, "start": "2024-01-11 02:26:41.811999" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.214) 0:00:48.233 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.050) 0:00:48.283 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:26:41 +0000 (0:00:00.056) 0:00:48.340 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.091) 0:00:48.431 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.126) 0:00:48.558 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.077) 0:00:48.635 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.044) 0:00:48.680 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.028) 0:00:48.709 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:42 +0000 (0:00:00.065) 0:00:48.775 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:43 +0000 (0:00:01.570) 0:00:50.345 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:45 +0000 (0:00:01.373) 0:00:51.719 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.028) 0:00:51.747 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.052) 0:00:51.800 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.037) 0:00:51.838 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.060) 0:00:51.898 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.029) 0:00:51.928 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.050) 0:00:51.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.026) 0:00:52.004 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.341) 0:00:52.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:45 +0000 (0:00:00.025) 0:00:52.372 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.021) 0:00:52.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.025) 0:00:52.419 ****** 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, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.457) 0:00:52.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.046) 0:00:52.923 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.089) 0:00:53.013 ****** 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, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.035) 0:00:53.049 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.046) 0:00:53.095 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.239) 0:00:53.334 ****** 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, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:26:46 +0000 (0:00:00.033) 0:00:53.368 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.041) 0:00:53.409 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.076) 0:00:53.486 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.034) 0:00:53.520 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.045) 0:00:53.566 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:47 +0000 (0:00:00.048) 0:00:53.614 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:48 +0000 (0:00:01.619) 0:00:55.234 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:50 +0000 (0:00:01.314) 0:00:56.548 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.029) 0:00:56.578 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.023) 0:00:56.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.023) 0:00:56.625 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.046) 0:00:56.671 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.028) 0:00:56.700 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.023) 0:00:56.723 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.025) 0:00:56.749 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.398) 0:00:57.148 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.027) 0:00:57.175 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.023) 0:00:57.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:50 +0000 (0:00:00.043) 0:00:57.242 ****** 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, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.352) 0:00:57.595 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.052) 0:00:57.648 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.053) 0:00:57.701 ****** 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, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 801399dd-8a8e-4f4b-8b06-4b7686fc81ae skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.040) 0:00:57.742 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.043) 0:00:57.785 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.199) 0:00:57.984 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.038) 0:00:58.023 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.045) 0:00:58.068 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.046) 0:00:58.114 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.101) 0:00:58.215 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:51 +0000 (0:00:00.029) 0:00:58.245 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:53 +0000 (0:00:01.602) 0:00:59.847 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:54 +0000 (0:00:01.319) 0:01:01.166 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.026) 0:01:01.192 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.073) 0:01:01.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.039) 0:01:01.305 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:54 +0000 (0:00:00.057) 0:01:01.363 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.034) 0:01:01.398 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.055) 0:01:01.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.036) 0:01:01.491 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.358) 0:01:01.850 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.026) 0:01:01.876 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.023) 0:01:01.899 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.023) 0:01:01.923 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.362) 0:01:02.286 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.023) 0:01:02.309 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.022) 0:01:02.332 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:26:55 +0000 (0:00:00.023) 0:01:02.356 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.047) 0:01:02.403 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.220) 0:01:02.624 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.043) 0:01:02.667 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.052) 0:01:02.720 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.048) 0:01:02.769 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.037) 0:01:02.806 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.050) 0:01:02.856 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:26:56 +0000 (0:00:00.036) 0:01:02.893 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:26:58 +0000 (0:00:01.653) 0:01:04.546 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:26:59 +0000 (0:00:01.345) 0:01:05.892 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.027) 0:01:05.919 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.023) 0:01:05.942 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.023) 0:01:05.966 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.049) 0:01:06.016 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.023) 0:01:06.039 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.024) 0:01:06.063 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:26:59 +0000 (0:00:00.027) 0:01:06.091 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.380) 0:01:06.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.097) 0:01:06.569 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.146) 0:01:06.715 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.029) 0:01:06.745 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.481) 0:01:07.227 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.024) 0:01:07.251 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.024) 0:01:07.275 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.023) 0:01:07.299 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:27:00 +0000 (0:00:00.024) 0:01:07.324 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.197) 0:01:07.522 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.043) 0:01:07.565 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.038) 0:01:07.603 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.023) 0:01:07.627 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.251) 0:01:07.879 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.023) 0:01:07.902 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020990", "end": "2024-01-11 02:27:01.714764", "rc": 1, "start": "2024-01-11 02:27:01.693774" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.223) 0:01:08.126 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.024) 0:01:08.150 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.024) 0:01:08.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.025) 0:01:08.201 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.027) 0:01:08.228 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.029) 0:01:08.258 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.030) 0:01:08.288 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:27:01 +0000 (0:00:00.056) 0:01:08.344 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.042) 0:01:08.387 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.205) 0:01:08.593 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.027) 0:01:08.621 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.024) 0:01:08.645 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.099) 0:01:08.744 ****** 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.041353", "end": "2024-01-11 02:27:02.571232", "rc": 1, "start": "2024-01-11 02:27:02.529879" } 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_typef0th468y/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.247) 0:01:08.992 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.052) 0:01:09.045 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.024) 0:01:09.069 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.052) 0:01:09.122 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.038) 0:01:09.160 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:27:02 +0000 (0:00:00.043) 0:01:09.203 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003226", "end": "2024-01-11 02:27:02.995223", "rc": 0, "start": "2024-01-11 02:27:02.991997" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.203) 0:01:09.406 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.034) 0:01:09.441 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.027) 0:01:09.468 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.121) 0:01:09.590 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.053) 0:01:09.644 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.058) 0:01:09.702 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.038) 0:01:09.740 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.023) 0:01:09.764 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:27:03 +0000 (0:00:00.033) 0:01:09.798 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:27:05 +0000 (0:00:01.604) 0:01:11.402 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:27:06 +0000 (0:00:01.360) 0:01:12.763 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.026) 0:01:12.789 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.028) 0:01:12.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.026) 0:01:12.844 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.059) 0:01:12.904 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.030) 0:01:12.935 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.023) 0:01:12.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.026) 0:01:12.985 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.345) 0:01:13.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:27:06 +0000 (0:00:00.029) 0:01:13.359 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.072) 0:01:13.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.051) 0:01:13.484 ****** 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, cf3baba1-8012-43c3-93dd-de272ac509b4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.424) 0:01:13.908 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.031) 0:01:13.939 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cf3baba1-8012-43c3-93dd-de272ac509b4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.057) 0:01:13.997 ****** 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, cf3baba1-8012-43c3-93dd-de272ac509b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cf3baba1-8012-43c3-93dd-de272ac509b4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.048) 0:01:14.045 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.060) 0:01:14.106 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.216) 0:01:14.323 ****** 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, cf3baba1-8012-43c3-93dd-de272ac509b4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cf3baba1-8012-43c3-93dd-de272ac509b4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:27:07 +0000 (0:00:00.026) 0:01:14.349 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:27:08 +0000 (0:00:00.037) 0:01:14.387 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:27:08 +0000 (0:00:00.047) 0:01:14.435 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:27:08 +0000 (0:00:00.032) 0:01:14.467 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:27:08 +0000 (0:00:00.024) 0:01:14.491 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:27:08 +0000 (0:00:00.057) 0:01:14.549 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:27:09 +0000 (0:00:01.602) 0:01:16.151 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:27:11 +0000 (0:00:01.340) 0:01:17.491 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.122) 0:01:17.614 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.058) 0:01:17.672 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.039) 0:01:17.712 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.112) 0:01:17.824 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.025) 0:01:17.849 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.050) 0:01:17.900 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.033) 0:01:17.933 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.377) 0:01:18.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.032) 0:01:18.343 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:27:11 +0000 (0:00:00.024) 0:01:18.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.046) 0:01:18.414 ****** 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, cf3baba1-8012-43c3-93dd-de272ac509b4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.366) 0:01:18.780 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.037) 0:01:18.817 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cf3baba1-8012-43c3-93dd-de272ac509b4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.046) 0:01:18.864 ****** 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, cf3baba1-8012-43c3-93dd-de272ac509b4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cf3baba1-8012-43c3-93dd-de272ac509b4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.024) 0:01:18.888 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.030) 0:01:18.919 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.256) 0:01:19.175 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:27:12 +0000 (0:00:00.185) 0:01:19.361 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:27:13 +0000 (0:00:00.049) 0:01:19.410 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:27:13 +0000 (0:00:00.033) 0:01:19.443 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:27:13 +0000 (0:00:00.026) 0:01:19.470 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:27:13 +0000 (0:00:00.026) 0:01:19.497 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:27:14 +0000 (0:00:01.626) 0:01:21.124 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:27:16 +0000 (0:00:01.334) 0:01:22.459 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.029) 0:01:22.488 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.023) 0:01:22.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.051) 0:01:22.564 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.062) 0:01:22.626 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.054) 0:01:22.681 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.037) 0:01:22.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.041) 0:01:22.760 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.382) 0:01:23.142 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.034) 0:01:23.177 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.042) 0:01:23.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:27:16 +0000 (0:00:00.028) 0:01:23.247 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.540) 0:01:23.788 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.024) 0:01:23.813 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.031) 0:01:23.844 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.024) 0:01:23.869 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.036) 0:01:23.906 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.195) 0:01:24.102 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.042) 0:01:24.144 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.037) 0:01:24.182 ****** included: /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.042) 0:01:24.224 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.043) 0:01:24.267 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.028) 0:01:24.296 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:27:17 +0000 (0:00:00.037) 0:01:24.333 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:27:19 +0000 (0:00:01.689) 0:01:26.023 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:27:21 +0000 (0:00:01.361) 0:01:27.385 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.024) 0:01:27.409 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.026) 0:01:27.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.039) 0:01:27.475 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.052) 0:01:27.527 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.048) 0:01:27.576 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.032) 0:01:27.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.040) 0:01:27.649 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.404) 0:01:28.054 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.051) 0:01:28.105 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.033) 0:01:28.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:27:21 +0000 (0:00:00.032) 0:01:28.171 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.401) 0:01:28.573 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.022) 0:01:28.596 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.024) 0:01:28.620 ****** 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_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.024) 0:01:28.644 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.024) 0:01:28.669 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.200) 0:01:28.869 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.103) 0:01:28.972 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.044) 0:01:29.017 ****** 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.024) 0:01:29.042 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.207) 0:01:29.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:27:22 +0000 (0:00:00.038) 0:01:29.288 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020952", "end": "2024-01-11 02:27:23.127620", "rc": 1, "start": "2024-01-11 02:27:23.106668" } 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_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:27:23 +0000 (0:00:00.250) 0:01:29.539 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:27:23 +0000 (0:00:00.026) 0:01:29.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:27:23 +0000 (0:00:00.022) 0:01:29.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:27:23 +0000 (0:00:00.021) 0:01:29.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:27:23 +0000 (0:00:00.023) 0:01:29.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:27:23 +0000 (0:00:00.022) 0:01:29.657 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:27:23 +0000 (0:00:00.024) 0:01:29.681 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.938074", "end": "2024-01-11 02:27:24.402998", "rc": 0, "start": "2024-01-11 02:27:23.464924" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:27:24 +0000 (0:00:01.136) 0:01:30.818 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:27:24 +0000 (0:00:00.027) 0:01:30.845 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:27:24 +0000 (0:00:00.039) 0:01:30.885 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:27:24 +0000 (0:00:00.102) 0:01:30.987 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:27:24 +0000 (0:00:00.077) 0:01:31.065 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:27:24 +0000 (0:00:00.270) 0:01:31.336 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:27:24 +0000 (0:00:00.041) 0:01:31.377 ****** 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_typef0th468y/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:27:25 +0000 (0:00:00.038) 0:01:31.415 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:27:25 +0000 (0:00:00.064) 0:01:31.479 ****** 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.041134", "end": "2024-01-11 02:27:25.309509", "rc": 1, "start": "2024-01-11 02:27:25.268375" } 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 02:27:25 +0000 (0:00:00.248) 0:01:31.727 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.25s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.92s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typef0th468y/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_typef0th468y/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_typef0th468y/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_typef0th468y/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_typef0th468y/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_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.58s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typef0th468y/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_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typef0th468y/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_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.51s /WORKDIR/git-route_typef0th468y/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. ---^---^---^---^---^---