# 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_typeoe3vi9g7/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 02:27:43 +0000 (0:00:00.017) 0:00:00.017 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 02:27:44 +0000 (0:00:00.594) 0:00:00.612 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:27:44 +0000 (0:00:00.022) 0:00:00.634 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:27:44 +0000 (0:00:00.319) 0:00:00.954 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.246) 0:00:01.201 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.020) 0:00:01.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.017) 0:00:01.239 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.031) 0:00:01.270 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.009) 0:00:01.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.009) 0:00:01.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.009) 0:00:01.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.009) 0:00:01.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.009) 0:00:01.317 ******* 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_typeoe3vi9g7/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.009) 0:00:01.327 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.480) 0:00:01.807 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.010) 0:00:01.818 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.017) 0:00:01.836 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.011) 0:00:01.847 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.033) 0:00:01.881 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.014) 0:00:01.895 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.019) 0:00:01.914 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003108", "end": "2024-01-09 02:27:45.955133", "rc": 0, "start": "2024-01-09 02:27:45.952025" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.235) 0:00:02.150 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.011) 0:00:02.162 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:27:45 +0000 (0:00:00.010) 0:00:02.173 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.021) 0:00:02.194 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007518", "end": "2024-01-09 02:27:46.205451", "rc": 1, "start": "2024-01-09 02:27:46.197933" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.208) 0:00:02.403 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.014) 0:00:02.417 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.184) 0:00:02.602 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.012) 0:00:02.614 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.019) 0:00:02.633 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.032) 0:00:02.666 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.070) 0:00:02.736 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.013) 0:00:02.750 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.011) 0:00:02.762 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:27:46 +0000 (0:00:00.013) 0:00:02.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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:27:48 +0000 (0:00:01.506) 0:00:04.281 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:27:49 +0000 (0:00:01.088) 0:00:05.370 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.023) 0:00:05.394 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.022) 0:00:05.416 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.040) 0:00:05.456 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.042) 0:00:05.499 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.021) 0:00:05.520 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.024) 0:00:05.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.024) 0:00:05.569 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.482) 0:00:06.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.025) 0:00:06.077 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.019) 0:00:06.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:27:49 +0000 (0:00:00.020) 0:00:06.117 ******* 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, da653983-7b18-4112-91c3-8ac5e105e016 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.502) 0:00:06.620 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.037) 0:00:06.658 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da653983-7b18-4112-91c3-8ac5e105e016" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.063) 0:00:06.721 ******* 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, da653983-7b18-4112-91c3-8ac5e105e016\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da653983-7b18-4112-91c3-8ac5e105e016" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.025) 0:00:06.746 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.021) 0:00:06.768 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.242) 0:00:07.011 ******* 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, da653983-7b18-4112-91c3-8ac5e105e016\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, da653983-7b18-4112-91c3-8ac5e105e016" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.027) 0:00:07.038 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.043) 0:00:07.082 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.039) 0:00:07.121 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:27:50 +0000 (0:00:00.034) 0:00:07.156 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.251) 0:00:07.407 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.022) 0:00:07.430 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022349", "end": "2024-01-09 02:27:51.456044", "rc": 0, "start": "2024-01-09 02:27:51.433695" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.242) 0:00:07.672 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.036) 0:00:07.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.022) 0:00:07.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.026) 0:00:07.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.054) 0:00:07.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.036) 0:00:07.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.049) 0:00:07.899 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.033) 0:00:07.932 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.047) 0:00:07.979 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.058) 0:00:08.038 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:27:51 +0000 (0:00:00.052) 0:00:08.090 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767270.3433084, "block_size": 4096, "blocks": 0, "ctime": 1704767270.3433084, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31861, "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": 1704767270.3433084, "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_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.222) 0:00:08.312 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.040) 0:00:08.353 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.024) 0:00:08.377 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.058) 0:00:08.436 ******* 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.065481", "end": "2024-01-09 02:27:52.504551", "rc": 1, "start": "2024-01-09 02:27:52.439070" } STDOUT: Connection 'statebr' (da653983-7b18-4112-91c3-8ac5e105e016) 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_typeoe3vi9g7/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.278) 0:00:08.715 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.059) 0:00:08.774 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.022) 0:00:08.796 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.056) 0:00:08.853 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.036) 0:00:08.889 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.040) 0:00:08.930 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003341", "end": "2024-01-09 02:27:52.941398", "rc": 0, "start": "2024-01-09 02:27:52.938057" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.218) 0:00:09.149 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:27:52 +0000 (0:00:00.022) 0:00:09.172 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.021) 0:00:09.193 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.040) 0:00:09.233 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006098", "end": "2024-01-09 02:27:53.223228", "rc": 1, "start": "2024-01-09 02:27:53.217130" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.197) 0:00:09.430 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.042) 0:00:09.473 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.215) 0:00:09.688 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.031) 0:00:09.720 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.053) 0:00:09.773 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.054) 0:00:09.827 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.059) 0:00:09.887 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.029) 0:00:09.916 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.024) 0:00:09.940 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:27:53 +0000 (0:00:00.028) 0:00:09.969 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:27:55 +0000 (0:00:01.452) 0:00:11.421 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.931) 0:00:12.352 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.023) 0:00:12.375 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.021) 0:00:12.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.021) 0:00:12.418 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.044) 0:00:12.462 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.026) 0:00:12.489 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.026) 0:00:12.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.028) 0:00:12.544 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.385) 0:00:12.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.050) 0:00:12.980 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.022) 0:00:13.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:27:56 +0000 (0:00:00.021) 0:00:13.024 ******* 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, fcb8819e-4d8f-4c38-b3fc-7b5e0a660bf8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.346) 0:00:13.370 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.022) 0:00:13.393 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcb8819e-4d8f-4c38-b3fc-7b5e0a660bf8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.027) 0:00:13.421 ******* 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, fcb8819e-4d8f-4c38-b3fc-7b5e0a660bf8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcb8819e-4d8f-4c38-b3fc-7b5e0a660bf8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.037) 0:00:13.458 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.023) 0:00:13.482 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.209) 0:00:13.691 ******* 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, fcb8819e-4d8f-4c38-b3fc-7b5e0a660bf8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcb8819e-4d8f-4c38-b3fc-7b5e0a660bf8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.024) 0:00:13.715 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.046) 0:00:13.762 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.035) 0:00:13.798 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.191) 0:00:13.989 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.022) 0:00:14.011 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.067) 0:00:14.079 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:27:57 +0000 (0:00:00.029) 0:00:14.108 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.194) 0:00:14.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.029) 0:00:14.333 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020869", "end": "2024-01-09 02:27:58.337362", "rc": 0, "start": "2024-01-09 02:27:58.316493" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.227) 0:00:14.560 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.038) 0:00:14.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.024) 0:00:14.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.023) 0:00:14.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.028) 0:00:14.674 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.022) 0:00:14.697 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.024) 0:00:14.721 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.023) 0:00:14.745 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.024) 0:00:14.769 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.022) 0:00:14.791 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.021) 0:00:14.813 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.068) 0:00:14.882 ******* 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.042129", "end": "2024-01-09 02:27:58.921846", "rc": 1, "start": "2024-01-09 02:27:58.879717" } STDOUT: Connection 'statebr' (fcb8819e-4d8f-4c38-b3fc-7b5e0a660bf8) 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_typeoe3vi9g7/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.246) 0:00:15.129 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:27:58 +0000 (0:00:00.036) 0:00:15.165 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.024) 0:00:15.190 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.047) 0:00:15.237 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.060) 0:00:15.297 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.037) 0:00:15.335 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003266", "end": "2024-01-09 02:27:59.329538", "rc": 0, "start": "2024-01-09 02:27:59.326272" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.202) 0:00:15.538 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.024) 0:00:15.562 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.028) 0:00:15.590 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.046) 0:00:15.636 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.079) 0:00:15.716 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.051) 0:00:15.768 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.027) 0:00:15.795 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.030) 0:00:15.825 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:27:59 +0000 (0:00:00.022) 0:00:15.848 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:01 +0000 (0:00:01.415) 0:00:17.264 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.941) 0:00:18.205 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.046) 0:00:18.251 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.033) 0:00:18.285 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.036) 0:00:18.321 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.056) 0:00:18.378 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.027) 0:00:18.406 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.038) 0:00:18.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.031) 0:00:18.476 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.387) 0:00:18.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.040) 0:00:18.904 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.024) 0:00:18.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:02 +0000 (0:00:00.025) 0:00:18.954 ******* 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, 7c0ffed4-d769-4b2d-ad93-88b4150a7953 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.427) 0:00:19.382 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.069) 0:00:19.451 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c0ffed4-d769-4b2d-ad93-88b4150a7953" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.025) 0:00:19.477 ******* 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, 7c0ffed4-d769-4b2d-ad93-88b4150a7953\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c0ffed4-d769-4b2d-ad93-88b4150a7953" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.039) 0:00:19.517 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.024) 0:00:19.541 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.243) 0:00:19.784 ******* 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, 7c0ffed4-d769-4b2d-ad93-88b4150a7953\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7c0ffed4-d769-4b2d-ad93-88b4150a7953" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.039) 0:00:19.823 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.070) 0:00:19.894 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.129) 0:00:20.023 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.082) 0:00:20.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:03 +0000 (0:00:00.036) 0:00:20.142 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:04 +0000 (0:00:00.053) 0:00:20.195 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:04 +0000 (0:00:00.040) 0:00:20.235 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:05 +0000 (0:00:01.418) 0:00:21.654 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.916) 0:00:22.570 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.039) 0:00:22.609 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.032) 0:00:22.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.026) 0:00:22.668 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.044) 0:00:22.713 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.028) 0:00:22.741 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.042) 0:00:22.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.025) 0:00:22.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:06 +0000 (0:00:00.357) 0:00:23.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.031) 0:00:23.198 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.036) 0:00:23.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.023) 0:00:23.258 ******* 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, 7c0ffed4-d769-4b2d-ad93-88b4150a7953 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.341) 0:00:23.600 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.020) 0:00:23.621 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7c0ffed4-d769-4b2d-ad93-88b4150a7953 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.022) 0:00:23.643 ******* 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, 7c0ffed4-d769-4b2d-ad93-88b4150a7953 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7c0ffed4-d769-4b2d-ad93-88b4150a7953 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.023) 0:00:23.666 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.020) 0:00:23.686 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.197) 0:00:23.884 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.051) 0:00:23.936 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:28:07 +0000 (0:00:00.061) 0:00:23.997 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767283.1170688, "block_size": 4096, "blocks": 0, "ctime": 1704767283.1170688, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31992, "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": 1704767283.1170688, "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_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.192) 0:00:24.190 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.023) 0:00:24.214 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.037) 0:00:24.251 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.022) 0:00:24.274 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.189) 0:00:24.464 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.023) 0:00:24.488 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021236", "end": "2024-01-09 02:28:08.493926", "rc": 0, "start": "2024-01-09 02:28:08.472690" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.214) 0:00:24.702 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.024) 0:00:24.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.023) 0:00:24.750 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.023) 0:00:24.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.033) 0:00:24.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.033) 0:00:24.841 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.039) 0:00:24.880 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.072) 0:00:24.953 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.023) 0:00:24.977 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.023) 0:00:25.000 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.024) 0:00:25.024 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:28:08 +0000 (0:00:00.041) 0:00:25.066 ******* 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.068650", "end": "2024-01-09 02:28:09.122977", "rc": 1, "start": "2024-01-09 02:28:09.054327" } STDOUT: Connection 'statebr' (7c0ffed4-d769-4b2d-ad93-88b4150a7953) 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_typeoe3vi9g7/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.264) 0:00:25.330 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.040) 0:00:25.371 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.024) 0:00:25.395 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.043) 0:00:25.439 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.037) 0:00:25.477 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.049) 0:00:25.526 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003204", "end": "2024-01-09 02:28:09.514948", "rc": 0, "start": "2024-01-09 02:28:09.511744" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.196) 0:00:25.723 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.032) 0:00:25.755 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.046) 0:00:25.802 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.041) 0:00:25.843 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.036) 0:00:25.880 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.039) 0:00:25.919 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.025) 0:00:25.945 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.020) 0:00:25.965 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:09 +0000 (0:00:00.020) 0:00:25.986 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:11 +0000 (0:00:01.426) 0:00:27.412 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.972) 0:00:28.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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.029) 0:00:28.414 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.026) 0:00:28.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.027) 0:00:28.468 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.047) 0:00:28.516 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.023) 0:00:28.540 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.029) 0:00:28.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.027) 0:00:28.596 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.356) 0:00:28.953 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.025) 0:00:28.978 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.021) 0:00:28.999 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:12 +0000 (0:00:00.020) 0:00:29.020 ******* 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, 619e0129-a468-4dc5-ad87-cda7afd17e60 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.412) 0:00:29.433 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.022) 0:00:29.455 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 619e0129-a468-4dc5-ad87-cda7afd17e60" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.022) 0:00:29.478 ******* 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, 619e0129-a468-4dc5-ad87-cda7afd17e60\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 619e0129-a468-4dc5-ad87-cda7afd17e60" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.022) 0:00:29.500 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.020) 0:00:29.521 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.188) 0:00:29.709 ******* 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, 619e0129-a468-4dc5-ad87-cda7afd17e60\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 619e0129-a468-4dc5-ad87-cda7afd17e60" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.023) 0:00:29.732 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.035) 0:00:29.768 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.039) 0:00:29.807 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.025) 0:00:29.832 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.020) 0:00:29.853 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:13 +0000 (0:00:00.021) 0:00:29.874 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:15 +0000 (0:00:01.387) 0:00:31.262 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:15 +0000 (0:00:00.912) 0:00:32.174 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.022) 0:00:32.196 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.021) 0:00:32.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.022) 0:00:32.241 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.043) 0:00:32.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.041) 0:00:32.325 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.037) 0:00:32.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.027) 0:00:32.391 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.398) 0:00:32.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.033) 0:00:32.822 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.033) 0:00:32.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:16 +0000 (0:00:00.023) 0:00:32.879 ******* 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, 619e0129-a468-4dc5-ad87-cda7afd17e60 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.353) 0:00:33.232 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.042) 0:00:33.275 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 619e0129-a468-4dc5-ad87-cda7afd17e60 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.034) 0:00:33.309 ******* 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, 619e0129-a468-4dc5-ad87-cda7afd17e60 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 619e0129-a468-4dc5-ad87-cda7afd17e60 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.025) 0:00:33.334 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.021) 0:00:33.356 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.211) 0:00:33.568 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.049) 0:00:33.617 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.077) 0:00:33.695 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.085) 0:00:33.780 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.042) 0:00:33.823 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.024) 0:00:33.847 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:17 +0000 (0:00:00.024) 0:00:33.872 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:19 +0000 (0:00:01.424) 0:00:35.296 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.923) 0:00:36.220 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.022) 0:00:36.243 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.052) 0:00:36.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.022) 0:00:36.318 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.054) 0:00:36.373 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.048) 0:00:36.422 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.029) 0:00:36.451 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.027) 0:00:36.479 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.364) 0:00:36.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.028) 0:00:36.873 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.023) 0:00:36.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:20 +0000 (0:00:00.021) 0:00:36.918 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.399) 0:00:37.317 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.022) 0:00:37.339 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.023) 0:00:37.362 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.023) 0:00:37.386 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.023) 0:00:37.410 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.198) 0:00:37.608 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.086) 0:00:37.694 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.042) 0:00:37.736 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767293.1756752, "block_size": 4096, "blocks": 0, "ctime": 1704767293.1756752, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32123, "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": 1704767293.1756752, "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_typeoe3vi9g7/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.232) 0:00:37.969 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.030) 0:00:38.000 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.061) 0:00:38.062 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:28:21 +0000 (0:00:00.039) 0:00:38.101 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.214) 0:00:38.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.036) 0:00:38.353 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021910", "end": "2024-01-09 02:28:22.378151", "rc": 1, "start": "2024-01-09 02:28:22.356241" } 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.234) 0:00:38.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.024) 0:00:38.612 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.038) 0:00:38.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.023) 0:00:38.674 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.049) 0:00:38.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.021) 0:00:38.745 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.023) 0:00:38.768 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.019) 0:00:38.788 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.021) 0:00:38.810 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.039) 0:00:38.850 ******* 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.065076", "end": "2024-01-09 02:28:22.901912", "rc": 1, "start": "2024-01-09 02:28:22.836836" } STDOUT: Connection 'statebr' (619e0129-a468-4dc5-ad87-cda7afd17e60) 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_typeoe3vi9g7/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.259) 0:00:39.110 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.036) 0:00:39.146 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:28:22 +0000 (0:00:00.021) 0:00:39.168 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.054) 0:00:39.222 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.035) 0:00:39.258 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.034) 0:00:39.292 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003441", "end": "2024-01-09 02:28:23.279335", "rc": 0, "start": "2024-01-09 02:28:23.275894" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.235) 0:00:39.528 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.024) 0:00:39.553 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.026) 0:00:39.580 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.044) 0:00:39.625 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.037) 0:00:39.662 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.042) 0:00:39.704 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.026) 0:00:39.731 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.021) 0:00:39.752 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:23 +0000 (0:00:00.025) 0:00:39.778 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:25 +0000 (0:00:01.417) 0:00:41.196 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:25 +0000 (0:00:00.913) 0:00:42.110 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:25 +0000 (0:00:00.039) 0:00:42.149 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:25 +0000 (0:00:00.023) 0:00:42.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.022) 0:00:42.195 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.044) 0:00:42.240 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.021) 0:00:42.261 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.022) 0:00:42.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.024) 0:00:42.308 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.347) 0:00:42.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.027) 0:00:42.682 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.046) 0:00:42.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:26 +0000 (0:00:00.041) 0:00:42.770 ******* 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, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.410) 0:00:43.181 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.027) 0:00:43.208 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.027) 0:00:43.236 ******* 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, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.026) 0:00:43.262 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.025) 0:00:43.288 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.192) 0:00:43.481 ******* 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, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.023) 0:00:43.504 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.037) 0:00:43.541 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.047) 0:00:43.589 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.029) 0:00:43.618 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.034) 0:00:43.653 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:27 +0000 (0:00:00.080) 0:00:43.734 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:29 +0000 (0:00:01.485) 0:00:45.219 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:29 +0000 (0:00:00.912) 0:00:46.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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:29 +0000 (0:00:00.023) 0:00:46.155 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:29 +0000 (0:00:00.022) 0:00:46.178 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.033) 0:00:46.211 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.048) 0:00:46.260 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.052) 0:00:46.312 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.022) 0:00:46.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.026) 0:00:46.361 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.362) 0:00:46.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.028) 0:00:46.752 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.026) 0:00:46.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:30 +0000 (0:00:00.027) 0:00:46.806 ******* 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, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.387) 0:00:47.194 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.030) 0:00:47.224 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.026) 0:00:47.250 ******* 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, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2f779bdc-1787-4d5c-b79d-8029a42cbcbd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.032) 0:00:47.283 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.035) 0:00:47.319 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.186) 0:00:47.505 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.065) 0:00:47.570 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.086) 0:00:47.657 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.053) 0:00:47.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.043) 0:00:47.754 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:31 +0000 (0:00:00.031) 0:00:47.786 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:33 +0000 (0:00:01.396) 0:00:49.182 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:33 +0000 (0:00:00.933) 0:00:50.116 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:33 +0000 (0:00:00.022) 0:00:50.138 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.079) 0:00:50.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.032) 0:00:50.250 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.049) 0:00:50.300 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.024) 0:00:50.324 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.032) 0:00:50.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.034) 0:00:50.392 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.346) 0:00:50.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.025) 0:00:50.764 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.021) 0:00:50.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:34 +0000 (0:00:00.028) 0:00:50.814 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.387) 0:00:51.202 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.025) 0:00:51.228 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.027) 0:00:51.256 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.031) 0:00:51.288 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.037) 0:00:51.325 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.217) 0:00:51.543 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.039) 0:00:51.583 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.039) 0:00:51.623 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.039) 0:00:51.663 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.027) 0:00:51.691 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.022) 0:00:51.714 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:35 +0000 (0:00:00.023) 0:00:51.737 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:36 +0000 (0:00:01.410) 0:00:53.147 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:38 +0000 (0:00:01.076) 0:00:54.224 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.052) 0:00:54.276 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.029) 0:00:54.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.077) 0:00:54.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.135) 0:00:54.519 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.116) 0:00:54.635 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.037) 0:00:54.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.038) 0:00:54.711 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.379) 0:00:55.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.039) 0:00:55.129 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.020) 0:00:55.150 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:38 +0000 (0:00:00.024) 0:00:55.174 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.506) 0:00:55.681 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.020) 0:00:55.702 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.022) 0:00:55.724 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.021) 0:00:55.745 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.021) 0:00:55.767 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.202) 0:00:55.969 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.056) 0:00:56.025 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.038) 0:00:56.064 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:28:39 +0000 (0:00:00.024) 0:00:56.088 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.200) 0:00:56.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.023) 0:00:56.312 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020254", "end": "2024-01-09 02:28:40.318452", "rc": 1, "start": "2024-01-09 02:28:40.298198" } 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.215) 0:00:56.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.023) 0:00:56.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.051) 0:00:56.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.023) 0:00:56.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.042) 0:00:56.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.027) 0:00:56.695 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.023) 0:00:56.718 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.046) 0:00:56.765 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.037) 0:00:56.802 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.192) 0:00:56.995 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.032) 0:00:57.028 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.025) 0:00:57.053 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:28:40 +0000 (0:00:00.039) 0:00:57.093 ******* 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.037940", "end": "2024-01-09 02:28:41.115433", "rc": 1, "start": "2024-01-09 02:28:41.077493" } 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_typeoe3vi9g7/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.254) 0:00:57.347 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.108) 0:00:57.456 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.030) 0:00:57.487 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.062) 0:00:57.549 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.055) 0:00:57.604 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.063) 0:00:57.668 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003299", "end": "2024-01-09 02:28:41.684245", "rc": 0, "start": "2024-01-09 02:28:41.680946" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.233) 0:00:57.902 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.033) 0:00:57.936 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.038) 0:00:57.974 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.049) 0:00:58.024 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.046) 0:00:58.070 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.057) 0:00:58.128 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:41 +0000 (0:00:00.028) 0:00:58.156 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:42 +0000 (0:00:00.051) 0:00:58.207 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:42 +0000 (0:00:00.027) 0:00:58.235 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:43 +0000 (0:00:01.432) 0:00:59.668 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.937) 0:01:00.605 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.029) 0:01:00.634 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.061) 0:01:00.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.064) 0:01:00.760 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.101) 0:01:00.861 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.039) 0:01:00.900 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.025) 0:01:00.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:44 +0000 (0:00:00.028) 0:01:00.954 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.377) 0:01:01.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.029) 0:01:01.362 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.034) 0:01:01.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.036) 0:01:01.434 ******* 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, 84a8eac7-98a4-42d7-ba70-83aa808b5818 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.394) 0:01:01.828 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.035) 0:01:01.863 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84a8eac7-98a4-42d7-ba70-83aa808b5818" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.024) 0:01:01.888 ******* 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, 84a8eac7-98a4-42d7-ba70-83aa808b5818\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84a8eac7-98a4-42d7-ba70-83aa808b5818" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.036) 0:01:01.924 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.047) 0:01:01.972 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:28:45 +0000 (0:00:00.187) 0:01:02.159 ******* 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, 84a8eac7-98a4-42d7-ba70-83aa808b5818\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 84a8eac7-98a4-42d7-ba70-83aa808b5818" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:28:46 +0000 (0:00:00.062) 0:01:02.221 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:46 +0000 (0:00:00.046) 0:01:02.268 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:46 +0000 (0:00:00.048) 0:01:02.316 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:46 +0000 (0:00:00.051) 0:01:02.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:46 +0000 (0:00:00.029) 0:01:02.397 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:46 +0000 (0:00:00.022) 0:01:02.420 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:47 +0000 (0:00:01.435) 0:01:03.855 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:48 +0000 (0:00:01.021) 0:01:04.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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:48 +0000 (0:00:00.049) 0:01:04.926 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:48 +0000 (0:00:00.084) 0:01:05.010 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:48 +0000 (0:00:00.056) 0:01:05.066 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:48 +0000 (0:00:00.076) 0:01:05.142 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:48 +0000 (0:00:00.030) 0:01:05.173 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.022) 0:01:05.195 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.028) 0:01:05.223 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.351) 0:01:05.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.025) 0:01:05.600 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.023) 0:01:05.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.021) 0:01:05.646 ******* 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, 84a8eac7-98a4-42d7-ba70-83aa808b5818 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.342) 0:01:05.989 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.021) 0:01:06.011 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84a8eac7-98a4-42d7-ba70-83aa808b5818 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.030) 0:01:06.041 ******* 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, 84a8eac7-98a4-42d7-ba70-83aa808b5818 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 84a8eac7-98a4-42d7-ba70-83aa808b5818 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.052) 0:01:06.093 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:49 +0000 (0:00:00.021) 0:01:06.115 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:28:50 +0000 (0:00:00.183) 0:01:06.299 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:50 +0000 (0:00:00.038) 0:01:06.337 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:50 +0000 (0:00:00.045) 0:01:06.383 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:50 +0000 (0:00:00.027) 0:01:06.410 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:50 +0000 (0:00:00.023) 0:01:06.433 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:50 +0000 (0:00:00.034) 0:01:06.467 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:51 +0000 (0:00:01.437) 0:01:07.905 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.943) 0:01:08.849 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.040) 0:01:08.889 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.027) 0:01:08.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.024) 0:01:08.941 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.053) 0:01:08.995 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.030) 0:01:09.026 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.028) 0:01:09.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:52 +0000 (0:00:00.032) 0:01:09.086 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.414) 0:01:09.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.028) 0:01:09.530 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.021) 0:01:09.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.048) 0:01:09.600 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.437) 0:01:10.037 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.027) 0:01:10.065 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.023) 0:01:10.088 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.022) 0:01:10.111 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:53 +0000 (0:00:00.020) 0:01:10.131 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:28:54 +0000 (0:00:00.186) 0:01:10.318 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:28:54 +0000 (0:00:00.041) 0:01:10.359 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:28:54 +0000 (0:00:00.035) 0:01:10.395 ******* included: /WORKDIR/git-route_typeoe3vi9g7/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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:28:54 +0000 (0:00:00.042) 0:01:10.437 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:28:54 +0000 (0:00:00.028) 0:01:10.466 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:28:54 +0000 (0:00:00.022) 0:01:10.488 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:28:54 +0000 (0:00:00.021) 0:01:10.510 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:28:55 +0000 (0:00:01.503) 0:01:12.013 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:28:56 +0000 (0:00:00.940) 0:01:12.954 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:28:56 +0000 (0:00:00.040) 0:01:12.994 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:28:56 +0000 (0:00:00.023) 0:01:13.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:28:56 +0000 (0:00:00.022) 0:01:13.040 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:28:56 +0000 (0:00:00.056) 0:01:13.097 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:28:56 +0000 (0:00:00.024) 0:01:13.122 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:28:57 +0000 (0:00:00.060) 0:01:13.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:28:57 +0000 (0:00:00.030) 0:01:13.213 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:28:57 +0000 (0:00:00.372) 0:01:13.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:28:57 +0000 (0:00:00.034) 0:01:13.619 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:28:57 +0000 (0:00:00.027) 0:01:13.647 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:28:57 +0000 (0:00:00.029) 0:01:13.677 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:28:57 +0000 (0:00:00.425) 0:01:14.102 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.108) 0:01:14.211 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.073) 0:01:14.284 ******* 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_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.086) 0:01:14.371 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.024) 0:01:14.395 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.218) 0:01:14.614 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.054) 0:01:14.669 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.040) 0:01:14.710 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.069) 0:01:14.779 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.193) 0:01:14.972 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:28:58 +0000 (0:00:00.024) 0:01:14.997 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020719", "end": "2024-01-09 02:28:59.011391", "rc": 1, "start": "2024-01-09 02:28:58.990672" } 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_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:28:59 +0000 (0:00:00.246) 0:01:15.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:28:59 +0000 (0:00:00.036) 0:01:15.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:28:59 +0000 (0:00:00.030) 0:01:15.310 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:28:59 +0000 (0:00:00.026) 0:01:15.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:28:59 +0000 (0:00:00.022) 0:01:15.359 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:28:59 +0000 (0:00:00.033) 0:01:15.392 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:28:59 +0000 (0:00:00.029) 0:01:15.421 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.553675", "end": "2024-01-09 02:28:59.958303", "rc": 0, "start": "2024-01-09 02:28:59.404628" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.760) 0:01:16.182 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.029) 0:01:16.212 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.062) 0:01:16.275 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.109) 0:01:16.385 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.051) 0:01:16.436 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.203) 0:01:16.639 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.030) 0:01:16.670 ******* 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_typeoe3vi9g7/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.049) 0:01:16.719 ******* included: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeoe3vi9g7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.069) 0:01:16.788 ******* 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.039234", "end": "2024-01-09 02:29:00.826476", "rc": 1, "start": "2024-01-09 02:29:00.787242" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 09 January 2024 02:29:00 +0000 (0:00:00.238) 0:01:17.027 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.15s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.95s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.47s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.43s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.37s /WORKDIR/git-route_typeoe3vi9g7/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---