# 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_typee339opqz/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 02:13:20 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typee339opqz/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 02:13:21 +0000 (0:00:00.957) 0:00:00.969 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:13:21 +0000 (0:00:00.024) 0:00:00.993 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:13:21 +0000 (0:00:00.550) 0:00:01.544 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:13:21 +0000 (0:00:00.274) 0:00:01.818 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.025) 0:00:01.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.027) 0:00:01.872 ******* included: /WORKDIR/git-route_typee339opqz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.040) 0:00:01.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.036) 0:00:01.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.029) 0:00:01.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.026) 0:00:02.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.010) 0:00:02.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typee339opqz/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.008) 0:00:02.024 ******* 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_typee339opqz/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:13:22 +0000 (0:00:00.009) 0:00:02.034 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:13:23 +0000 (0:00:00.828) 0:00:02.862 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:13:23 +0000 (0:00:00.011) 0:00:02.873 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:13:23 +0000 (0:00:00.017) 0:00:02.891 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:13:23 +0000 (0:00:00.011) 0:00:02.903 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:13:23 +0000 (0:00:00.034) 0:00:02.937 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:13:23 +0000 (0:00:00.026) 0:00:02.964 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:13:23 +0000 (0:00:00.016) 0:00:02.981 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005076", "end": "2024-01-09 02:13:24.419769", "rc": 0, "start": "2024-01-09 02:13:23.414693" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:13:24 +0000 (0:00:01.293) 0:00:04.275 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.012) 0:00:04.287 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.011) 0:00:04.299 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.020) 0:00:04.319 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008528", "end": "2024-01-09 02:13:24.682838", "rc": 1, "start": "2024-01-09 02:13:24.674310" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.228) 0:00:04.548 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.020) 0:00:04.568 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.207) 0:00:04.776 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.012) 0:00:04.788 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:13:24 +0000 (0:00:00.025) 0:00:04.814 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:13:25 +0000 (0:00:00.051) 0:00:04.865 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:13:25 +0000 (0:00:00.082) 0:00:04.947 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:13:25 +0000 (0:00:00.012) 0:00:04.960 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:13:25 +0000 (0:00:00.009) 0:00:04.970 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:13:25 +0000 (0:00:00.009) 0:00:04.979 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:13:27 +0000 (0:00:02.345) 0:00:07.325 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:13:28 +0000 (0:00:01.078) 0:00:08.404 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:13:28 +0000 (0:00:00.024) 0:00:08.429 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:13:28 +0000 (0:00:00.023) 0:00:08.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:13:28 +0000 (0:00:00.021) 0:00:08.474 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:13:28 +0000 (0:00:00.046) 0:00:08.520 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:13:28 +0000 (0:00:00.021) 0:00:08.542 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:13:28 +0000 (0:00:00.021) 0:00:08.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:13:28 +0000 (0:00:00.026) 0:00:08.590 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:13:29 +0000 (0:00:00.761) 0:00:09.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:13:29 +0000 (0:00:00.029) 0:00:09.382 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:13:29 +0000 (0:00:00.026) 0:00:09.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:13:29 +0000 (0:00:00.022) 0:00:09.430 ******* 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, d5eb04eb-4b93-4f0b-b087-05ddd9d514af TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.551) 0:00:09.982 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.023) 0:00:10.006 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5eb04eb-4b93-4f0b-b087-05ddd9d514af" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.024) 0:00:10.030 ******* 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, d5eb04eb-4b93-4f0b-b087-05ddd9d514af\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5eb04eb-4b93-4f0b-b087-05ddd9d514af" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.024) 0:00:10.055 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.024) 0:00:10.080 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.299) 0:00:10.379 ******* 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, d5eb04eb-4b93-4f0b-b087-05ddd9d514af\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5eb04eb-4b93-4f0b-b087-05ddd9d514af" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.024) 0:00:10.403 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.064) 0:00:10.468 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.041) 0:00:10.509 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.023) 0:00:10.533 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.217) 0:00:10.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:13:30 +0000 (0:00:00.023) 0:00:10.774 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025466", "end": "2024-01-09 02:13:31.155365", "rc": 0, "start": "2024-01-09 02:13:31.129899" } 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.244) 0:00:11.018 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.025) 0:00:11.044 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.025) 0:00:11.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.027) 0:00:11.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.035) 0:00:11.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.023) 0:00:11.156 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.025) 0:00:11.181 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.025) 0:00:11.207 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.053) 0:00:11.260 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.046) 0:00:11.306 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.039) 0:00:11.345 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704766410.0635114, "block_size": 4096, "blocks": 0, "ctime": 1704766410.0635114, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34252, "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": 1704766410.0635114, "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_typee339opqz/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.224) 0:00:11.570 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.024) 0:00:11.595 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.022) 0:00:11.618 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:13:31 +0000 (0:00:00.042) 0:00:11.660 ******* 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.064649", "end": "2024-01-09 02:13:32.078741", "rc": 1, "start": "2024-01-09 02:13:32.014092" } STDOUT: Connection 'statebr' (d5eb04eb-4b93-4f0b-b087-05ddd9d514af) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:13:32 +0000 (0:00:00.280) 0:00:11.940 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:13:32 +0000 (0:00:00.038) 0:00:11.978 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:13:32 +0000 (0:00:00.022) 0:00:12.001 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:13:32 +0000 (0:00:00.066) 0:00:12.067 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:13:32 +0000 (0:00:00.037) 0:00:12.105 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:13:32 +0000 (0:00:00.035) 0:00:12.141 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005326", "end": "2024-01-09 02:13:33.500821", "rc": 0, "start": "2024-01-09 02:13:32.495495" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:13:33 +0000 (0:00:01.223) 0:00:13.364 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:13:33 +0000 (0:00:00.024) 0:00:13.388 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:13:33 +0000 (0:00:00.027) 0:00:13.415 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:13:33 +0000 (0:00:00.045) 0:00:13.461 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007620", "end": "2024-01-09 02:13:33.827359", "rc": 1, "start": "2024-01-09 02:13:33.819739" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:13:33 +0000 (0:00:00.227) 0:00:13.689 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:13:33 +0000 (0:00:00.061) 0:00:13.750 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.217) 0:00:13.968 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.024) 0:00:13.992 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.040) 0:00:14.032 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.043) 0:00:14.075 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.041) 0:00:14.117 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.027) 0:00:14.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.021) 0:00:14.166 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:13:34 +0000 (0:00:00.022) 0:00:14.189 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:13:36 +0000 (0:00:02.364) 0:00:16.554 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.978) 0:00:17.532 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.074) 0:00:17.606 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.040) 0:00:17.647 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.025) 0:00:17.672 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.047) 0:00:17.720 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.023) 0:00:17.743 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.022) 0:00:17.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:13:37 +0000 (0:00:00.027) 0:00:17.793 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:13:38 +0000 (0:00:00.586) 0:00:18.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:13:38 +0000 (0:00:00.037) 0:00:18.418 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:13:38 +0000 (0:00:00.027) 0:00:18.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:13:38 +0000 (0:00:00.026) 0:00:18.472 ******* 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, 70d82693-af64-4cb0-9688-01e4eed45f60 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.413) 0:00:18.885 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.023) 0:00:18.908 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70d82693-af64-4cb0-9688-01e4eed45f60" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.024) 0:00:18.933 ******* 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, 70d82693-af64-4cb0-9688-01e4eed45f60\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70d82693-af64-4cb0-9688-01e4eed45f60" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.053) 0:00:18.986 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.024) 0:00:19.011 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.225) 0:00:19.237 ******* 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, 70d82693-af64-4cb0-9688-01e4eed45f60\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 70d82693-af64-4cb0-9688-01e4eed45f60" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.027) 0:00:19.264 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.053) 0:00:19.318 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.040) 0:00:19.359 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.244) 0:00:19.603 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.031) 0:00:19.635 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.040) 0:00:19.675 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:13:39 +0000 (0:00:00.022) 0:00:19.698 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.243) 0:00:19.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.023) 0:00:19.966 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023759", "end": "2024-01-09 02:13:40.350279", "rc": 0, "start": "2024-01-09 02:13:40.326520" } 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.247) 0:00:20.213 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.045) 0:00:20.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.028) 0:00:20.288 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.033) 0:00:20.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.040) 0:00:20.362 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.033) 0:00:20.395 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.029) 0:00:20.424 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.028) 0:00:20.453 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.043) 0:00:20.497 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.022) 0:00:20.519 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.028) 0:00:20.548 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:13:40 +0000 (0:00:00.047) 0:00:20.595 ******* 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.047914", "end": "2024-01-09 02:13:41.001093", "rc": 1, "start": "2024-01-09 02:13:40.953179" } STDOUT: Connection 'statebr' (70d82693-af64-4cb0-9688-01e4eed45f60) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.292) 0:00:20.888 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.041) 0:00:20.929 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.023) 0:00:20.953 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.045) 0:00:20.998 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.038) 0:00:21.036 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.038) 0:00:21.075 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004247", "end": "2024-01-09 02:13:41.438659", "rc": 0, "start": "2024-01-09 02:13:41.434412" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.227) 0:00:21.302 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.024) 0:00:21.327 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.022) 0:00:21.349 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.039) 0:00:21.389 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.062) 0:00:21.451 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.043) 0:00:21.495 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.027) 0:00:21.523 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.022) 0:00:21.545 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:13:41 +0000 (0:00:00.023) 0:00:21.568 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:13:44 +0000 (0:00:02.348) 0:00:23.917 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.975) 0:00:24.893 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.023) 0:00:24.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.023) 0:00:24.941 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.022) 0:00:24.963 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.048) 0:00:25.011 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.024) 0:00:25.036 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.023) 0:00:25.060 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.045) 0:00:25.105 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.603) 0:00:25.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.026) 0:00:25.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.022) 0:00:25.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:13:45 +0000 (0:00:00.022) 0:00:25.781 ******* 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, 58fe535b-08bf-428b-8b87-ae34317b5940 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.447) 0:00:26.228 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.022) 0:00:26.250 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58fe535b-08bf-428b-8b87-ae34317b5940" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.023) 0:00:26.274 ******* 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, 58fe535b-08bf-428b-8b87-ae34317b5940\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58fe535b-08bf-428b-8b87-ae34317b5940" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.024) 0:00:26.298 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.022) 0:00:26.320 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.213) 0:00:26.533 ******* 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, 58fe535b-08bf-428b-8b87-ae34317b5940\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58fe535b-08bf-428b-8b87-ae34317b5940" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.024) 0:00:26.557 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.040) 0:00:26.598 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.070) 0:00:26.668 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.042) 0:00:26.711 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.028) 0:00:26.739 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.022) 0:00:26.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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:13:46 +0000 (0:00:00.022) 0:00:26.784 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:13:49 +0000 (0:00:02.323) 0:00:29.107 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.929) 0:00:30.036 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.023) 0:00:30.060 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.022) 0:00:30.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.022) 0:00:30.105 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.044) 0:00:30.149 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.022) 0:00:30.172 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.021) 0:00:30.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.024) 0:00:30.218 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.570) 0:00:30.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:13:50 +0000 (0:00:00.026) 0:00:30.816 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.021) 0:00:30.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.022) 0:00:30.860 ******* 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, 58fe535b-08bf-428b-8b87-ae34317b5940 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.381) 0:00:31.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.022) 0:00:31.264 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 58fe535b-08bf-428b-8b87-ae34317b5940 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.024) 0:00:31.288 ******* 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, 58fe535b-08bf-428b-8b87-ae34317b5940 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 58fe535b-08bf-428b-8b87-ae34317b5940 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.024) 0:00:31.312 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.021) 0:00:31.333 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.213) 0:00:31.546 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.045) 0:00:31.592 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:13:51 +0000 (0:00:00.060) 0:00:31.652 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704766426.301482, "block_size": 4096, "blocks": 0, "ctime": 1704766426.301482, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34383, "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": 1704766426.301482, "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_typee339opqz/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.220) 0:00:31.872 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.027) 0:00:31.900 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.040) 0:00:31.940 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.023) 0:00:31.964 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.221) 0:00:32.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.028) 0:00:32.214 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024044", "end": "2024-01-09 02:13:52.594451", "rc": 0, "start": "2024-01-09 02:13:52.570407" } 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.266) 0:00:32.481 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.026) 0:00:32.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.028) 0:00:32.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.024) 0:00:32.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.024) 0:00:32.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.051) 0:00:32.636 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.027) 0:00:32.664 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.026) 0:00:32.690 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.023) 0:00:32.714 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.022) 0:00:32.736 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.025) 0:00:32.761 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:13:52 +0000 (0:00:00.044) 0:00:32.806 ******* 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.078848", "end": "2024-01-09 02:13:53.244344", "rc": 1, "start": "2024-01-09 02:13:53.165496" } STDOUT: Connection 'statebr' (58fe535b-08bf-428b-8b87-ae34317b5940) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.300) 0:00:33.106 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.044) 0:00:33.151 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.029) 0:00:33.180 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.050) 0:00:33.230 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.041) 0:00:33.272 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.068) 0:00:33.340 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004050", "end": "2024-01-09 02:13:53.703735", "rc": 0, "start": "2024-01-09 02:13:53.699685" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.225) 0:00:33.566 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.025) 0:00:33.591 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.023) 0:00:33.614 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.050) 0:00:33.664 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.044) 0:00:33.709 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.051) 0:00:33.761 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.028) 0:00:33.790 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:13:53 +0000 (0:00:00.024) 0:00:33.814 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:13:54 +0000 (0:00:00.023) 0:00:33.838 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:13:56 +0000 (0:00:02.267) 0:00:36.105 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.940) 0:00:37.046 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.040) 0:00:37.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.023) 0:00:37.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.021) 0:00:37.132 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.048) 0:00:37.181 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.024) 0:00:37.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.024) 0:00:37.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:13:57 +0000 (0:00:00.032) 0:00:37.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.585) 0:00:37.849 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.035) 0:00:37.884 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.025) 0:00:37.910 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.022) 0:00:37.933 ******* 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, 8060a496-7bfb-49f7-97c4-bd8db128c345 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.466) 0:00:38.399 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.089) 0:00:38.489 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8060a496-7bfb-49f7-97c4-bd8db128c345" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.042) 0:00:38.531 ******* 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, 8060a496-7bfb-49f7-97c4-bd8db128c345\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8060a496-7bfb-49f7-97c4-bd8db128c345" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.054) 0:00:38.585 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:13:58 +0000 (0:00:00.037) 0:00:38.623 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:13:59 +0000 (0:00:00.225) 0:00:38.849 ******* 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, 8060a496-7bfb-49f7-97c4-bd8db128c345\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8060a496-7bfb-49f7-97c4-bd8db128c345" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:13:59 +0000 (0:00:00.062) 0:00:38.911 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:13:59 +0000 (0:00:00.060) 0:00:38.972 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:13:59 +0000 (0:00:00.046) 0:00:39.018 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:13:59 +0000 (0:00:00.029) 0:00:39.048 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:13:59 +0000 (0:00:00.028) 0:00:39.076 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:13:59 +0000 (0:00:00.026) 0:00:39.103 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:01 +0000 (0:00:02.340) 0:00:41.443 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.945) 0:00:42.388 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.022) 0:00:42.411 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.022) 0:00:42.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.051) 0:00:42.485 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.045) 0:00:42.530 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.022) 0:00:42.553 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.022) 0:00:42.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:02 +0000 (0:00:00.026) 0:00:42.602 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.574) 0:00:43.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.026) 0:00:43.203 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.023) 0:00:43.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.022) 0:00:43.249 ******* 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, 8060a496-7bfb-49f7-97c4-bd8db128c345 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.379) 0:00:43.628 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.023) 0:00:43.652 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8060a496-7bfb-49f7-97c4-bd8db128c345 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.025) 0:00:43.677 ******* 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, 8060a496-7bfb-49f7-97c4-bd8db128c345 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8060a496-7bfb-49f7-97c4-bd8db128c345 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.030) 0:00:43.707 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:03 +0000 (0:00:00.047) 0:00:43.755 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:14:04 +0000 (0:00:00.211) 0:00:43.966 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:14:04 +0000 (0:00:00.042) 0:00:44.009 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:04 +0000 (0:00:00.043) 0:00:44.053 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:04 +0000 (0:00:00.044) 0:00:44.097 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:04 +0000 (0:00:00.066) 0:00:44.164 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:04 +0000 (0:00:00.039) 0:00:44.204 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:04 +0000 (0:00:00.053) 0:00:44.258 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:06 +0000 (0:00:02.352) 0:00:46.611 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.938) 0:00:47.549 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.024) 0:00:47.574 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.022) 0:00:47.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.024) 0:00:47.620 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.044) 0:00:47.665 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.024) 0:00:47.690 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.025) 0:00:47.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:07 +0000 (0:00:00.036) 0:00:47.751 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:08 +0000 (0:00:00.575) 0:00:48.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:08 +0000 (0:00:00.028) 0:00:48.356 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:08 +0000 (0:00:00.024) 0:00:48.381 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:08 +0000 (0:00:00.028) 0:00:48.410 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:08 +0000 (0:00:00.413) 0:00:48.824 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.026) 0:00:48.850 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.027) 0:00:48.878 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.027) 0:00:48.905 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.037) 0:00:48.943 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.261) 0:00:49.204 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.046) 0:00:49.251 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.070) 0:00:49.321 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704766438.4608717, "block_size": 4096, "blocks": 0, "ctime": 1704766438.4608717, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34514, "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": 1704766438.4608717, "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_typee339opqz/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.222) 0:00:49.543 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.040) 0:00:49.584 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.051) 0:00:49.635 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:14:09 +0000 (0:00:00.030) 0:00:49.666 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.224) 0:00:49.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.024) 0:00:49.915 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023359", "end": "2024-01-09 02:14:10.294490", "rc": 1, "start": "2024-01-09 02:14:10.271131" } 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.241) 0:00:50.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.025) 0:00:50.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.023) 0:00:50.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.023) 0:00:50.230 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.051) 0:00:50.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.025) 0:00:50.307 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.027) 0:00:50.335 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.023) 0:00:50.359 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.024) 0:00:50.383 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.047) 0:00:50.431 ******* 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.090247", "end": "2024-01-09 02:14:10.879779", "rc": 1, "start": "2024-01-09 02:14:10.789532" } STDOUT: Connection 'statebr' (8060a496-7bfb-49f7-97c4-bd8db128c345) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.310) 0:00:50.741 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.041) 0:00:50.783 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:14:10 +0000 (0:00:00.032) 0:00:50.815 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.048) 0:00:50.863 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.038) 0:00:50.902 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.063) 0:00:50.965 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004033", "end": "2024-01-09 02:14:11.326211", "rc": 0, "start": "2024-01-09 02:14:11.322178" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.223) 0:00:51.189 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.024) 0:00:51.213 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.023) 0:00:51.237 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.051) 0:00:51.289 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.042) 0:00:51.332 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.059) 0:00:51.392 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.039) 0:00:51.431 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.024) 0:00:51.456 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:11 +0000 (0:00:00.023) 0:00:51.480 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:13 +0000 (0:00:02.269) 0:00:53.750 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:14 +0000 (0:00:00.948) 0:00:54.698 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:14 +0000 (0:00:00.024) 0:00:54.722 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:14 +0000 (0:00:00.022) 0:00:54.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:14 +0000 (0:00:00.050) 0:00:54.795 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.045) 0:00:54.840 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.022) 0:00:54.863 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.023) 0:00:54.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.026) 0:00:54.913 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.572) 0:00:55.486 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.028) 0:00:55.515 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.026) 0:00:55.541 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:15 +0000 (0:00:00.023) 0:00:55.565 ******* 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, 9481501d-8919-425b-834a-658630b49fb2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.454) 0:00:56.020 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.051) 0:00:56.072 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9481501d-8919-425b-834a-658630b49fb2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.047) 0:00:56.119 ******* 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, 9481501d-8919-425b-834a-658630b49fb2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9481501d-8919-425b-834a-658630b49fb2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.033) 0:00:56.152 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.085) 0:00:56.238 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.270) 0:00:56.509 ******* 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, 9481501d-8919-425b-834a-658630b49fb2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9481501d-8919-425b-834a-658630b49fb2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.032) 0:00:56.542 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.072) 0:00:56.614 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.057) 0:00:56.672 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.043) 0:00:56.715 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.023) 0:00:56.738 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:16 +0000 (0:00:00.023) 0:00:56.762 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:19 +0000 (0:00:02.270) 0:00:59.032 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.935) 0:00:59.967 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.022) 0:00:59.990 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.023) 0:01:00.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.023) 0:01:00.037 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.044) 0:01:00.082 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.048) 0:01:00.131 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.024) 0:01:00.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.026) 0:01:00.181 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.575) 0:01:00.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.027) 0:01:00.784 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:20 +0000 (0:00:00.024) 0:01:00.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.024) 0:01:00.833 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9481501d-8919-425b-834a-658630b49fb2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.380) 0:01:01.213 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.023) 0:01:01.237 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9481501d-8919-425b-834a-658630b49fb2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.026) 0:01:01.263 ******* 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, 9481501d-8919-425b-834a-658630b49fb2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9481501d-8919-425b-834a-658630b49fb2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.025) 0:01:01.289 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.025) 0:01:01.314 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.234) 0:01:01.549 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.039) 0:01:01.589 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.042) 0:01:01.631 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.028) 0:01:01.660 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.021) 0:01:01.682 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:21 +0000 (0:00:00.022) 0:01:01.704 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:24 +0000 (0:00:02.257) 0:01:03.962 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.927) 0:01:04.890 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.026) 0:01:04.916 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.023) 0:01:04.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.022) 0:01:04.963 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.044) 0:01:05.007 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.023) 0:01:05.031 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.023) 0:01:05.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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.024) 0:01:05.079 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.568) 0:01:05.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.027) 0:01:05.676 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.023) 0:01:05.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:25 +0000 (0:00:00.023) 0:01:05.723 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.417) 0:01:06.141 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.024) 0:01:06.165 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.027) 0:01:06.193 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.028) 0:01:06.222 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.025) 0:01:06.247 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.209) 0:01:06.457 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.056) 0:01:06.513 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.093) 0:01:06.607 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.045) 0:01:06.653 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.066) 0:01:06.719 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.026) 0:01:06.746 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:26 +0000 (0:00:00.025) 0:01:06.771 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:29 +0000 (0:00:02.359) 0:01:09.130 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.944) 0:01:10.075 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.027) 0:01:10.102 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.023) 0:01:10.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.024) 0:01:10.150 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.046) 0:01:10.197 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.023) 0:01:10.220 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.023) 0:01:10.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:30 +0000 (0:00:00.027) 0:01:10.271 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.595) 0:01:10.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.026) 0:01:10.894 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.023) 0:01:10.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.022) 0:01:10.939 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.508) 0:01:11.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.041) 0:01:11.490 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.038) 0:01:11.528 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.031) 0:01:11.560 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.024) 0:01:11.585 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:14:31 +0000 (0:00:00.213) 0:01:11.798 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.053) 0:01:11.852 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.072) 0:01:11.924 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.025) 0:01:11.949 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.227) 0:01:12.177 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.025) 0:01:12.202 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023716", "end": "2024-01-09 02:14:32.585780", "rc": 1, "start": "2024-01-09 02:14:32.562064" } 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.256) 0:01:12.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.035) 0:01:12.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.025) 0:01:12.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.026) 0:01:12.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.025) 0:01:12.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.023) 0:01:12.594 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.026) 0:01:12.621 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.046) 0:01:12.667 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:14:32 +0000 (0:00:00.074) 0:01:12.742 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.217) 0:01:12.960 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.027) 0:01:12.987 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.028) 0:01:13.015 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.048) 0:01:13.064 ******* 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.045044", "end": "2024-01-09 02:14:33.468598", "rc": 1, "start": "2024-01-09 02:14:33.423554" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.266) 0:01:13.331 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.041) 0:01:13.372 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.024) 0:01:13.397 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.062) 0:01:13.459 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.047) 0:01:13.506 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:14:33 +0000 (0:00:00.066) 0:01:13.573 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005186", "end": "2024-01-09 02:14:34.935119", "rc": 0, "start": "2024-01-09 02:14:33.929933" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:14:34 +0000 (0:00:01.235) 0:01:14.808 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.037) 0:01:14.846 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.030) 0:01:14.876 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.051) 0:01:14.928 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.042) 0:01:14.970 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.044) 0:01:15.015 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.030) 0:01:15.045 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.055) 0:01:15.100 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:35 +0000 (0:00:00.023) 0:01:15.124 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:37 +0000 (0:00:02.304) 0:01:17.429 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.933) 0:01:18.362 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.046) 0:01:18.408 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.025) 0:01:18.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.042) 0:01:18.476 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.049) 0:01:18.525 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.025) 0:01:18.550 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.023) 0:01:18.573 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:38 +0000 (0:00:00.027) 0:01:18.600 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.588) 0:01:19.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.027) 0:01:19.217 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.023) 0:01:19.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.023) 0:01:19.264 ******* 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, ce427bee-118b-41ef-be14-4c313de2b776 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.435) 0:01:19.699 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.047) 0:01:19.746 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce427bee-118b-41ef-be14-4c313de2b776" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.024) 0:01:19.771 ******* 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, ce427bee-118b-41ef-be14-4c313de2b776\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce427bee-118b-41ef-be14-4c313de2b776" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.024) 0:01:19.796 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:39 +0000 (0:00:00.022) 0:01:19.818 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:14:40 +0000 (0:00:00.212) 0:01:20.030 ******* 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, ce427bee-118b-41ef-be14-4c313de2b776\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce427bee-118b-41ef-be14-4c313de2b776" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:14:40 +0000 (0:00:00.024) 0:01:20.055 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:40 +0000 (0:00:00.037) 0:01:20.092 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:40 +0000 (0:00:00.043) 0:01:20.136 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:40 +0000 (0:00:00.028) 0:01:20.165 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:40 +0000 (0:00:00.023) 0:01:20.189 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:40 +0000 (0:00:00.027) 0:01:20.216 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:42 +0000 (0:00:02.275) 0:01:22.491 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.935) 0:01:23.427 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.023) 0:01:23.451 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.021) 0:01:23.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.045) 0:01:23.519 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.046) 0:01:23.565 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.023) 0:01:23.589 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.024) 0:01:23.613 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:43 +0000 (0:00:00.028) 0:01:23.641 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.571) 0:01:24.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.027) 0:01:24.240 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.021) 0:01:24.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.022) 0:01:24.284 ******* 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, ce427bee-118b-41ef-be14-4c313de2b776 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.379) 0:01:24.663 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.023) 0:01:24.687 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce427bee-118b-41ef-be14-4c313de2b776 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.026) 0:01:24.713 ******* 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, ce427bee-118b-41ef-be14-4c313de2b776 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce427bee-118b-41ef-be14-4c313de2b776 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.064) 0:01:24.778 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:44 +0000 (0:00:00.023) 0:01:24.802 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:14:45 +0000 (0:00:00.213) 0:01:25.016 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:45 +0000 (0:00:00.039) 0:01:25.055 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:45 +0000 (0:00:00.043) 0:01:25.098 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:45 +0000 (0:00:00.028) 0:01:25.127 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:45 +0000 (0:00:00.022) 0:01:25.149 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:45 +0000 (0:00:00.021) 0:01:25.171 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:47 +0000 (0:00:02.322) 0:01:27.494 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.938) 0:01:28.433 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.025) 0:01:28.458 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.022) 0:01:28.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.022) 0:01:28.503 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.045) 0:01:28.549 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.023) 0:01:28.572 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.054) 0:01:28.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:48 +0000 (0:00:00.035) 0:01:28.662 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:49 +0000 (0:00:00.574) 0:01:29.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:49 +0000 (0:00:00.027) 0:01:29.264 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:49 +0000 (0:00:00.022) 0:01:29.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:49 +0000 (0:00:00.023) 0:01:29.311 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:49 +0000 (0:00:00.481) 0:01:29.792 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:49 +0000 (0:00:00.023) 0:01:29.815 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.023) 0:01:29.839 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.024) 0:01:29.864 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.023) 0:01:29.887 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.242) 0:01:30.129 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.042) 0:01:30.172 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.039) 0:01:30.211 ******* included: /WORKDIR/git-route_typee339opqz/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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.042) 0:01:30.254 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.029) 0:01:30.283 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.022) 0:01:30.306 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:14:50 +0000 (0:00:00.022) 0:01:30.329 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:14:52 +0000 (0:00:02.296) 0:01:32.625 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.934) 0:01:33.559 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.025) 0:01:33.585 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.024) 0:01:33.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.025) 0:01:33.634 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.047) 0:01:33.682 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.021) 0:01:33.703 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.046) 0:01:33.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:14:53 +0000 (0:00:00.025) 0:01:33.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:14:54 +0000 (0:00:00.574) 0:01:34.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:14:54 +0000 (0:00:00.028) 0:01:34.378 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:14:54 +0000 (0:00:00.023) 0:01:34.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:14:54 +0000 (0:00:00.024) 0:01:34.426 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.405) 0:01:34.831 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.023) 0:01:34.855 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.024) 0:01:34.880 ******* 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_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.042) 0:01:34.922 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.031) 0:01:34.954 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.238) 0:01:35.192 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.099) 0:01:35.291 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.048) 0:01:35.340 ******* 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.025) 0:01:35.365 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.214) 0:01:35.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:14:55 +0000 (0:00:00.023) 0:01:35.604 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022904", "end": "2024-01-09 02:14:55.979800", "rc": 1, "start": "2024-01-09 02:14:55.956896" } 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_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.237) 0:01:35.841 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.024) 0:01:35.866 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.023) 0:01:35.889 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.025) 0:01:35.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.023) 0:01:35.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.024) 0:01:35.963 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.025) 0:01:35.988 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.370475", "end": "2024-01-09 02:14:56.712623", "rc": 0, "start": "2024-01-09 02:14:56.342148" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.585) 0:01:36.574 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.024) 0:01:36.598 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.023) 0:01:36.621 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.045) 0:01:36.667 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:14:56 +0000 (0:00:00.039) 0:01:36.706 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:14:57 +0000 (0:00:00.220) 0:01:36.927 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:14:57 +0000 (0:00:00.028) 0:01:36.955 ******* 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_typee339opqz/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:14:57 +0000 (0:00:00.026) 0:01:36.982 ******* included: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typee339opqz/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:14:57 +0000 (0:00:00.045) 0:01:37.027 ******* 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.044674", "end": "2024-01-09 02:14:57.427373", "rc": 1, "start": "2024-01-09 02:14:57.382699" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-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:14:57 +0000 (0:00:00.247) 0:01:37.275 ******* =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.11s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.36s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.36s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.36s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.35s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.35s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.35s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.29s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.74s /WORKDIR/git-route_typee339opqz/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.52s /WORKDIR/git-route_typee339opqz/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. ---^---^---^---^---^---