# 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_typenriw6dwy/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/tests_states_nm.yml:5 Wednesday 20 December 2023 22:14:09 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typenriw6dwy/tests/tests_states_nm.yml:9 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.614) 0:00:00.626 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.022) 0:00:00.648 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.342) 0:00:00.991 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.291) 0:00:01.282 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.026) 0:00:01.309 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.023) 0:00:01.333 **** included: /WORKDIR/git-route_typenriw6dwy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.055) 0:00:01.388 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.011) 0:00:01.399 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.016) 0:00:01.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.014) 0:00:01.429 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.011) 0:00:01.441 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/tests_states_nm.yml:11 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.009) 0:00:01.450 **** 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_typenriw6dwy/tests/playbooks/tests_states.yml:3 Wednesday 20 December 2023 22:14:10 +0000 (0:00:00.011) 0:00:01.462 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tests_states.yml:11 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.519) 0:00:01.981 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tests_states.yml:22 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.017) 0:00:01.998 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.025) 0:00:02.024 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.012) 0:00:02.036 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.036) 0:00:02.072 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.017) 0:00:02.089 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.016) 0:00:02.106 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003250", "end": "2023-12-20 22:14:11.715613", "rc": 0, "start": "2023-12-20 22:14:11.712363" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.237) 0:00:02.343 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.018) 0:00:02.361 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.010) 0:00:02.372 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.020) 0:00:02.393 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008051", "end": "2023-12-20 22:14:11.963511", "rc": 1, "start": "2023-12-20 22:14:11.955460" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 22:14:11 +0000 (0:00:00.208) 0:00:02.601 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.042) 0:00:02.643 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.215) 0:00:02.859 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.018) 0:00:02.877 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.026) 0:00:02.904 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.046) 0:00:02.951 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.121) 0:00:03.072 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.013) 0:00:03.086 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.028) 0:00:03.115 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:12 +0000 (0:00:00.024) 0:00:03.139 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:14 +0000 (0:00:01.524) 0:00:04.663 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:15 +0000 (0:00:01.053) 0:00:05.716 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.037) 0:00:05.754 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.025) 0:00:05.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.025) 0:00:05.805 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.071) 0:00:05.877 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.045) 0:00:05.922 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.034) 0:00:05.956 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.031) 0:00:05.988 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.547) 0:00:06.536 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:15 +0000 (0:00:00.044) 0:00:06.580 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:16 +0000 (0:00:00.035) 0:00:06.616 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:16 +0000 (0:00:00.024) 0:00:06.641 **** 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, 8304432e-edb0-4b69-a194-b336de3e3483 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:16 +0000 (0:00:00.566) 0:00:07.207 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:16 +0000 (0:00:00.023) 0:00:07.231 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8304432e-edb0-4b69-a194-b336de3e3483" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:16 +0000 (0:00:00.038) 0:00:07.269 **** 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, 8304432e-edb0-4b69-a194-b336de3e3483\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8304432e-edb0-4b69-a194-b336de3e3483" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:16 +0000 (0:00:00.047) 0:00:07.316 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:16 +0000 (0:00:00.058) 0:00:07.375 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.333) 0:00:07.709 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8304432e-edb0-4b69-a194-b336de3e3483\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8304432e-edb0-4b69-a194-b336de3e3483" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.063) 0:00:07.772 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.066) 0:00:07.838 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.047) 0:00:07.886 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.033) 0:00:07.920 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.215) 0:00:08.136 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.023) 0:00:08.159 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022944", "end": "2023-12-20 22:14:17.747256", "rc": 0, "start": "2023-12-20 22:14:17.724312" } 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.242) 0:00:08.402 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.040) 0:00:08.443 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.067) 0:00:08.510 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.049) 0:00:08.559 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 22:14:17 +0000 (0:00:00.041) 0:00:08.601 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.035) 0:00:08.637 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.071) 0:00:08.708 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.036) 0:00:08.745 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.040) 0:00:08.786 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.057) 0:00:08.843 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.064) 0:00:08.908 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703110456.4758658, "block_size": 4096, "blocks": 0, "ctime": 1703110456.4758658, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33372, "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": 1703110456.4758658, "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_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.255) 0:00:09.163 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.034) 0:00:09.198 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.024) 0:00:09.222 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.054) 0:00:09.277 **** 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.062800", "end": "2023-12-20 22:14:18.913092", "rc": 1, "start": "2023-12-20 22:14:18.850292" } STDOUT: Connection 'statebr' (8304432e-edb0-4b69-a194-b336de3e3483) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tests_states.yml:45 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.279) 0:00:09.556 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 22:14:18 +0000 (0:00:00.037) 0:00:09.594 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 22:14:19 +0000 (0:00:00.032) 0:00:09.627 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 22:14:19 +0000 (0:00:00.073) 0:00:09.700 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:14:19 +0000 (0:00:00.041) 0:00:09.741 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:14:19 +0000 (0:00:00.043) 0:00:09.784 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004387", "end": "2023-12-20 22:14:20.351783", "rc": 0, "start": "2023-12-20 22:14:19.347396" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:14:20 +0000 (0:00:01.219) 0:00:11.004 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:14:20 +0000 (0:00:00.031) 0:00:11.035 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 22:14:20 +0000 (0:00:00.033) 0:00:11.069 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 22:14:20 +0000 (0:00:00.054) 0:00:11.123 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005941", "end": "2023-12-20 22:14:20.720573", "rc": 1, "start": "2023-12-20 22:14:20.714632" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 22:14:20 +0000 (0:00:00.245) 0:00:11.369 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:14:20 +0000 (0:00:00.050) 0:00:11.420 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.258) 0:00:11.678 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.024) 0:00:11.703 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.051) 0:00:11.755 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.054) 0:00:11.810 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.079) 0:00:11.889 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.033) 0:00:11.923 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.031) 0:00:11.955 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:21 +0000 (0:00:00.027) 0:00:11.982 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:22 +0000 (0:00:01.510) 0:00:13.493 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:23 +0000 (0:00:00.930) 0:00:14.423 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:23 +0000 (0:00:00.024) 0:00:14.448 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:23 +0000 (0:00:00.040) 0:00:14.489 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:23 +0000 (0:00:00.025) 0:00:14.514 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:23 +0000 (0:00:00.042) 0:00:14.557 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:23 +0000 (0:00:00.022) 0:00:14.580 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:23 +0000 (0:00:00.027) 0:00:14.607 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.025) 0:00:14.632 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.357) 0:00:14.990 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.025) 0:00:15.016 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.022) 0:00:15.038 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.067) 0:00:15.106 **** 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, 1f805ec3-82ef-4513-b137-c6777f7b0554 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.425) 0:00:15.532 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.038) 0:00:15.571 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f805ec3-82ef-4513-b137-c6777f7b0554" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:24 +0000 (0:00:00.028) 0:00:15.599 **** 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, 1f805ec3-82ef-4513-b137-c6777f7b0554\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f805ec3-82ef-4513-b137-c6777f7b0554" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.036) 0:00:15.636 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.022) 0:00:15.658 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.195) 0:00:15.854 **** 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, 1f805ec3-82ef-4513-b137-c6777f7b0554\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1f805ec3-82ef-4513-b137-c6777f7b0554" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.026) 0:00:15.880 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.059) 0:00:15.939 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.046) 0:00:15.986 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.232) 0:00:16.218 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.026) 0:00:16.244 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.061) 0:00:16.305 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.021) 0:00:16.327 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.206) 0:00:16.533 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 22:14:25 +0000 (0:00:00.042) 0:00:16.576 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022238", "end": "2023-12-20 22:14:26.158162", "rc": 0, "start": "2023-12-20 22:14:26.135924" } 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.222) 0:00:16.798 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.028) 0:00:16.827 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.023) 0:00:16.850 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.022) 0:00:16.872 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.028) 0:00:16.901 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.032) 0:00:16.933 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.041) 0:00:16.975 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.034) 0:00:17.009 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.035) 0:00:17.045 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.023) 0:00:17.068 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.024) 0:00:17.093 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.041) 0:00:17.135 **** 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.047559", "end": "2023-12-20 22:14:26.760274", "rc": 1, "start": "2023-12-20 22:14:26.712715" } STDOUT: Connection 'statebr' (1f805ec3-82ef-4513-b137-c6777f7b0554) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tests_states.yml:65 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.263) 0:00:17.398 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.039) 0:00:17.438 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.022) 0:00:17.461 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.047) 0:00:17.508 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.037) 0:00:17.545 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:14:26 +0000 (0:00:00.038) 0:00:17.584 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003265", "end": "2023-12-20 22:14:27.146189", "rc": 0, "start": "2023-12-20 22:14:27.142924" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.207) 0:00:17.791 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.031) 0:00:17.823 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.023) 0:00:17.846 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.037) 0:00:17.884 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.036) 0:00:17.920 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.065) 0:00:17.986 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.027) 0:00:18.013 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.022) 0:00:18.036 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:27 +0000 (0:00:00.020) 0:00:18.057 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:28 +0000 (0:00:01.479) 0:00:19.536 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:29 +0000 (0:00:00.976) 0:00:20.513 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:29 +0000 (0:00:00.039) 0:00:20.552 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:29 +0000 (0:00:00.021) 0:00:20.574 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:29 +0000 (0:00:00.024) 0:00:20.598 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.049) 0:00:20.647 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.026) 0:00:20.674 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.026) 0:00:20.700 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.025) 0:00:20.726 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.396) 0:00:21.122 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.029) 0:00:21.152 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.051) 0:00:21.204 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:30 +0000 (0:00:00.025) 0:00:21.229 **** 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, c88b35e4-5a68-4922-9b77-d4181cb68fd6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.423) 0:00:21.653 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.022) 0:00:21.676 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c88b35e4-5a68-4922-9b77-d4181cb68fd6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.025) 0:00:21.702 **** 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, c88b35e4-5a68-4922-9b77-d4181cb68fd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c88b35e4-5a68-4922-9b77-d4181cb68fd6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.073) 0:00:21.775 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.058) 0:00:21.833 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.204) 0:00:22.038 **** 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, c88b35e4-5a68-4922-9b77-d4181cb68fd6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c88b35e4-5a68-4922-9b77-d4181cb68fd6" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.025) 0:00:22.063 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.039) 0:00:22.103 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.048) 0:00:22.152 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.040) 0:00:22.193 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.027) 0:00:22.220 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.020) 0:00:22.241 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:31 +0000 (0:00:00.020) 0:00:22.261 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:33 +0000 (0:00:01.497) 0:00:23.759 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.939) 0:00:24.699 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.022) 0:00:24.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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.030) 0:00:24.752 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.021) 0:00:24.774 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.043) 0:00:24.817 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.021) 0:00:24.839 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.020) 0:00:24.859 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.024) 0:00:24.884 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.389) 0:00:25.274 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.027) 0:00:25.302 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.025) 0:00:25.327 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:34 +0000 (0:00:00.024) 0:00:25.352 **** 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, c88b35e4-5a68-4922-9b77-d4181cb68fd6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.396) 0:00:25.748 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.030) 0:00:25.778 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c88b35e4-5a68-4922-9b77-d4181cb68fd6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.031) 0:00:25.810 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c88b35e4-5a68-4922-9b77-d4181cb68fd6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c88b35e4-5a68-4922-9b77-d4181cb68fd6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.028) 0:00:25.839 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.022) 0:00:25.862 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.193) 0:00:26.055 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.049) 0:00:26.105 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.040) 0:00:26.145 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703110470.940175, "block_size": 4096, "blocks": 0, "ctime": 1703110470.940175, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33503, "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": 1703110470.940175, "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_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.203) 0:00:26.348 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.050) 0:00:26.399 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.039) 0:00:26.439 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 22:14:35 +0000 (0:00:00.025) 0:00:26.465 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.216) 0:00:26.682 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.025) 0:00:26.707 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023848", "end": "2023-12-20 22:14:36.303793", "rc": 0, "start": "2023-12-20 22:14:36.279945" } 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.235) 0:00:26.942 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.026) 0:00:26.968 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.032) 0:00:27.001 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.028) 0:00:27.029 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.029) 0:00:27.059 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.025) 0:00:27.084 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.026) 0:00:27.110 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.030) 0:00:27.141 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.037) 0:00:27.179 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.032) 0:00:27.211 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.061) 0:00:27.272 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 22:14:36 +0000 (0:00:00.054) 0:00:27.327 **** 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.071460", "end": "2023-12-20 22:14:36.964857", "rc": 1, "start": "2023-12-20 22:14:36.893397" } STDOUT: Connection 'statebr' (c88b35e4-5a68-4922-9b77-d4181cb68fd6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tests_states.yml:83 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.292) 0:00:27.620 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.046) 0:00:27.667 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.034) 0:00:27.701 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.066) 0:00:27.767 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.057) 0:00:27.825 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.036) 0:00:27.861 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003228", "end": "2023-12-20 22:14:37.426425", "rc": 0, "start": "2023-12-20 22:14:37.423197" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.204) 0:00:28.066 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.023) 0:00:28.089 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.023) 0:00:28.112 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.101) 0:00:28.214 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.073) 0:00:28.288 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.051) 0:00:28.340 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.037) 0:00:28.377 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.027) 0:00:28.405 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:37 +0000 (0:00:00.024) 0:00:28.430 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:39 +0000 (0:00:01.530) 0:00:29.960 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:40 +0000 (0:00:01.016) 0:00:30.977 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.024) 0:00:31.002 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.022) 0:00:31.024 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.037) 0:00:31.062 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.055) 0:00:31.117 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.029) 0:00:31.147 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.033) 0:00:31.180 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.028) 0:00:31.208 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:40 +0000 (0:00:00.380) 0:00:31.589 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.052) 0:00:31.641 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.043) 0:00:31.684 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.023) 0:00:31.708 **** 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, 00800e3d-9238-462c-af31-3dd6202d82ad TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.493) 0:00:32.201 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.024) 0:00:32.225 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 00800e3d-9238-462c-af31-3dd6202d82ad" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.042) 0:00:32.267 **** 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, 00800e3d-9238-462c-af31-3dd6202d82ad\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 00800e3d-9238-462c-af31-3dd6202d82ad" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.075) 0:00:32.343 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.046) 0:00:32.389 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 22:14:41 +0000 (0:00:00.218) 0:00:32.608 **** 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, 00800e3d-9238-462c-af31-3dd6202d82ad\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 00800e3d-9238-462c-af31-3dd6202d82ad" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 22:14:42 +0000 (0:00:00.038) 0:00:32.647 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:42 +0000 (0:00:00.065) 0:00:32.712 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:42 +0000 (0:00:00.058) 0:00:32.770 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:42 +0000 (0:00:00.059) 0:00:32.830 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:42 +0000 (0:00:00.027) 0:00:32.857 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:42 +0000 (0:00:00.027) 0:00:32.885 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:43 +0000 (0:00:01.467) 0:00:34.353 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.925) 0:00:35.278 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.023) 0:00:35.302 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.022) 0:00:35.325 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.021) 0:00:35.346 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.045) 0:00:35.392 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.030) 0:00:35.422 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.023) 0:00:35.446 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:44 +0000 (0:00:00.030) 0:00:35.476 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.367) 0:00:35.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.025) 0:00:35.870 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.023) 0:00:35.894 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.026) 0:00:35.920 **** 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, 00800e3d-9238-462c-af31-3dd6202d82ad skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.350) 0:00:36.271 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.025) 0:00:36.297 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 00800e3d-9238-462c-af31-3dd6202d82ad skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.023) 0:00:36.321 **** 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, 00800e3d-9238-462c-af31-3dd6202d82ad skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 00800e3d-9238-462c-af31-3dd6202d82ad skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.031) 0:00:36.352 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.022) 0:00:36.375 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.191) 0:00:36.566 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 22:14:45 +0000 (0:00:00.041) 0:00:36.608 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:46 +0000 (0:00:00.042) 0:00:36.650 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:46 +0000 (0:00:00.107) 0:00:36.758 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:46 +0000 (0:00:00.030) 0:00:36.788 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:46 +0000 (0:00:00.023) 0:00:36.812 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:46 +0000 (0:00:00.022) 0:00:36.835 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:47 +0000 (0:00:01.500) 0:00:38.335 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.931) 0:00:39.267 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.046) 0:00:39.313 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.021) 0:00:39.335 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.021) 0:00:39.356 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.067) 0:00:39.423 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.023) 0:00:39.446 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.034) 0:00:39.481 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:48 +0000 (0:00:00.047) 0:00:39.528 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.387) 0:00:39.916 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.025) 0:00:39.942 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.033) 0:00:39.975 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.030) 0:00:40.005 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.398) 0:00:40.403 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.021) 0:00:40.424 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.026) 0:00:40.451 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.025) 0:00:40.476 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:49 +0000 (0:00:00.023) 0:00:40.500 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.224) 0:00:40.724 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.057) 0:00:40.781 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.038) 0:00:40.820 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703110481.4506454, "block_size": 4096, "blocks": 0, "ctime": 1703110481.4506454, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33634, "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": 1703110481.4506454, "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_typenriw6dwy/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.226) 0:00:41.046 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.045) 0:00:41.092 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.057) 0:00:41.149 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.047) 0:00:41.196 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.219) 0:00:41.416 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 22:14:50 +0000 (0:00:00.037) 0:00:41.454 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023599", "end": "2023-12-20 22:14:51.052988", "rc": 1, "start": "2023-12-20 22:14:51.029389" } 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.240) 0:00:41.694 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.024) 0:00:41.718 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.030) 0:00:41.749 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.054) 0:00:41.803 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.034) 0:00:41.837 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.034) 0:00:41.872 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.026) 0:00:41.898 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.025) 0:00:41.923 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.033) 0:00:41.957 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.062) 0:00:42.020 **** 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.081888", "end": "2023-12-20 22:14:51.663518", "rc": 1, "start": "2023-12-20 22:14:51.581630" } STDOUT: Connection 'statebr' (00800e3d-9238-462c-af31-3dd6202d82ad) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tests_states.yml:103 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.281) 0:00:42.301 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.039) 0:00:42.341 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.021) 0:00:42.363 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.044) 0:00:42.407 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.033) 0:00:42.441 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:14:51 +0000 (0:00:00.058) 0:00:42.500 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003224", "end": "2023-12-20 22:14:52.061767", "rc": 0, "start": "2023-12-20 22:14:52.058543" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.199) 0:00:42.700 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.022) 0:00:42.723 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.021) 0:00:42.744 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.043) 0:00:42.788 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.037) 0:00:42.825 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.048) 0:00:42.874 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.035) 0:00:42.910 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.029) 0:00:42.939 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:52 +0000 (0:00:00.030) 0:00:42.970 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:53 +0000 (0:00:01.462) 0:00:44.433 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.925) 0:00:45.358 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.021) 0:00:45.380 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.021) 0:00:45.401 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.020) 0:00:45.421 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.044) 0:00:45.465 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.021) 0:00:45.487 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.022) 0:00:45.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:54 +0000 (0:00:00.025) 0:00:45.535 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.369) 0:00:45.905 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.026) 0:00:45.932 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.024) 0:00:45.956 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.021) 0:00:45.977 **** 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, 8eb7fc70-6a9f-4968-84fd-77907b63322e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.406) 0:00:46.384 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.020) 0:00:46.404 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eb7fc70-6a9f-4968-84fd-77907b63322e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.021) 0:00:46.426 **** 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, 8eb7fc70-6a9f-4968-84fd-77907b63322e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eb7fc70-6a9f-4968-84fd-77907b63322e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.022) 0:00:46.449 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:55 +0000 (0:00:00.020) 0:00:46.469 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 22:14:56 +0000 (0:00:00.191) 0:00:46.661 **** 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, 8eb7fc70-6a9f-4968-84fd-77907b63322e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eb7fc70-6a9f-4968-84fd-77907b63322e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 22:14:56 +0000 (0:00:00.023) 0:00:46.685 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:14:56 +0000 (0:00:00.035) 0:00:46.720 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:14:56 +0000 (0:00:00.040) 0:00:46.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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:14:56 +0000 (0:00:00.051) 0:00:46.812 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:14:56 +0000 (0:00:00.022) 0:00:46.834 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:14:56 +0000 (0:00:00.020) 0:00:46.854 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:14:57 +0000 (0:00:01.508) 0:00:48.363 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.931) 0:00:49.294 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.043) 0:00:49.338 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.020) 0:00:49.359 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.020) 0:00:49.379 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.044) 0:00:49.423 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.022) 0:00:49.446 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.031) 0:00:49.477 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:14:58 +0000 (0:00:00.026) 0:00:49.503 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.369) 0:00:49.873 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.026) 0:00:49.900 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.026) 0:00:49.926 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.027) 0:00:49.954 **** 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, 8eb7fc70-6a9f-4968-84fd-77907b63322e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.361) 0:00:50.316 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.037) 0:00:50.353 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8eb7fc70-6a9f-4968-84fd-77907b63322e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.035) 0:00:50.389 **** 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, 8eb7fc70-6a9f-4968-84fd-77907b63322e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8eb7fc70-6a9f-4968-84fd-77907b63322e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.026) 0:00:50.415 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:14:59 +0000 (0:00:00.062) 0:00:50.478 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 22:15:00 +0000 (0:00:00.222) 0:00:50.700 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:00 +0000 (0:00:00.036) 0:00:50.737 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:00 +0000 (0:00:00.045) 0:00:50.782 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:00 +0000 (0:00:00.028) 0:00:50.811 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:00 +0000 (0:00:00.022) 0:00:50.834 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:00 +0000 (0:00:00.020) 0:00:50.854 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:01 +0000 (0:00:01.518) 0:00:52.372 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.952) 0:00:53.325 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.023) 0:00:53.349 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.022) 0:00:53.371 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.022) 0:00:53.393 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.053) 0:00:53.446 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.024) 0:00:53.471 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.026) 0:00:53.498 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:02 +0000 (0:00:00.032) 0:00:53.531 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.359) 0:00:53.890 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.025) 0:00:53.915 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.043) 0:00:53.959 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.022) 0:00:53.981 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.401) 0:00:54.383 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.030) 0:00:54.413 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.028) 0:00:54.442 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.029) 0:00:54.471 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:03 +0000 (0:00:00.022) 0:00:54.494 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.191) 0:00:54.685 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.041) 0:00:54.727 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.041) 0:00:54.768 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.041) 0:00:54.810 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.027) 0:00:54.837 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.051) 0:00:54.889 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:04 +0000 (0:00:00.021) 0:00:54.910 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:05 +0000 (0:00:01.482) 0:00:56.392 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.923) 0:00:57.315 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.021) 0:00:57.337 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.041) 0:00:57.379 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.022) 0:00:57.401 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.042) 0:00:57.443 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.021) 0:00:57.464 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.021) 0:00:57.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:06 +0000 (0:00:00.024) 0:00:57.511 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.358) 0:00:57.869 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.025) 0:00:57.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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.020) 0:00:57.914 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.020) 0:00:57.935 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.435) 0:00:58.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.021) 0:00:58.392 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.021) 0:00:58.414 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.022) 0:00:58.436 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:07 +0000 (0:00:00.045) 0:00:58.482 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.190) 0:00:58.672 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.039) 0:00:58.712 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.037) 0:00:58.749 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.022) 0:00:58.771 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.197) 0:00:58.969 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.021) 0:00:58.990 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022175", "end": "2023-12-20 22:15:08.570194", "rc": 1, "start": "2023-12-20 22:15:08.548019" } 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.216) 0:00:59.207 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.022) 0:00:59.230 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.021) 0:00:59.252 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.021) 0:00:59.273 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.020) 0:00:59.294 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.021) 0:00:59.316 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.024) 0:00:59.340 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.071) 0:00:59.412 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:15:08 +0000 (0:00:00.039) 0:00:59.451 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.197) 0:00:59.648 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.024) 0:00:59.673 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.021) 0:00:59.694 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.039) 0:00:59.734 **** 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.043469", "end": "2023-12-20 22:15:09.333512", "rc": 1, "start": "2023-12-20 22:15:09.290043" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tests_states.yml:126 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.237) 0:00:59.971 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.036) 0:01:00.008 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.021) 0:01:00.030 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.043) 0:01:00.073 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.059) 0:01:00.133 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 22:15:09 +0000 (0:00:00.034) 0:01:00.167 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004420", "end": "2023-12-20 22:15:10.729636", "rc": 0, "start": "2023-12-20 22:15:09.725216" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 22:15:10 +0000 (0:00:01.200) 0:01:01.368 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.022) 0:01:01.391 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.021) 0:01:01.412 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.043) 0:01:01.456 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.037) 0:01:01.493 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.040) 0:01:01.534 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.049) 0:01:01.584 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:10 +0000 (0:00:00.021) 0:01:01.606 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:11 +0000 (0:00:00.022) 0:01:01.628 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:12 +0000 (0:00:01.473) 0:01:03.101 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.923) 0:01:04.025 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.045) 0:01:04.070 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.022) 0:01:04.093 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.021) 0:01:04.114 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.044) 0:01:04.158 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.031) 0:01:04.190 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.023) 0:01:04.213 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.025) 0:01:04.238 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:13 +0000 (0:00:00.356) 0:01:04.595 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.025) 0:01:04.621 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.020) 0:01:04.641 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.020) 0:01:04.661 **** 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, 27a32e0d-0d90-4c9c-a889-057026449bba TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.400) 0:01:05.062 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.022) 0:01:05.084 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27a32e0d-0d90-4c9c-a889-057026449bba" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.023) 0:01:05.107 **** 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, 27a32e0d-0d90-4c9c-a889-057026449bba\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27a32e0d-0d90-4c9c-a889-057026449bba" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.021) 0:01:05.128 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.044) 0:01:05.172 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.196) 0:01:05.368 **** 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, 27a32e0d-0d90-4c9c-a889-057026449bba\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 27a32e0d-0d90-4c9c-a889-057026449bba" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.024) 0:01:05.393 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.037) 0:01:05.431 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.042) 0:01:05.473 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.034) 0:01:05.507 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.022) 0:01:05.530 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:14 +0000 (0:00:00.032) 0:01:05.562 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:16 +0000 (0:00:01.505) 0:01:07.068 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.932) 0:01:08.000 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.023) 0:01:08.024 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.024) 0:01:08.048 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.020) 0:01:08.068 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.043) 0:01:08.112 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.020) 0:01:08.133 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.020) 0:01:08.154 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.023) 0:01:08.178 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.365) 0:01:08.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:17 +0000 (0:00:00.057) 0:01:08.600 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.021) 0:01:08.622 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.022) 0:01:08.645 **** 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, 27a32e0d-0d90-4c9c-a889-057026449bba skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.352) 0:01:08.998 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.020) 0:01:09.018 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 27a32e0d-0d90-4c9c-a889-057026449bba skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.021) 0:01:09.040 **** 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, 27a32e0d-0d90-4c9c-a889-057026449bba skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 27a32e0d-0d90-4c9c-a889-057026449bba skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.021) 0:01:09.061 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.020) 0:01:09.082 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.189) 0:01:09.271 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.034) 0:01:09.306 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.038) 0:01:09.344 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.026) 0:01:09.370 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.020) 0:01:09.391 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:18 +0000 (0:00:00.019) 0:01:09.410 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:20 +0000 (0:00:01.496) 0:01:10.906 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.926) 0:01:11.832 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.021) 0:01:11.854 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.021) 0:01:11.875 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.024) 0:01:11.900 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.068) 0:01:11.969 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.023) 0:01:11.992 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.022) 0:01:12.014 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.025) 0:01:12.039 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.357) 0:01:12.396 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.025) 0:01:12.422 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.020) 0:01:12.443 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:21 +0000 (0:00:00.021) 0:01:12.464 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.449) 0:01:12.913 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.021) 0:01:12.935 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.023) 0:01:12.958 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.022) 0:01:12.980 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.020) 0:01:13.001 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.191) 0:01:13.192 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.074) 0:01:13.267 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.037) 0:01:13.304 **** included: /WORKDIR/git-route_typenriw6dwy/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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.042) 0:01:13.347 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.033) 0:01:13.380 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.022) 0:01:13.402 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 22:15:22 +0000 (0:00:00.025) 0:01:13.428 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 22:15:24 +0000 (0:00:01.471) 0:01:14.899 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.944) 0:01:15.844 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.022) 0:01:15.866 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.020) 0:01:15.887 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.020) 0:01:15.907 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.043) 0:01:15.951 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.020) 0:01:15.971 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.020) 0:01:15.992 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.025) 0:01:16.018 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.358) 0:01:16.377 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.027) 0:01:16.404 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.022) 0:01:16.426 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 22:15:25 +0000 (0:00:00.050) 0:01:16.476 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.379) 0:01:16.856 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.022) 0:01:16.879 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.024) 0:01:16.904 **** 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_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.022) 0:01:16.927 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.021) 0:01:16.948 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.188) 0:01:17.137 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.044) 0:01:17.181 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.037) 0:01:17.219 **** 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.021) 0:01:17.240 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.193) 0:01:17.434 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 22:15:26 +0000 (0:00:00.020) 0:01:17.455 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022470", "end": "2023-12-20 22:15:27.036538", "rc": 1, "start": "2023-12-20 22:15:27.014068" } 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_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.246) 0:01:17.701 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.023) 0:01:17.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.024) 0:01:17.749 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.022) 0:01:17.771 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.022) 0:01:17.793 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.025) 0:01:17.819 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.024) 0:01:17.844 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.566659", "end": "2023-12-20 22:15:27.968611", "rc": 0, "start": "2023-12-20 22:15:27.401952" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 20 December 2023 22:15:27 +0000 (0:00:00.763) 0:01:18.607 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.021) 0:01:18.629 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.023) 0:01:18.652 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.041) 0:01:18.694 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.035) 0:01:18.729 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.192) 0:01:18.921 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.025) 0:01:18.946 **** 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_typenriw6dwy/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.022) 0:01:18.969 **** included: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typenriw6dwy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.042) 0:01:19.011 **** 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.044294", "end": "2023-12-20 22:15:28.616944", "rc": 1, "start": "2023-12-20 22:15:28.572650" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Wednesday 20 December 2023 22:15:28 +0000 (0:00:00.254) 0:01:19.266 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.29s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.05s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.49s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.46s /WORKDIR/git-route_typenriw6dwy/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.26s /WORKDIR/git-route_typenriw6dwy/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. ---^---^---^---^---^---